Retrieving coordinates with ScrollAreaGadget()

Just starting out? Need help? Post your questions and find answers here.
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Retrieving coordinates with ScrollAreaGadget()

Post by netmaestro »

Your outer size for the scrollarea is the same as your inner size. It will never scroll like that. Your outer size must be smaller.
And make your window height about 25 px higher than it is to accomodate the status bar.
BERESHEIT
pnd
User
User
Posts: 10
Joined: Mon Feb 14, 2022 9:33 pm

Re: Retrieving coordinates with ScrollAreaGadget()

Post by pnd »

Netmaestro

Thanks for the guidance, The application works perfectly now. I really appreciate the help
pnd
User
User
Posts: 10
Joined: Mon Feb 14, 2022 9:33 pm

Re: Retrieving coordinates with ScrollAreaGadget()

Post by pnd »

Netmaestro

Can you recommend a cross reference program for purebasic files? I'm looking for something like the old FORTRAN XREF program.

Thanks
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8451
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Re: Retrieving coordinates with ScrollAreaGadget()

Post by netmaestro »

I don't know about a cross reference program. For posting code on the forum put it inside code tags. The code tags button looks like this: </> and will put code tags around your code that look like this: [ code ] ..your code.. [ /code ] without the spaces, if I didn't put spaces in them they'd work and you wouldn't see them.
BERESHEIT
pnd
User
User
Posts: 10
Joined: Mon Feb 14, 2022 9:33 pm

Re: Retrieving coordinates with ScrollAreaGadget()

Post by pnd »

Thanks again for all your help
infratec
Always Here
Always Here
Posts: 7586
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: Retrieving coordinates with ScrollAreaGadget()

Post by infratec »

Use

Code: Select all

EnableExplicit
As your first code line, then you don't need a cross reference list :wink:
Post Reply