General information
Category:
Object Oriented Programming
Title:
Best practice to enable/disable controls when editing
Environment versions
Network:
Windows 2003 Server
Hi,
Just a question about how to enable/disable controls on the form when .Thisform.lEditing is On/Off.
When editing records, I set Thisform.lEditing to TRUE and I use to call Thisform.Refresh() method because every textbox and other controls checks for that form's property in order to set their own "Enabled" property to TRUE or FALSE in their own Refresh method.
Is this a good OOP practice? My textboxes and form belong to a class library.
Or should I call a method like "Thisform.EnableDisable" to navigate all controls and set their "Enabled" property.?
Thanks
Juan C.
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