Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manual scrolling on forms?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Manual scrolling on forms?
Miscellaneous
Thread ID:
00028178
Message ID:
00028178
Views:
81
I've created a form with a large image on it. The image doesn't fit entirely on the form so the user can move it around using the arrow keys. In the keypress even I just checked for the appropriate keys and changed the top and left properties for the form. It works fine.

Now, however, I need to drop some other images on the form (on top of large image). The images need to stay at the same place relative to the large image. So, when the large image moves, the other images need to move. Originally, I figured thisform.SetAll("Top", TOP-10,"IMAGE") would be perfect for something like this, but apparently you can't evaluate anything in the second parameter (it thinks "TOP" is a variable in "TOP-10").

Is there a better way to do this? I'd consider the MS Scrollbar control except that I've had so many problems trying to get it to work. Any suggestions?


Michael G. Emmons
(Has anyone noticed I only sign my name "VFP Programmer Extroidinaire" when I'm answering a question and not when I am asking one? ;> )

Michael G. Emmons
memmons@nc.rr.com
Next
Reply
Map
View

Click here to load this message in the networking platform