Re: How to make TextBox read only but look normal

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu