First Visible Column -- RichTextBox
-
Hi CPians, I need to find out first visible column of a
RichTextBox
. Please render suggestions how to go for it. Thanks in advance. Regards, Jay. -
Hi CPians, I need to find out first visible column of a
RichTextBox
. Please render suggestions how to go for it. Thanks in advance. Regards, Jay.Columns? In a RichTextBox? Whatever do you mean? Are you talking about the first visible Text character? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Columns? In a RichTextBox? Whatever do you mean? Are you talking about the first visible Text character? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
Hi Dave, Sorry for not being too descriptive, I want to get first visible text character index. Regards, Jay.
-
Hi Dave, Sorry for not being too descriptive, I want to get first visible text character index. Regards, Jay.
Off the top of my head, no methods for this exist. Are you talking about the first visible character in the RTF stream? I mean, strip away all the RTF formatting and getting the position in the stream of the first character that would render visibly in the control? Or are you talking about the first visible character when scrolling the control contents left and right? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
-
Off the top of my head, no methods for this exist. Are you talking about the first visible character in the RTF stream? I mean, strip away all the RTF formatting and getting the position in the stream of the first character that would render visibly in the control? Or are you talking about the first visible character when scrolling the control contents left and right? RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
I mean first visible character when scrolling the control contents left and right.
-
I mean first visible character when scrolling the control contents left and right.
Unfortunately, no methods exist for what you want to do. I can't really come up with a way to do it either. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome