Some actions are automatically performed by WINDEV (a window automatically becomes editable when it is opened for example). This is the reason why no WLanguage function can be used to perform these actions.
However, when using a WINDEV element from a program written in an external language, these actions must be specified.
The following functions are used to perform the actions automatically performed by WINDEV:
| |
Displays | Displays a value in a control or assigns a value in a variable. |
DisplayLongText | Displays a long text in a text control in Pascal and in C. |
Beep | Used to emit a beep on the speaker of the computer. |
Library,Disk | Opens the project library that is stored on disk. |
Library,Error | Loads the HEX@ which contains the error messages managed by WDXXXEXE.DLL in the desired language.. If no Library, Error is called, the error messages are displayed in French by default. |
Confirm | Displays a dialog box that includes a logo, a message, the "Yes", "No" and "Cancel" buttons, and returns the button validated by the user. |
Screen,Column | Returns the subscript of the current subscripted column in a browsing table or in a memory table. |
Screen,Coordinate | Retrieves the coordinates of the control in relation to the top left border of the window as well as the physical size of a control. |
Screen,Current | Retrieves the name of the control currently in edit and its subscript if possible. |
Screen,ScreenToFile | Initializes the file items with the value of the window controls linked to these items. |
Screen,FileToScreen | Initializes the window controls with the values of the file items linked to the controls. |
Screen,First | Displays a long text in a text control in Pascal and in C. |
Screen,Raz | Resets to zero (for a numeric control) or clears (for the other types of controls) the content of the controls found in the current window. The list boxes and the combo boxes cannot be reset to zero. |
Screen,Get | Retrieves the value in a control or in a variable. The space characters found at the end of WdString are deleted by default. |
Screen,Input | Starts the input in the controls of a window. |
Screen,Selection | Modifies the status of a control (invisible, active, inactive, grayed). |
Screen,Next | Returns the name of the next editable control. |
Screen,XVar | Defines whether a control is included (or not) in the current window. |
Error | Displays a dialog box containing an error logo and the message passed in parameter. |
Space | Fills the content of WdString with space characters on the right. |
Execute | Runs the code of a control or the code of a procedure in WLanguage. |
Window | Returns the number of windows opened at a given time. |
Close | Closes the current window and restores the context that existed before the window opening. |
Handle | Returns the handle of a window or control. |
HsMenu,Status | Returns the status of a menu option (active, invisible, grayed). |
HsMenu,Label | Modifies the caption of a menu option. |
HsMenu,Mark | Finds out whether a menu option is marked or not. |
HsMenu,Name | Adds a menu into the window that is opened. The menu is the menu of another window. |
HsMenu,Select | Selects or deselects, makes invisible, marks or unmarks an option found in the current menu. |
iPrintReport | Prints a report created with the report editor. |
Info | Displays a dialog box containing an information logo and the message passed in parameter |
LCommand | Returns the command line passed in parameter to the executable program. WdString contains the command line passed in parameter to the executable program (without the name of the executable itself). |
List,Add | Adds an element into a drop-down list or into an expanded list. |
List,Search | Finds a value in a list. The search performed is an exact-match search. |
List,Insert | Inserts an element at a given subscript into a drop-down list or into an expanded list. |
List,Modify | Modifies an element in a drop-down list or in an expanded list. |
List,Count | Returns the number of elements found in a list. |
List,Position | Positions on the first element displayed in the list box or returns the subscript of the first element displayed.
|
List,Get | Retrieves the value of a given element or the value of the selected element in a drop-down list or in an expanded list. |
List,Select,? | Returns the element selected in the list. |
List,Select,- | Deselects an element from a drop-down list or from an expanded list. |
List,Select,+ | Selects an element in a drop-down list or in an expanded list. This function is mainly used to handle multiselection list boxes. |
List,Delete | Deletes an element from a drop-down list or from an expanded list. The following elements are moved up by one rank. |
Message | Displays a message in the status bar |
Multitask | Allows the programs currently run to process the Windows messages or runs a temporization. |
Nation | Defines the display language in the windows and controls for the titles, captions, messages, ... |
Option,Space | Fills the content of WdString with space characters on the right. |
Option,Test | In an information window, displays each call to the function and each status report returned by the function. |
Option,Version | Finds out the version number of WINDEV wdXXXVM.DLL. |
Yes,No | Displays a dialog box that includes a logo, a message and the "Yes" and "No" buttons. The user must validate one of the buttons ("Yes" or "No") to close the window |
Open | Opens a window. |
Project | Opens and runs a WINDEV project. The first project window is displayed and the input is automatically enabled in this window. |
Get | Retrieves the value of a control. |
Hourglass | Displays a mouse pointer shaped like an hourglass. |
SoundInit | Initializes the sound interpreter. This function must be run once in each program. It is used to calibrate the execution speed of the sounds. This function may take a few minutes. |
WavPlay | Plays the requested sound. The sound interpreter must be initialized by SoundInit. |
Style | Loads a style sheet. |
Table,Display | Refreshes the display of the table. The calculated controls are recalculated. The table is repositioned according to the data file. |
Table,Add | Adds an element into a table. |
Table,Search | Finds a value in a memory table. The search is an exact-match search. |
Table,Col | Returns the subscript of the column. |
Table,Save | Modifies or adds a record in the data file linked to the table. |
Table,Insert | Inserts an element at a given subscript into a table. |
Table,Modify | Modifies an element in a table. |
Table,Count | Returns the number of elements found in a table. |
Table,Position
| Points to a given element or returns the element in the first row of a memory table. |
Table,Get | Retrieves the value of a given element or the value of the selected element in a table. |
Table,Select,? | Returns the subscript of the element selected in the table. |
Table,Select,+ | Selects an element in a table. |
Table,Delete | Deletes an element from a table. |
Test | Displays each function call and each status report returned by the function. |
Use | Opens the specified window by closing all the windows opened beforehand. |
WDEnd | Ends a program that is using WINDEV. |
Windows,TCurrent | Modifies the title of the current window. |
Windows,Title | Modifies the title of the next window (or dialog box) displayed. |
Windows,TNext | Modifies the title of the next window (or dialog box) displayed. |