PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

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 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