View previous topic :: View next topic |
Author |
Message |
sepa
Joined: 06 May 2007 Posts: 13
|
Posted: Tue Nov 06, 2007 12:38 pm Post subject: is pos colored by HyperlinkHighlighter |
|
|
How could i detect, is some text position colored by HyperlinkHighlighter, or not, and get colored text?
Thanks. |
|
Back to top |
|
|
econtrol Site Admin
Joined: 09 Jun 2006 Posts: 202
|
Posted: Tue Nov 06, 2007 10:27 pm Post subject: |
|
|
Use:
Code: | function TCustomHighlighter.HltRangeBndAt(Pos: integer): TPoint; |
This function returns start (Result.X) and end (Result.Y) of highlighted text range at position Pos.
If there are no highlighted range result = Point(0,0) |
|
Back to top |
|
|
|