ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Managing external languages / Object functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
DisplayLongText (External language)
In french: AfficheTexteLong
Displays a long text in a text control in Pascal and in C.
Example
// En C
AfficheTexteLong("/F:FEN.WDW,COMMENT",p_long,512);
// En Pascal
AfficheTexteLong('/F:FEN.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)
Control index.
<Pointer>: Pointer
In C and Pascal: pointer to a memory area containing all the text to be displayed.
In Fortran and Cobol: pointer to a string.
<Buffer size>: Integer
Number of characters to display. In C, corresponds to the size in number of characters +1.
Remarks
  • Warning: This function is not called by APPELWD.
  • 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: 09/21/2024

Send a report | Local help