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
Screen,XVar (External language)
In French: Ecran,Xvar
Defines whether a control is included (or not) in the current window.
Example
// In C
// Checks whether the CUSTNAME control is found in the window
CALLWD("Screen,XVar,%s",ControlName);
if WDInt==1 CALLWD("SCREEN,FIRST,%s",ControlName);
// In Pascal
(* Checks whether the CUSTNAME control is found in the window *)
CALLWD('Screen,XVar,CUSTNAME');
if WdInt=1 then CALLWD('SCREEN,FIRST,'+ControlName);
// In VB
' Checks whether the CUSTNAME control is found in the window
call CALLWD("Screen,XVar,CUSTNAME")
if WdInt=1 then
CALLWD("SCREEN,FIRST,"+ControlName)
end if
Syntax
Screen,XVar(<Control Name> [, <Subscript>])
<Control Name>: Character string
Name of the control in which the text must be displayed.
<Subscript>: Character string (optional)
Subscript of the control.
Remarks
The WdInt variable is set to:
  • 0 if the control is not found in the window
  • 1 if the control is found in the window.
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment