Copy value from a disabled field

scheeps

Registered User.
Local time
Tomorrow, 05:58
Joined
Mar 10, 2011
Messages
82
Does anyone know if there is a way to copy the value in a disabled field just by pressing Ctrl C?

KeyCode = 0 will allow the user to copy the field and have the field still locked for entering data. But I would like the field to be disabled (greyed out) but still allow the user to copy the value.
 
Don't worry I solved it; probably not the ideal solution but it works.

I set the enabled field's background color to "#ECECEC", which is the exact same color as a greyed out field. I then also set the KeyCode = 0 on the KeyDown event.

It works.
 

Users who are viewing this thread

Back
Top Bottom