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 

TMemo & Disabling focus...

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





PostPosted: Mon Jan 26, 2004 3:18 pm    Post subject: TMemo & Disabling focus... Reply with 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.

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





PostPosted: Thu Jan 29, 2004 7:15 pm    Post subject: Re: TMemo & Disabling focus... Reply with quote




"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





PostPosted: Sun Feb 01, 2004 3:42 pm    Post subject: Re: TMemo & Disabling focus... Reply with quote



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
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.