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
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)
Control index.
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 version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 04/06/2023

Send a report | Local help