Okay here is "working" example that won't work for me: I am using PureBasic 5.31 on Mac OSX (10.9.4).
I create an image, add a large circle to the image, then add it to the canvas, which is placed in a ScrollAreaGadget. Why won't it scroll?
OpenWindow(0,0,0,800,600,"Test ScrollArea")
NewImage ...
Search found 5 matches
- Sat Aug 15, 2015 11:39 pm
- Forum: Coding Questions
- Topic: ScrollAreaGadget Not Scrolling
- Replies: 17
- Views: 3936
- Sat Aug 15, 2015 10:41 pm
- Forum: Coding Questions
- Topic: ScrollAreaGadget Not Scrolling
- Replies: 17
- Views: 3936
Re: ScrollAreaGadget Not Scrolling
Thank you Bernd but your example does not work; in fact it exhibits the same behavior i notice i my program. In you example, I am able to draw to the CanvasGadget but I cannot scroll the ScrollAreaGadget at all. It acts just like a un-scrollable picture. Maybe something wrong with my settings?
- Sat Aug 15, 2015 9:26 pm
- Forum: Coding Questions
- Topic: ScrollAreaGadget Not Scrolling
- Replies: 17
- Views: 3936
ScrollAreaGadget Not Scrolling
I cannot get the following code to scroll at all in an 800x600 Window:
SC = ScrollAreaGadget(#PB_Any,0,50,800,510,1000,600)
GraphicSchedule = CanvasGadget(#PB_Any,0,0,1000,600)
CloseGadgetList()
I can draw to the CanvasGadget, which is larger than the windows width, which is why I need to ...
SC = ScrollAreaGadget(#PB_Any,0,50,800,510,1000,600)
GraphicSchedule = CanvasGadget(#PB_Any,0,0,1000,600)
CloseGadgetList()
I can draw to the CanvasGadget, which is larger than the windows width, which is why I need to ...
- Fri Jun 05, 2015 7:56 pm
- Forum: Coding Questions
- Topic: EditorGadget with Linenumbers
- Replies: 66
- Views: 29219
Re: EditorGadget with Linenumbers
Thank you for all the great information on this topic.
I am multi-platform (Mac and PC) programmer and need to find a simple solution to put the line numbers on the left side of my EditorGadget, just like the PB program does. I see Windows solutions, but nothing for Mac. Please help.
Also, the ...
I am multi-platform (Mac and PC) programmer and need to find a simple solution to put the line numbers on the left side of my EditorGadget, just like the PB program does. I see Windows solutions, but nothing for Mac. Please help.
Also, the ...
- Sun May 31, 2015 9:20 pm
- Forum: Coding Questions
- Topic: Force vertical scrollbar to bottom on EditorGadget
- Replies: 12
- Views: 5623
Re: Force vertical scrollbar to bottom on EditorGadget
This works great for only Windows. The MacOSX App I am developing does not allow "SendMessage_". Is there any in a mac application to always scroll to the bottom of an EditorGadget automatically?