PDA

View Full Version : Edit fields - locked, but still copyable?


Steve_K
02-19-2006, 07:34 AM
Hi there,

is there any way to 'lock' an edit field, so that its content cannot be changed, but is still selectable and copyable?

Thanks!

Steve

Adam
02-20-2006, 11:21 AM
I cannot see a way to make an Edit Field act like what you describing.

Adam Kapilik

csd214
02-24-2006, 03:26 AM
Well, Steve; it should be possible by using the MSGID_ONCHANGED event.

Play with the attached project, three edit fields (disabled/enabled/enabled but not changeable).

Steve_K
02-24-2006, 06:40 AM
Thanks, csd214. I came up with the same solution ...

:)

Steve

Adam
02-28-2006, 11:31 AM
Nice one!

Adam Kapilik