ONLINE HELP WINDEV, WEBDEV AND WINDEV MOBILE
Version: 151617181920212223242526
Moving to a specific position Hide the details
New subscript of row that was moved.
Name of List Box or Combo Box control to use.
Position of row to move. This position must be included between 1 and the number of rows found in the List Box or Combo Box control (returned by <List Box>.Count or Occurrence for example).To move the row that is currently selected, use the rowSelected constant.
New row position. This position must be included between 1 and the number of rows found in the List Box or Combo Box control (returned by <List Box>.Count or Occurrence for example). A fatal error occurs if this parameter is not valid.To handle the row that is currently selected, use the rowSelected constant.
Change of position that will be performed for the row:amDisplayDestinationThe modified row is displayed in the List Box control (or Combo Box). An automatic scroll of the rows is performed if necessary to display the modified row. The selected row (selection bar) is not modified.This constant can be combined with the amMove and amSwap constants. This constant is not available.amMove(default value)The row is moved toward the subscript of destination row.amSwapThe source and destination rows are swapped.
Moving relatively to the current position Hide the details
New subscript of row that was moved,0 if an error occurs.
Name of List Box control to use.
Position of row to move. This position must be included between 1 and the number of rows in the List Box control (returned by <List Box>.Count or Occurrence for example).To handle the row that is currently selected, use the rowSelected constant.
Used to perform a move or a swap on a position relative to the subscript of row to move.amLastMoves the row to last position.amPreviousPageMoves the row one page to the top (a page corresponds to the number of rows that can be simultaneously displayed in the List Box control). This constant is not available.amNextPageMoves the row one page to the bottom (a page corresponds to the number of rows that can be simultaneously displayed in the List Box control). This constant is not available.amPreviousMoves the row one position upwardsamFirstMoves the row to first position.amNextMoves the row one position downwards.If this parameter is invalid (amPrevious used on the first row of List Box control for example), the row is moved "to the nearest" position.
Change of position that will be performed for the row:amDisplayDestinationThe modified row is displayed in the List Box control. An automatic scroll of the rows is performed if necessary to display the modified row. The selected row (selection bar) is not modified.This constant can be combined with the amMove and amSwap constants. This constant is not available.amMove(default value)The row is moved toward the subscript of destination row.amSwapThe source and destination rows are swapped.
Operating mode on a Combo Box control
Multiselection List Box control
Managing errors
Last update: 03/24/2021
Send a report | Local help
Searching...
I accept the terms of the license agreement
All you have to do is configure your product as follows: