 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Vladimir Stefanovic Guest
|
Posted: Mon Jan 26, 2004 3:18 pm Post subject: TMemo & Disabling focus... |
|
|
How can I achieve that TMemo never gets focus and
acts just like a sequence of TLabels. That means:
No focus, no popup, no selection, ... just text.
I found property 'Handled = true' in OnPopup event
that disables standard popup menu...
I also have found a solution to use OnEnter event and
save last focused control and return focus to it when
OnEnter triggers, but I suppose that there is some
easier solution...
Vladimir.
|
|
| Back to top |
|
 |
vERUs Guest
|
Posted: Thu Jan 29, 2004 7:15 pm Post subject: Re: TMemo & Disabling focus... |
|
|
"Vladimir Stefanovic" <antivari (AT) ptt (DOT) yu> skrev i meddelandet
news:4017e202 (AT) newsgroups (DOT) borland.com...
| Quote: | How can I achieve that TMemo never gets focus and
acts just like a sequence of TLabels. That means:
No focus, no popup, no selection, ... just text.
|
If you have no need to access individual rows then simply use a TLabel with
multiple rows...
// vERUs
|
|
| Back to top |
|
 |
Vladimir Stefanovic Guest
|
Posted: Sun Feb 01, 2004 3:42 pm Post subject: Re: TMemo & Disabling focus... |
|
|
| Quote: | If you have no need to access individual rows then simply use a TLabel
with
multiple rows...
// vERUs
|
I have found a few ways to do that ( Disabled Panel that contains Memo,
....).
Multiple rows of TLabel I think is not a good solution because of Caption
limit.
|
|
| 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
|
|