guides:programming:programmers_reference_manual:enabledraglist

ENABLEDRAGLIST Property

Combobox controls

A boolean property to allow combobox lists to be dragged from that control.

enableDrag = Get_Property(objectname,"ENABLEDRAGLIST")

enableDrag = Set_Property(objectname,"ENABLEDRAGLIST", bValue)

Values passed in Set_Property():

ValueDescription
bValueBoolean true (1) or false (0)

Values returned by Get_Property and Set_Property

ValueDescription
statethe Boolean status of the control’s drag ability.
existingStatethe Boolean status of the control’s drag ability, when Set_Property was run.
Declare function Get_Property, Set_Property

 

* retrieve the ENABLEDRAGLIST property of the COMBO_1 control and if true set to false and vice versa.

 

cmbCtrl = @window:".COMBO_1"

 

enableDrag = Get_Property(cmbCtrl,'ENABLEDRAGROWS')

if enableDrag then newDrag = 0 else newDrag = 1

enableDrag = Set_Property(cmbCtrl,'ENABLEDRAGROWS',newDrag)
  • guides/programming/programmers_reference_manual/enabledraglist.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1