Show pageOld revisionsBacklinksBack to top This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. ====== SELPOS property ====== ==== Applies To ==== Combo box, edit table, list box. ==== Description ==== Returns or sets the position (starting with 1) of the selected position in an edit table or list box. ==== Usage ==== //selecteditem// //=// **Get_Property**(//objectname//, "**SELPOS**") //oldselection// = **Set_Property**(//objectname//, "**SELPOS**", //newselecteditem//) ==== Remarks ==== Values passed in Set_Property are: ^Value^Description^ |//selecteditem//|Edit table: Column:@FM:Row.| | |Combo and list boxes: ordinal position of row(s).| Use -1 to indicate the last item in the list. Get_Property returns //column//:@FM://row// for active cell in an edit table, or selected item(s) for combo and list boxes. A multiple-selection list box returns an @FM-delimited list. Set_Property sets the active cell for an edit table, or selects the row(s) for combo and list boxes. For a multiple-selection list box, the current selection list is toggled with the list that is passed. Note: If an edit table is protected the column position returned will be 1. Use [[notifypos|NOTIFYPOS]] to determine which cell was selected. ==== See Also ==== [[accesspos|ACCESSPOS property]], [[caretpos|CARETPOS property]], [[cellpos|CELLPOS property]], [[clickpos|CLICKPOS property]], [[notifypos|NOTIFYPOS property]], [[toppos|TOPPOS property]] guides/programming/programmers_reference_manual/selpos.txt Last modified: 2024/06/19 20:20by 127.0.0.1