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 

TEdit without no selection

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





PostPosted: Wed Jun 15, 2005 7:48 pm    Post subject: TEdit without no selection Reply with quote




Hi all,

two questions,

1. I want to have a TEdit siimilar component where I'm not able
to select and highlight the text, I know that this is
possible with TRichEdit where I can overwrite the WM_PAINT
message. But unfortunally when I keep the mouse with button
down over the RichEdit then the component flickers...

2. I want to supress some letters and signs. Should I check
this in OnKeyDown or have I to do something else?

Regards,
Marius
Back to top
Tom Woodrow
Guest





PostPosted: Mon Jun 20, 2005 11:03 pm    Post subject: Re: TEdit without no selection Reply with quote



mauro wrote:

Quote:
Hi all,

two questions,

1. I want to have a TEdit siimilar component where I'm not able
to select and highlight the text, I know that this is
possible with TRichEdit where I can overwrite the WM_PAINT
message. But unfortunally when I keep the mouse with button
down over the RichEdit then the component flickers...

2. I want to supress some letters and signs. Should I check
this in OnKeyDown or have I to do something else?

Regards,
Marius


use the TEdit OnEnter event and do a SomeOtherComponenet->SetFocus() to
divert focus away from your edit box.

Tom Woodrow

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (VCL Components Usage) 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.