 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
mauro Guest
|
Posted: Wed Jun 15, 2005 7:48 pm Post subject: TEdit without no selection |
|
|
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
|
Posted: Mon Jun 20, 2005 11:03 pm Post subject: Re: TEdit without no selection |
|
|
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 |
|
 |
|
|
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
|
|