SelectAll and reverse video effect

  • Thread starter Thread starter Rod
  • Start date Start date
R

Rod

I am selected the text in a textbox using SelectAll. It does select all but
does not give the reverse video effect that you get if you select the text
using the keyboard. Is there a trick to make this happen.

many thanks

Rod
 
Hi Rod,

I guess this happens because the control doesn't have the focus when you do
that. You didn't mention what control is that. Look in the control
properties, there should be property HideSelection. Set this property to
*false* in order the control to show the selection even if it doesn't have
the focus. The selection however will be little bit dimmed than the
selection when the control has the focus.
 
Thanks, that worked.


Stoitcho Goutsev (100) said:
Hi Rod,

I guess this happens because the control doesn't have the focus when you do
that. You didn't mention what control is that. Look in the control
properties, there should be property HideSelection. Set this property to
*false* in order the control to show the selection even if it doesn't have
the focus. The selection however will be little bit dimmed than the
selection when the control has the focus.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top