Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
End-User Reposition Controls on Form
Message
 
To
10/08/2010 13:13:41
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01476009
Message ID:
01476082
Views:
59
>Has anyone created a form that allows the end-users to reposition controls (such as command buttons or edit boxes) and resize the controls? I would appreciate any example form that permits the end-users to do this.

A long time ago... I added a transparent container over the controls and let the user resize the container with code in the MouseDown, MouseUp and MouseMove events. In our case we used a generic routine to save the positions of controls, but you could just as easy call the SaveAs method of your SCX form or the SaveAsClass method of your VCX class to persist the current object (with some exceptions, though).
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform