guides:programming:programmers_reference_manual:enableddropscroll

ENABLEDROPSCROLL Property

All Controls except OLE controls.

A boolean property to allow the control to respond to mouse hover notifications while data is dragged over the control. The control needs to have the ENABLEDROP property set to true to enable this property.

enableDropScroll = Get_Property(objectname,"ENABLEDROPSCROLL")

enableDropScroll = Set_Property(objectname,"ENABLEDROPSCROLL", 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 drop hover ability.
existingStatethe Boolean status of the control’s drop hover ability, when Set_Property was run.
Declare function Get_Property, Set_Property

 

* retrieve the ENABLEDROPSCROLL property of the EDITLINE_1 control and if true set to false and vice versa.

 

dropScroll = Get_Property(@window:'.EDITLINE_1','ENABLEDROPSCROLL')

 

if dropScroll then newScroll = 0 else newScroll = 1

 

dropScroll = Set_Property(@window:'.EDITLINE_1','ENABLEDROPSCROLL',newScroll)
  • guides/programming/programmers_reference_manual/enableddropscroll.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1