Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Read only for all fields
Message
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01416802
Message ID:
01416804
Vues:
72
This message has been marked as a message which has helped to the initial question of the thread.
>Can I turn all textboxes and checkboxes of my form readonly without have to specify one by one ?
>
>I need to creat a button to change they to edit and not edit mode
>
>Moises
thisform.SetAll('readonly',.t., 'textbox')
thisform.SetAll('readonly',.t., 'checkbox')
this would work only if you use VFP base default class (textbox and checkbox) - and you should not do this!

If you use your custom class for textboxes and checkboxes, specify the name of the class as third parameter.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform