ScrollAreaGadget Not Scrolling

Just starting out? Need help? Post your questions and find answers here.
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: ScrollAreaGadget Not Scrolling

Post by collectordave »

Just another piece of info

On the mac I notice that the help file example for the scroll area gadget has no events associated with it so the window title is never set.
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
User avatar
mk-soft
Always Here
Always Here
Posts: 6320
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: ScrollAreaGadget Not Scrolling

Post by mk-soft »

My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
collectordave
Addict
Addict
Posts: 1310
Joined: Fri Aug 28, 2015 6:10 pm
Location: Portugal

Re: ScrollAreaGadget Not Scrolling

Post by collectordave »

Hi

Tried both workarounds, they work fine for the events not being reported but as soon as you add a canvas gadget then no deal.

Code: Select all

 
 ScrollAreaGadget(0, 10, 10, 390,220, 575, 555, 30)
  CanvasGadget(22,0,0,575,555)
  ButtonGadget  (1, 10, 10, 230, 30,"Button 1")
There is a clue in the help docs.

On Mac the events are passed to the gadget under the cursor whether it has the focus or not so the canvas gadget is getting the events and does not know what to do the scroll area is never seeing these events.

CD
Any intelligent fool can make things bigger and more complex. It takes a touch of genius — and a lot of courage to move in the opposite direction.
Post Reply