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 ...
<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.
<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.
<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.
<Calendar>.Position (Function)
Returns the month displayed in a Calendar control.
<Multimedia>.Position (Function)
Returns or modifies the current position of the media file currently played in the Multimedia 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.
<Toolbar>.Position (Function)
Indicates the display mode of a Toolbar control.
<Panel>.Position (Function)
Retrieves the position of a Dockable Panel control.
Position (Function)
Finds the position of a specified string within another string.
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.
HFreePosition (Function)
Deletes a position saved by HSavePosition.
HFirst (Function)
Sets the position on the first record of a table according to the specified browse item.
<Table>.SelectToFile (Function)
Positions on the table record corresponding to a row selected in the multi-selection data-bound Table control.
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)...
grComparativeSeriesPosition (Function)
Fixes the position (left or right) of a series in a comparative Histogram chart.
<Source>.SavePosition (Function)
Stores the current context of a table: current record, filter, read pointers.
PositionToLine (Function)
Returns the number of the line that contains a character identified by its position in a block of text.
HRestorePosition (Function)
Restores the previously saved context of a file (function HSavePosition): record in progress, filter, playback pointers.
HSetPosition (Function)
Sets the position on a record, based on the approximate position of one of its items.
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.
<Source>.Next (Function)
Sets the position on the next table record according to a browse item.
iYPos (Function)
Used to manage the vertical position (Y-coordinate) of print cursor in the page.
GesturePosX (Function)
Returns the horizontal position of the pointer (finger or stylus).
CalendarPosition (Function)
Returns the month displayed in a Calendar control.
HLast (Function)
Sets the position on the last record of a table 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...
iXPos (Function)
Used to manage the horizontal position (X-coordinate) of print cursor in the page.
LineToPosition (Function)
Returns the position of the first character of a line in a block of text.
TableSelectToFile (Function)
Positions on the table record corresponding to a row selected in the multi-selection data-bound Table control.
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.
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...
XMLSavePosition (Function)
Stores the current position in the XML document.
<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.
<Source>.First (Function)
Sets the position on the first record of a table according to the specified browse item.
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.
iVPos (Function)
iVPos is kept for backward compatibility.
iHPos (Function)
iHPos is kept for backward compatibility.
Diagram constants
The following constants are used to manipulate diagrams:...
MapImage (Type of variable)
The MapImage type is used to define the characteristics of an image to be drawn on the map...
CellDisplayDialog (Function)
Displays a Cell control in a page with a DDW effect (Dim Disabled Windows). This function is used...
Constants used for managing the multi-touch
Constants for managing the multi-touch...
pvtPosition (Type of variable)
The pvtPosition type is used to handle a cell of a Pivot Table control.
MapDisplayArea (Function)
Moves the map displayed in the Map control so that the specified geographic area can be seen...
Optional events: Information retrieved (Java and Android)
WINDEV and WINDEV Mobile allow you to add optional events to the ones proposed by default...
pdfTextElement (Type of variable)
The pdfTextElement type is used to find out all the characteristics of a text element in a PDF...
iAddBookmark (Function)
Adds a bookmark in the report viewer or when exporting to PDF.
Constants for managing images in websites
fRead (Function)
Reads: a block of bytes (characters) in an external file (ANSI or Unicode), the content...
diagHead (Variable type)
The diagHead type is used to define all the advanced characteristics of an end of a connector...
XMLFind (Function)
Performs a search in an XML document.
fSeek (Example)
Usage example of the fSeek function
<Looper>.MoveLine (Function)
Moves a row or swaps two rows in a Looper control.