PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
  • Control - item binding
  • Control - variable binding
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
8. Associating controls with data
Previous pageTable of contentsNext page
A window can display information coming from:
  • a database: the controls are directly bound to the items in the data files or queries available in the database.
  • variables found in the WLanguage code of the application (variables global to the window or to the project or parameters passed to the window).
To display this information in a window, the controls of this window must be bound to:
  • the different database items.
  • the available WLanguage variables.
The method for displaying and retrieving the information is straightforward:
  • The binding between a control and an item or variable can be defined in the window editor, in the control description ("Binding" tab).
  • ScreenToFile is used to update the record or the variable with the data displayed on the screen.
  • FileToScreen is used to update the data displayed on the screen with the information saved in the data file or with the information saved in the variable.
Control - item binding
Control - item binding
.
Control - variable binding
Control - variable binding
.
Previous pageTable of contentsNext page
Comments
Click [Add] to post a comment