PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
SelectedTextWithTag (Property)
In french: TexteSélectionnéAvecBalise
..SelectedTextWithTag is used to find out or modify the text selected in a rich edit control (in RTF or HTML format) with the HTML and RTF formatting tags.
Example
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> = <Control Name>..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.
<Control Name>: Character string (with or without quotes)
Name of the rich edit control to use.

Modifying the selected text with the tags Hide the details

<Control Name>..SelectedTextWithTag = <New Text>
<Control Name>: Character string (with or without quotes)
Name of the rich edit control to use.
<New Text>: Character string (with quotes)
New text that must be displayed in the edit control with the formatting tags.
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment