Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Moving controls at runtime
Message
De
29/05/2006 03:32:35
 
 
À
29/05/2006 01:45:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01125611
Message ID:
01125615
Vues:
19
>Hi Guys,
>
>Is it possible in vfp to move controls in a form during runtime? The idea is to give the users the flexibility to design the layout of controls in a form.

Hello,

I don't know if this is the answer you want, but in VFP moving controls at runtime is very simple:
Example:
* Move button1 to position 10,10 of the form
form1.button1.left = 10
form1.button1.top = 10
* Move button1 to position 20,20 of the same form
form1.button1.left = 20
form1.button1.top = 20
This code can be anywhere in your program

Joaquim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform