Keep RTB Text Selection Active While Selecting Highlight Color
I have a combobox as part of a toolbar where I select a text background highlight color.
Once the combobox receives focus, the RTB (richtextbox) loses the
selected text highlight (text is there just highlight reverts to background color).
After combobox selection the test selected previously is highlighted with the correct color
My guess is the only workaround for this is using a ActiveX because of the need to be in a separate thread.
Can someone confirm and Any other workaround?
Re: Keep RTB Text Selection Active While Selecting Highlight Color
So you want the text in the RTB to still look like it is highlighted when the combobox receives focus?
Re: Keep RTB Text Selection Active While Selecting Highlight Color
Is the HideSelection property what you're looking for?
Re: Keep RTB Text Selection Active While Selecting Highlight Color
@Bonnie.....I bet it is....that works. Didn't know of that property....thanks for the info.
Re: Keep RTB Text Selection Active While Selecting Highlight Color
Sam, that property is also available in TextBoxes.
Re: Keep RTB Text Selection Active While Selecting Highlight Color
Thanks Bonnie West -- easy solution.