Re: How to make TextBox read only but look normal
- Posted by Dan_M Jul 06, 2009
- 1406 views
AndyDrummond said...
I think the easiest way is to put in handlers for the text box for w32HkeyDown and w32HkeyPress, and in both cases call returnValue(w32True) to tell Win32Lib not to pass on keypresses, whether control keys or printable keys, onto the text box itself. I don't have the time to test this but IMHO it should work OK.
Andy
but in this method, couldn't app user still PASTE into the text box?
dan