Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
End-User Reposition Controls on Form
Message
 
À
10/08/2010 13:13:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Divers
Thread ID:
01476009
Message ID:
01476082
Vues:
60
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform