Gray outs

  • Thread starter Thread starter Cor
  • Start date Start date
Hello Group,

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stop
users entering data in them until they click on a Add button for example

Thanks in advance
Regards
Si
 
-----Original Message-----
Hello Group,

Sorry to be a pain:(

Could somebody please tell me how I would gray out some TestBoxs to stop
users entering data in them until they click on a Add button for example

Thanks in advance
Regards
Si


While loading the i.e in the Form load Event method set
the enable property of the nessary buttons to "FALSE" and
in the ADD button's(as mentioned by you) click event
method set all the property(enable) to "TRUE"

if u have any further queries, feel free to send a mail,
bye,
Chellapa
 
in properties window if you have Textbox1

set enabled property to false

Double click on your add button and in the Click event

place the following code
Textbox1.enabled=true

HTH

Shane
 
Hi,

If you want the textbox to be gray try setting the readonly property
to true.

Ken
 
Back
Top