Startbeitrag von John Marroneam 17.12.2009 21:16
Hi
I need to disable a edit control, or gray it out so the user can not enter the edit control. I have looked threw the help high and low. Can not find a thing. You have to be able to disable a control. Does anyone know how to do this.
I need to disable a edit control, or gray it out so the user can not enter the edit control. I have looked threw the help high and low. Can not find a thing. You have to be able to disable a control. Does anyone know how to do this.
EDT_Control..State = Grayed
or Inactive or Active
von Arie Mars - am 17.12.2009 22:03
edtControl..State = Grayed defeats everything but may not be the look you are after.
If you opt for edtControl..State = DisplayOnly, possible with the Brushcolor set to light gray, then make sure you have unchecked the Automatic Erase and With Selection on the Details tab of the edit control.
If you do not then the user can still access and change the content.
Of course it will not be updated in the DB but it can lead to all sorts of confusion.
Regards
DerekT
von DerekT - am 17.12.2009 23:32