ScrollCanvas

Share your advanced PureBasic knowledge/code with the community.
User avatar
microdevweb
Enthusiast
Enthusiast
Posts: 179
Joined: Fri Jun 13, 2014 9:38 am
Location: Belgique

ScrollCanvas

Post by microdevweb »

Image

ScrollCanvas is a first step of project (MaxiList), with him you can add more scrollbar in your canvas

IMPORTANT: Please checked Activer la gestion des Threads in the PureBasic compiler option

The module and the testing code is here

https://github.com/microdevweb/ScrollCanvas
Use Pb 5.73 lst and Windows 10

my mother-language isn't english, in advance excuse my mistakes.
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: ScrollCanvas

Post by RSBasic »

Your scroll bar looks very good. Image
But I found a bug: http://workupload.com/file/mRCmfzV
Procedure: DrawButtonH()
Line: Box(X,Y,W,H)
Error: StopDrawing() must be called before calling StartDrawing() again.
PB version: 5.41 LTS x64
Image
Image
Post Reply