Page 2 of 2

Re: Retrieving coordinates with ScrollAreaGadget()

Posted: Mon Feb 28, 2022 2:08 am
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.

Re: Retrieving coordinates with ScrollAreaGadget()

Posted: Mon Feb 28, 2022 12:38 pm
by pnd
Netmaestro

Thanks for the guidance, The application works perfectly now. I really appreciate the help

Re: Retrieving coordinates with ScrollAreaGadget()

Posted: Mon Feb 28, 2022 4:50 pm
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

Re: Retrieving coordinates with ScrollAreaGadget()

Posted: Mon Feb 28, 2022 7:17 pm
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.

Re: Retrieving coordinates with ScrollAreaGadget()

Posted: Mon Feb 28, 2022 7:31 pm
by pnd
Thanks again for all your help

Re: Retrieving coordinates with ScrollAreaGadget()

Posted: Mon Feb 28, 2022 8:50 pm
by infratec
Use

Code: Select all

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