It depends on what you want to do when you say highlight. You can select any substring from a textbox programmatically with SetCtrlAttribute setting the TextSelectionStart and TextSelectionLength properties. Remember to make the text box the active control though with SetActiveCtrl in order to see the selection. You cannot highlight by color though.
Best Regards,
Chris Matthews
Measurement Studio Support Manager