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,FileToScreen (External language)
In french: Ecran,FichierVersEcran
Initializes the window controls with the values of the file items linked to the controls.
Example
// In C
HReadFirst("CUSTOMER","NAME")
if!HOut() {
CALLWD("Screen,ScreenToFile");
else
CALLWD("Error,Empty file");
}
// In Pascal
HReadFirst("CUSTOMER","NAME");
If not HOut() then CALLWD('Screen,'FileToScreen')
else CALLWD('ERROR,Empty file');
// In VB
if not HOut() then Call CALLWD("Screen,FileToScreen")
else call CALLWD("ERROR,Empty file")
End If
Syntax
Screen,FileToScreen()
Remarks
  • Screen, FileToScreen does not read the file. The controls are initialized with the record loaded in memory. A record must necessarily be loaded in memory before calling this function.
  • In case of direct link, Screen, FileToScreen transfers the value of the items for the record loaded in memory into the linked controls, without performing any read operation.
  • In case of link with search in a linked file, the search is performed in the linked file before transferring the value of the items into the control.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help