Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To enable drag and drop within edittable columns the ColStyle Message needs to be used. See ColStyle message

Example

Code Block
Declare function Get_Property, Set_Property
 
/* retrieve the ENABLEDRAGROWS property of the TABLE_1 control and if true set to false and vice versa.
 
tblCtrl = @window:".TABLE_1"
 
enableDrag = Get_Property(tblCtrl,'ENABLEDRAGROWS')
if enableDrag then newDrag = 0 else newDrag = 1
enableDrag = Set_Property(tblCtrl,'ENABLEDRAGROWS',newDrag)