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