Re: How to make TextBox read only but look normal
- Posted by ghaberek (admin) Jul 06, 2009
- 1376 views
If you use setEnable(), then you have to adjust the background color afterwards...
setWindowBackColor( ctrl, getSysColor(COLOR_WINDOW) )
You could wrap it into one whole function...
global procedure setEnable2( integer edit, integer state ) setEnable( edit, state ) setWindowBackColor( edit, getSysColor(COLOR_WINDOW) ) end procedure
-Greg