The following example retrieves the visual position of the item that is currently selected in the House Type drop-down list.
local integer visual_pos; visual_pos = Field_GetVisualPosFromInsetPos('House Type', 'House Type');