|
|
|
|
|
SelectedTextWithTag (Property) In french: TexteSélectionnéAvecBalise
The SelectedTextWithTag property is used to get or change the text selected in a rich edit control (RTF or HTML) with HTML or RTF formatting tags. MyText is string MyText = EDT_HTML.SelectedTextWithTag IF Position(MyText, "<A ") > 0 THEN Message("In link selection") END
Syntax
Retrieving the selected text with the tags Hide the details
<Text> = <Edit control>.SelectedTextWithTag
<Text>: Character string Text found in the edit control with the formatting tags.Caution: If the control is a Unicode control, the string returned is a Unicode string. <Edit control>: Control name Name of the rich edit control to use.
Modifying the selected text with the tags Hide the details
<Edit control>.SelectedTextWithTag = <New text>
<Edit control>: Control name Name of the rich edit control to use. <New text>: Character string New text that must be displayed in the edit control with the formatting tags.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|