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