version 1.5
Property Set defineLabelAsText As String
Objects having Labels may be defined as text to be included along with the regular text. A statement:
ctx.defineLabelAsText = RT_OBJ_BUTTON + RT_OBJ_SECTION
define all button labels and section titles to be included in text search functionality.
If you have defined it like above, the statement:
Msgbox ctx.Text
may display something like:
Some text <<this is button label>>
<<section title>>
some text in section...
|