How set readonly on combox control?

  • Thread starter Thread starter Li Pang
  • Start date Start date
L

Li Pang

I can only use combox1.enabled = false to stop entering
data, but it's gray out the control (not nice). Is there a
way to set readonly on the control (or set the color back
to white)?

Thanks

Li
 
No. "Downdown List" can only prevent to enter data, but it
can still change data. What I want is to stop the user to
change the data.
 
* "Li Pang said:
No. "Downdown List" can only prevent to enter data, but it
can still change data. What I want is to stop the user to
change the data.

Disable the control by setting its 'Enabled' property to 'False'.
Notice that this will change the colors of the control too.
 
Back
Top