BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Derived control event

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development)
View previous topic :: View next topic  
Author Message
Chris
Guest





PostPosted: Sun Sep 21, 2003 7:35 pm    Post subject: Derived control event Reply with 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


Back to top
Chris
Guest





PostPosted: Sun Sep 21, 2003 8:46 pm    Post subject: Re: Derived control event Reply with quote




"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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Development) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.