Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form locking strategy to prevent data modification
Message
 
À
03/03/1998 16:57:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00082366
Message ID:
00082371
Vues:
34
>>Could anyone give any tips on or point me towards some info on a method of "locking" the controls on a form to prevent data from being changed.
>>
>>I would like to have an "edit" button that a user must push to then begin editting.
>>
>>Textboxes are very easy. I can drop them onto a pageframe and then enable and disable the pageframe. If combobox is on the pageframe, it will continue to be enabled.
>>
>>TIA.
>
>You can disable a combo the same way as other controls: Thisform.Combo1.Enabled=.f.

Hi Ed.

In my edit button, I was hoping to not have to reference every control on a form (to much code). Instead I was thinking of something like placing all controls in a pageframe and then enabling and disabling just the pageframe. Does that sound like a good plan? What do you do?

BTW it seems as though a combobox will disable if the pageframe is disabled that it is contained in.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform