 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Chris Guest
|
Posted: Sun Sep 21, 2003 7:35 pm Post subject: Derived control event |
|
|
Hi
I have derived a new component from TEdit. I have published a bool "Locked"
(from my days with VB, I think a locked control looks far better that a
disabled one - they are greyed). Internally the control needs to check
"Locked" and if true disable the keydown, press and up events.
Can anyone give me a code snippet or point me in the right direction?
Cheers
Chris
|
|
| Back to top |
|
 |
Chris Guest
|
Posted: Sun Sep 21, 2003 8:46 pm Post subject: Re: Derived control event |
|
|
"Chris" <chris (AT) REMOVEchrischfmousey (DOT) karoo.co.uk> wrote
| Quote: | Hi
I have derived a new component from TEdit. I have published a bool
"Locked"
(from my days with VB, I think a locked control looks far better that a
disabled one - they are greyed). Internally the control needs to check
"Locked" and if true disable the keydown, press and up events.
Can anyone give me a code snippet or point me in the right direction?
Cheers
Chris
|
Forget this, I figured it out.
Thanks
Chris
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|