PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
The following functions are used to manage the controls:
ActiveXEventAssociates a procedure written in WLanguage with an event of ActiveX control.
AddLinkAdds a link to a text section in an edit control.
ScrollBarShowDisplays (or not) a scrollbar in a WINDEV control (edit control or list box) even if no scrollbar was specified during the control description.
ScrollbarIsVisibleUsed to find out whether the scrollbar of a control in a WINDEV application is visible.
ScrollbarPositionUsed to manage the position of scrollbars:
  • Modifies or retrieves the position of one of the horizontal or vertical scrollbars found in a control of a WINDEV or WINDEV Mobile application.
  • Retrieves the position of one of the horizontal or vertical scrollbars found in a control of a WEBDEV site.
ScrollbarMaxPositionRetrieves the maximum position of one of the horizontal or vertical scrollbars found in a control of a WINDEV application.
ShowToolTipEnables or disables the mechanism for displaying the control tooltips.
ToolTipColorModifies the colors used for displaying the tooltips.
ToolTipDelayUsed to modify:
  • the timeout before displaying the tooltips.
  • the display duration of the tooltips.
TooltipMaxWidthModifies the maximum width of tooltips.
ToolTipMarginModifies the margin of the text in the tooltips.
ControlEnabledEnables a control or a group of controls in a window. An animation can be set on the controls during this operation.
ControlAliasGets, modifies or restores the data binding to a control or group of controls.
ControlInOutReasonIndicates the origin of the entry in the control.
ControlCloneCreates a new control from an existing control.
ControlPopupOwnerIdentifies the control on which the popup menu was opened.
ControlCreateCreates a new control (of any type) in a window through programming.
ControlCurrentReturns the name of the control currently in edit.
ControlErrorCustomizes the value displayed in the controls when the value cannot be displayed.
ControlExistChecks the existence of a control (or group of controls) in a window, in a page or in a report.
ControlGrayedGrays a control or a group of controls. An animation can be set on the controls during this operation.
ControlInfoXYReturns the name of the control located at a given position.
ControlInvisibleMakes a control (or a group of controls) invisible in a window. An animation can be set on the controls during this operation.
ControlPreviousSpecifies the name of control that was in edit before the current control.
ControlFirstIndicates the name of the first field specified in the tab order for the specified window.
ControlNoSpaceSpecifies whether the space characters on the right of the value found in the control are deleted.
ControlNextReturns the name of the next control in input mode.
ControlDeletePermanently deletes a control from a window, page or report.
ControlOverIdentifies the control hovered over with the mouse cursor.
ControlTypeInfoReturns the icon corresponding to the specified type of control.
ControlVisibleMakes a control (or a group of controls) visible in a window. During this operation, an animation can be performed on the controls.
ChangeStyleModifies the style of a control dynamically.
LoadParameterReads a persistent value.
CurrentColumnReturns:
  • the index of the current indexed column in a Table control (based on a data file or populated programmatically).
  • the number of the column currently in edit mode in the specified Table control (based on a data file or populated programmatically).
CoordinateImageControlToImageConverts the coordinates of a rectangle in the Image control to the corresponding coordinates in the image displayed in the control.
CoordinateScreenToEditorConverts a size or a position specified in the native dpi of the screen on the device where the application is run to the reference dpi in the editor (160 dpi).
CoordinateEditorToScreenConverts a size or a position specified in the reference dpi in the editor (160 dpi) to the native dpi of screen on the device where the application is run.
CoordinateImageToImageControlConverts the coordinates of a rectangle in the image to the corresponding coordinates in the Image control.
SelectionColorChanges the characteristics of the selection bar in a Table control, Combo Box control or List Box control.
DictionaryLoadIndicates and loads the dictionary corresponding to a given language.
SetFocusSet focus:
  • to a control (found in a window, in a page or in a frameset).
  • to a window.
ScreenFirstDefines the next control that will be in edit in the current window.
EnumControlReturns the name of Nth control found in the specified element.
ShapePolygonModifies the shape currently displayed in a Shape control to get a custom shape (by specifying the coordinates of polygon points).
HTMLNavigateStarts navigation in an HTML Display control.
CurrentIndexDepending on the specified control, returns:
  • the number of the current row displayed in the current Table control,
  • the number of the option with focus in a Check Box control,
  • the number of the current row in the current Looper control,
  • the index of the current indexed control.
NextIndexReturns the number of the next row displayed in the current Table control.
InitParameterInitializes the management of persistent values.
LinkColorModifies the color of links in the edit controls and in the Static controls.
CountReturns the number of occurrences of a control in a window, in a page or in a group of controls.
OpenPopupMenuAutomatically opens a popup menu for the current control or window.
ConfigureSpellCheckConfigures the spelling checker for the edit controls and for the Table control columns in the whole application.
ParentObjectIdentifies the "parent" of a graphic object: control, column, window, page, ...
AttachPointAddDefines an attach point for one of the two extremities of a Wire control.
AttachPointDeleteAllDeletes all the connection points for a control.
ResetReinitializes:
  • all the controls found in the current window or page (including the groups of controls, the supercontrols and the internal windows).
  • the controls found in a group of controls, a supercontrol, an internal window or an internal page.
ReturnToCaptureStops the current process and forces the input in the specified control, window or page.
AssistedInputAddAdds a row into the list of values available for the assisted input of an edit control.
AssistedInputCloseCloses the list of values proposed by the assisted input for an edit control.
AssistedInputOpenOpens the list of values proposed by the assisted input for an edit control.
AssistedInputDeleteAllClears the list of values proposed for the assisted input of an edit control.
EditCaretModifies the standard hover cursor for all the edit controls of the application.
SaveParameterSaves a persistent value in the registry or in another file specified by InitParameter.
DeleteParameterDeletes a parameter (or a set of parameters) saved either by SaveParameter, or automatically via the persistence of data in the controls.
TextEllipsisReturns the text with ellipsis displayed in an Edit, Combo Box or Static control.
TextHeightCalculates the height (in pixels) of the text displayed in an edit control, in a Static control or in a Combo Box control.
TextWidthCalculates the width (in pixels) of the text displayed in an edit control, in a Combo Box control or in a Static control.
Related Examples:
The ControlClone function Unit examples (WINDEV): The ControlClone function
[ + ] Using ControlClone and ControlDelete.
WD Persistence Training (WINDEV): WD Persistence
[ + ] This example presents the use of InitParameter, LoadParameter and SaveParameter.
These functions are used to configure the backup of controls, variables and other parameters.
This example is divided into three parts:
- The configuration
- The manual management of variables (SaveParameter and LoadParameter)
- The optimization
1°) Configuration

The configuration window enables you to modify the location of the backup of parameters (registry, INI file, XML file) as well as its path (registry key or file path).
2°) Manual management of the variables
The manual management enables you to save the content of the variables via SaveParameter and to restore them via LoadParameter. Each parameter is identified by a name. These values are saved at the location defined in the configuration window.
3°) The optimization
This window explains how to optimize your code to avoid the slowness caused when the saved values are restored. Indeed, when restoring the value of a control, its modification code is run. If you have long processes (queries with parameters for instance), this window shows you how to speed up the loading of the window.
The AssistedInput functions Unit examples (WINDEV): The AssistedInput functions
[ + ] Using the WLanguage AssistedInput functions.
These functions are used to easily implement an assisted input on the controls.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment