PDA

View Full Version : Mixed baseline settings


Unregistered
October 26, 2002, 00:14:06
Is there a way to tell if the selection contains characters with more than one BaseLine, ForeColor, or BackColor setting?

If you select characters with different settings for other formatting properties the control returns a special value (e.g., 2 for FontBold, "" for FontName, or 0 for FontSize) indicating the mixed nature of that formatting property within the selection.

If you select text with more than one BaseLine setting, you get 0, which is a valid value for this property, so you can't tell if the selection has mixed settings for this property. The same goes for ForeColor and BackColor (and maybe others, I haven't checked every single one).

Is there a workaround for this? If not, what is the likelihood of this being added sometime soon?


This message was originally posted by Joe Forbes in the old TX Text Control Support Forum.