General information
Category:
Forms & Form designer
>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only