Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement