PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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
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([<Window Name>,] <Control Name> [, <Subscript>] , <Pointer> , <Buffer Size>)
<Window Name>: 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 required version
  • Version 14
Comments
Click [Add] to post a comment