ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
DisplayLongText (External language)
In french: AfficheTexteLong
Displays a long text in a text control in Pascal and in C.
Example
// In C
DisplayLongText("/F:WIN.WDW,COMMENT",p_long,512);
// In Pascal
DisplayLongText('/F:WIN.WDW,COMMENT',p_long,512);
Syntax
DisplayLongText([<Name of the window>, ] <Control name> [, <Subscript>] , <Pointer> , <Buffer size>)
<Name of the window>: Character string (optional)
Name of the window used. Used to display the text in a control belonging to a window other than the current one.
<Control name>: Character string
Name of the control in which the text must be displayed.
<Subscript>: Character string (optional)
Subscript of the control.
<Pointer>: Pointer
In C and Pascal: pointer on a memory zone containing the entire text to display.
In Fortran and Cobol: pointer on a string.
<Buffer size>: Integer
Number of characters to display. In C, corresponds to the size in number of characters +1.
Remarks
  • Caution: This function is not called by CALLWD.
  • DisplayLongText cannot be used in VB. In Cobol and Fortran, this function can be used up to 4000 characters.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help