Search found 10 matches

by pnd
Mon Feb 28, 2022 7:31 pm
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Thanks again for all your help
by pnd
Mon Feb 28, 2022 4:50 pm
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Netmaestro

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

Thanks
by pnd
Mon Feb 28, 2022 12:38 pm
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Netmaestro

Thanks for the guidance, The application works perfectly now. I really appreciate the help
by pnd
Mon Feb 28, 2022 1:44 am
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Netmaestro

Been over this several times and don't see where I went wrong would you take a look and tell me where the error is. I can't use the x axis scroll bar. The image I'm using is 5MP

Regards
#################################################################################
Declare Canvas ...
by pnd
Mon Feb 28, 2022 1:09 am
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Netmaestro

I'm new to the forum. Please tell me the correct way to list code when communicating with others on the forum. I don't think the last time I sent you some code was correct.
by pnd
Mon Feb 28, 2022 12:45 am
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Embarrassed to say I forgot it, and saw it after I sent my last reply Everything is working now except I can't move the x axis scroll bar. Not sure why I can't pay outside of the window
by pnd
Sun Feb 27, 2022 8:17 pm
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Thanks Very Helpful

I added an openfilerequester statement. I'm trying to scroll around a single 5 MP image, but I keep getting an image not initialized error I'm including my mark-up below.

;#############################################################
;MASK Program Note uses the Current Version ...
by pnd
Sun Feb 27, 2022 3:38 pm
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Netmaestro

I have the cursor coordinate portion of the application working. I am having a problem getting the image into the scrollareagadget. If it would not be too much trouble, could you provide a snipet showing how this is done? Any help appreciated.

Regards
by pnd
Sun Feb 27, 2022 2:10 pm
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Netmaestro

Thanks for the quick reply. I'll try as you directed. I'm new to this language, but like it so far. I'm an old Clipper programmer trying to move my applications to a modern environment. My younger engineers don't have a grasp of MSDOS.
by pnd
Sat Feb 26, 2022 11:44 pm
Forum: Coding Questions
Topic: Retrieving coordinates with ScrollAreaGadget()
Replies: 20
Views: 2500

Re: Retrieving coordinates with ScrollAreaGadget()

Sparkie

I modified your windowcallback code listed above. Works great. Thanks, don't think I could have done it on my own. I would like to further modify it to leave a mark on the image being scrolled at the point where the mouse click takes place. I have not had any success adding this capability ...