Re: How to make TextBox read only but look normal
- Posted by AndyDrummond Jul 06, 2009
- 1344 views
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