PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV and WINDEV Mobile 26 feature!
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
Asynchronously retrieves the value of one of the properties of an HTML Editor control.
Remark: This function is particularly useful for Android and iOS applications for which the Body , Value and TextWithoutFormat WLanguage properties are not available (since they can only be used synchronously).
Example
// Save the entered data in a file
HTMLEditorGet(HTMEDT_MyEditor, hegValue, HTMLEditorGet_Callback)
INTERNAL PROCEDURE HTMLEditorGet_Callback(value)
fSaveText("save.html", value)
END
Syntax
HTMLEditorGet(<HTML Editor control> , <Property> , <WLanguage procedure>)
<HTML Editor control>: Control name
Name of the HTML Editor control used.
<Property>: Integer constant
Property for which the value is to be retrieved;
hegBodyUsed to get the HTML code of the body.
This constant is equivalent to the Body property.
hegTextWithoutFormatUsed to get the text contained in the control without the HTML tags.
This constant is equivalent to the TextWithoutFormat property.
hegValueUsed to get the value of the control.
This constant is equivalent to the Value property.
<WLanguage procedure>: Procedure name
WLanguage procedure ("callback") executed to get the searched value. This procedure has the following format:
PROCEDURE <Procedure name>(Value)
where <Value> is the searched value. In this parameter, characters are encoded in UTF-8.
Component: wd260obj.dll
Minimum version required
  • Version 26
This page is also available for…
Comments
Click [Add] to post a comment