Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Rich Text Box highlight

Status
Not open for further replies.

JasonDBurke

Programmer
Jun 20, 2001
54
US
Hi,
My question is a GUI question.
I am trying to mirror a little functionality found in editing programs like MS Word. I want to be able to highlight some text in a Rich Text Box and then click on a combo box a select a different font type and have the text switch to that font while the text is still highlighted.

My problem is: after i highlight the rich text and click a combo box , the highlight on the rich text is disappearing - when focus is shifted from Rich Text to Combo box. All I want to do i prevent the highlight from disappearing so that the user can see what text he/she is trying to change.

Thanks,
Jason
 
HideSelection property is the answer. Needs to be set to false.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top