Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Move Window Using Another Procedure
Message
From
29/07/2009 02:06:28
Paul Ong
Knights of Christ Foundation
California, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Move Window Using Another Procedure
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01415254
Message ID:
01415254
Views:
105
hi,

i have a question here, i have a form with no titlebar as its aesthetic design, the problem is the user suddenly wanted to move / drag the window around, but because of the aesthetic feature i could no longer revert back to the traditional vfp running with the _screen with the titlebar on, so i googled around and found a procedure it worked fine, however, i've noticed it would be a daunting task if i would have the procedure recreated everytime i create a form instead of putting it into a procedure then i'll just have it called with parameters,,

is it possible to pass the form name into the procedure, then let the procedure access the object,

say im on move.prg then i have form1 as the object name? how can i access it? like form1.drag, form1.click etc.. in the move.prg?

thank you very much
Next
Reply
Map
View

Click here to load this message in the networking platform