ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

<List Box>.Position (Function)
Displays a List Box (or a ListView) control from a specified element or returns the index of the first element displayed in a List Box control (if the scrollbar was used).
Position
The Position keyword can correspond to ...
<TreeView>.Position (Function)
Displays a TreeView control from a specified element (node or leaf) or returns the name of the first element displayed in a TreeView control.
<Panel>.Position (Function)
Retrieves the position of a Dockable Panel control.
<Organizer>.Position (Function)
Displays an Organizer control from a specified date or returns the date of the first day (or the date of the last day) displayed in an Organizer control.
<Table>.Position (Function)
Displays a Table or TreeView Table control from a specified row or returns the index of the first row displayed in a Table or TreeView Table control.
<Spreadsheet>.Position (Function)
Displays the specified cell in a Spreadsheet control found in a window:
  • either the visible area of Spreadsheet control is moved to display the cell.
  • or the cell is displayed in the upper-left corner of visible area of Spreadsheet control.
The "Window position preview" pane
The "Window position preview" pane is used to view and/or modify the opening position of the windows currently modified (according to the screen resolution used)...
<Looper>.Position (Function)
Moves the scrollbar to display a specific row or returns the index of the first row displayed in a Looper control populated programmatically.
<Calendar>.Position (Function)
Returns the month displayed in a Calendar control.
Position (Function)
Finds the position of a specified string within another string.
<Toolbar>.Position (Function)
Indicates the display mode of a Toolbar control.
<Multimedia>.Position (Function)
Returns or modifies the current position of the media file currently played in the Multimedia control.
grComparativeSeriesPosition (Function)
Fixes the position (left or right) of a series in a comparative Histogram chart.
HFirst (Function)
Sets the position on the first record of a table according to the specified browse item.
<Source>.SavePosition (Function)
Stores the current context of a table: current record, filter, read pointers.
<Table>.SelectToFile (Function)
Positions on the table record corresponding to a row selected in the multi-selection data-bound Table control.
HFreePosition (Function)
Deletes a position saved by HSavePosition.
Automatic positioning
When moving a control in a window, in a page or in a report, guides are automatically displayed by the real-time interface checker (also called automatic positioning)...
iYPos (Function)
Used to manage the vertical position (Y-coordinate) of print cursor in the page.
HLast (Function)
Sets the position on the last record of a table according to a browse item.
iXPos (Function)
Used to manage the horizontal position (X-coordinate) of print cursor in the page.
ScrollbarPosition (Function)
Allows you to manage the position of scrollbars:
  • Modifies or recovers the position of one of the scrollbars (horizontal or vertical) of a field in a WINDEV or WINDEV Mobile application.
  • Retrieves the position of one of the horizontal or vertical scrollbars found in a control of a WEBDEV website.
<Map>.GetPosition (Function)
Returns the geographical position of the point located in the center of the map currently displayed in a Map control.
XMLRestorePosition (Function)
Restores the previously saved context of an XML document.
HRestorePosition (Function)
Restores the previously saved context of a file (function HSavePosition): record in progress, filter, playback pointers.
PositionToLine (Function)
Returns the number of the line that contains a character identified by its position in a block of text.
GesturePosX (Function)
Returns the horizontal position of the pointer (finger or stylus).
CalendarPosition (Function)
Returns the month displayed in a Calendar control.
<Source>.Next (Function)
Sets the position on the next table record according to a browse item.
HSavePosition (Function)
Stores the current file context (current record, filter, pointers).
Changing the characteristics of window controls
The characteristics of the controls can be viewed and/or changed in...
TableSelectToFile (Function)
Positions on the table record corresponding to a row selected in the multi-selection data-bound Table control.
LineToPosition (Function)
Returns the position of the first character of a line in a block of text.
HSetPosition (Function)
Sets the position on a record, based on the approximate position of one of its items.
MapGetPosition (Function)
Returns the geographical position of the point located in the center of the map currently displayed in a Map control.
HNext (Function)
Sets the position on the next table record according to a browse item.
<Source>.First (Function)
Sets the position on the first record of a table according to the specified browse item.
MouseYPos (Function)
Used in a mouse or stylus event (click code, hover code, left or right button pressed code, etc.), returns the vertical position (Y) of the mouse cursor in relation to the field or window in question.
Positioning marks in the code
The positioning marks are used to "tag" specific lines of code...
<Chart>.ComparativeSeriesPosition (Function)
Fixes the position (left or right) of a series in a comparative Histogram chart.
MDIActive (Function)
Identifies or displays an MDI child window in the foreground.
PanelPosition (Function)
Retrieves the position of a Dockable Panel control.
MapDisplayPosition (Function)
Centers the map displayed in a Map control on a geographical position or on a specific location.
<Source>.RestorePosition (Function)
Restores the previously saved context of a file (function HSavePosition): record in progress, filter, playback pointers.
HPrevious (Function)
Sets the position on the previous record of the table according to a browse item.
HGetCurrentPosition (Function)
Returns the approximate position of current record in the table.
<Source>.Last (Function)
Sets the position on the last record of a table according to a browse item.
<Source>.SetPosition (Function)
Sets the position on a record, based on the approximate position of one of its items.
<Map>.DisplayPosition (Function)
Centers the map displayed in a Map control on a geographical position or on a specific location.
<Source>.GetCurrentPosition (Function)
Returns the approximate position of current record in the table.
ScrollbarMaxPosition (Function)
Retrieves the maximum position of one of the horizontal or vertical scrollbars found in a control of a WINDEV application.
PositionOccurrence (Function)
Finds the Xth position of a string within another string.
MouseXPos (Function)
Used in a mouse or stylus event (click code, hover code, left or right button pressed code, etc.) returns the horizontal position (X) of the mouse cursor in relation to the field or window in question.
XMLSavePosition (Function)
Stores the current position in the XML document.
DocPositionTopPage (Function)
Returns the position of the first character in a given page in a Text Processing control.
PagePosition (Function)
Scrolls a page up to position a control in the visible section of the page (top) in the browser.
<Source>.Previous (Function)
Sets the position on the previous record of the table according to a browse item.
sfUserInfo (Type of variable)
The sfUserInfo type is used to get information about a user...
iPrintReport (Function)
Prints a report created with the report editor.
Dialog (Function)
Displays a message box and returns the value of the button clicked by the user.
Manipulating Dashboard controls programmatically
To programmatically manipulate Dashboard controls, WINDEV, WEBDEV and WINDEV Mobile include...
Report templates and inheritance
...When a report template is applied to a report, all the controls and code found in the template...
Creating the menus for the windows of the WINDEV RAD pattern
Adds or inserts a new worksheet into an Excel document....
Mobile-friendly website: available methods
WEBDEV includes several page creation methods that allow you to create mobile-friendly websites......
Control templates and inheritance
When a control template is applied to a page or to a window, all controls and code found...
Display (External language)
Displays a value in a control or assigns a value in a variable.
Creating a window skin template
Tile (Type of variable)
The Tile type is used to defined all the advanced characteristics of a tile for an application...
Handling the framesets
The different operations that can be performed on the framesets are as follows......
Control constants
List of constants used by the functions for managing controls...
The "Internal report" control
...The "Internal report" controls are used to print several reports (secondary reports) in a single...
Handling an element of a TreeView control programmatically
This help page explains how to handle the elements of a TreeView control either directly or via...
Choosing the action associated with a WEBDEV button
Whatever the type of button, it is possible to associate an action with it......
Handling a Looper control through programming
WINDEV, WINDEV Mobile and WEBDEV allow you to handle a Looper control by programming......
Diagram Editor (WINDEV): ribbon and panels
The Diagram Editor includes many features accessible via......
Camera control in a mobile application
The Camera control is used to......
Consuming a web service
WINDEV Tutorial: Consuming a web service Consuming a web service - 10 min