ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

<Multimedia>.Position (Function)
Returns or modifies the current position of the media file currently played in the Multimedia 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)...
Position
The Position keyword can correspond to ...
<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.
<Calendar>.Position (Function)
Returns the month displayed in a Calendar control.
<Panel>.Position (Function)
Retrieves the position of a Dockable Panel control.
<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).
<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.
<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.
Position (Function)
Finds the position of a specified string within another string.
<Toolbar>.Position (Function)
Indicates the display mode of a Toolbar 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.
<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.
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.
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.
LineToPosition (Function)
Returns the position of the first character of a line in a block of text.
<Source>.GetCurrentPosition (Function)
Returns the approximate position of current record in the data file.
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.
<Source>.Previous (Function)
Sets the position on the previous record of the data file according to a browse item.
HRestorePosition (Function)
Restores the previously saved context of a file (function HSavePosition): record in progress, filter, playback pointers.
<Map>.DisplayPosition (Function)
Centers the map displayed in a Map control on a geographical position or on a specific location.
XMLSavePosition (Function)
Stores the current position in the XML document.
<Table>.SelectToFile (Function)
Positions on the data file record corresponding to a row selected in the multi-selection data-bound Table control.
<Source>.SetPosition (Function)
Sets the position on a record, based on the approximate position of one of its items.
HSavePosition (Function)
Stores the current file context (current record, filter, pointers).
<Map>.GetPosition (Function)
Returns the geographical position of the point located in the center of the map currently displayed in a Map control.
HLast (Function)
Sets the position on the last record of a data file according to a browse item.
XMLRestorePosition (Function)
Restores the previously saved context of an XML document.
<Source>.RestorePosition (Function)
Restores the previously saved context of a file (function HSavePosition): record in progress, filter, playback pointers.
TableSelectToFile (Function)
Positions on the data file record corresponding to a row selected in the multi-selection data-bound Table control.
HFreePosition (Function)
Deletes a position saved by HSavePosition.
PanelPosition (Function)
Retrieves the position of a Dockable Panel control.
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>.Next (Function)
Sets the position on the next data file record according to a browse item.
iXPos (Function)
Used to manage the horizontal position (X-coordinate) of print cursor in the page.
HPrevious (Function)
Sets the position on the previous record of the data file according to a browse item.
PositionToLine (Function)
Returns the number of the line that contains a character identified by its position in a block of text.
PagePosition (Function)
Scrolls a page up to position a control in the visible section of the page (top) in the browser.
ScrollbarMaxPosition (Function)
Retrieves the maximum position of one of the horizontal or vertical scrollbars found in a control of a WINDEV application.
<Source>.SavePosition (Function)
Stores the current context of a data file: current record, filter, read pointers.
GesturePosX (Function)
Returns the horizontal position of the pointer (finger or stylus).
<Source>.First (Function)
Sets the position on the first record of a data file according to the specified browse item.
DocPositionTopPage (Function)
Returns the position of the first character in a given page in a Text Processing control.
PositionOccurrence (Function)
Finds the Xth position of a string within another string.
CalendarPosition (Function)
Returns the month displayed in a Calendar control.
MapDisplayPosition (Function)
Centers the map displayed in a Map control on a geographical position or on a specific location.
HSetPosition (Function)
Sets the position on a record, based on the approximate position of one of its items.
Changing the characteristics of window controls
The characteristics of the controls can be viewed and/or changed in...
HNext (Function)
Sets the position on the next data file record according to a browse item.
grComparativeSeriesPosition (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.
HGetCurrentPosition (Function)
Returns the approximate position of current record in the data file.
HFirst (Function)
Sets the position on the first record of a data file according to the specified browse item.
MapGetPosition (Function)
Returns the geographical position of the point located in the center of the map currently displayed in a Map control.
iYPos (Function)
Used to manage the vertical position (Y-coordinate) of print cursor in the page.
<Source>.Last (Function)
Sets the position on the last record of a data file according to a browse item.
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)...
Variables for managing the Drag and Drop
TitleImage (Property)
The TitleImage property is used to get and/or change the image displayed next to the title...
RulerModifiable (Property)
The RulerModifiable property is used to: Find out whether the user can move the playhead...
XMLDelete (Function)
Deletes the current element (as well as the entire branch) from an XML document.
Control style: Font characteristics
You can change many style options in the "Style" tab of the control description window......
Managing iconic fonts
Include special characters in your captions via the iconic fonts....
The Spin control
A Spin control is used to increase or reduce a value found in a control......
Handling controls in a report
The different operations available for the report controls are as follows......
<Popup>.Display (Function)
Displays a popup in a page with a DDW effect (Dim Disabled Windows).
<Page>.DisplayPopup (Function)
Displays a WEBDEV page as a popup in the current page with a DDW (Dim Disabled Windows) effect.
ProjectInfo (Function)
Returns specific information about the project currently run.
Manipulating controls in a page
The different operations that can be performed on the page controls are as follows......
fWriteLine (Function)
Writes a line into a text file (ANSI or UNICODE).
RulerVisible (Property)
The RulerVisible property is used to: Determine if a playhead is visible in a TimeLine control....
Bearing (Property)
The Bearing property gets or sets the bearing of the map displayed in a Map control.
HActivateFilter (Function)
Enables the filter that was previously created for the specified data file (view or query).
XMLChild (Function)
Positions on the first child element of current element.
Events associated with the Map control
WINDEV, WINDEV Mobile and WEBDEV manage the following events by default (order of appearance...
WLanguage procedure called by geoGetAddress
WLanguage procedure ("callback") called by geoGetAddress.
ListInsert (Function)
Inserts an element into a List Box, ListView or Combo Box control populated programmatically.
MapDisplayPosition (Example)
Usage example of the MapDisplayPosition function
Range Area chart
The Range Area chart is used to show a variation between a high and a low value......
ListMoveLine (Function)
Moves a row or swaps two rows in a List Box or Combo Box control.
EndPosition (Property)
Use in the docFragment class - Read + Write access - Type: Integer32
Interface checker
The advanced interface checker is a tool used to harmonize the positioning of controls...