QG_GetDragOptions(areaRef; dragOptions; caretWidth; caretColor; caretTime):errorCode
areaRef Longint QGrid area reference
dragOptions Longint Drag and drop option flags
caretWidth Longint Drop caret width
caretColor Longint Drop caret color
caretTime Longint Drop caret blinking interval
error Longint Error result

Get the drag+drop feedback options for a QGrid area

Parameter areaRef is the QGrid area reference. If areaRef is not a valid QGrid area reference, qg_paramErr error is returned.

Parameter dragOptions receives the user drag'n'drop options. To see how this value is calculated see the QG_SetDragOptions method.

Parameter caretWidth receives the insertion caret width in pixels.

Parameter caretColor receives the insertion caret color expressed in 4D's RGB color notation (0x00RRGGBB - see OBJECT SET RGB COLORS in 4D's documentation).

Parameter caretTime receives the caret blinking interval expressed in ticks (60 ticks = 1 sec).


   // Change the drag caret to non-decorated, non-blinking


$err:=QG_GetDragOptions (xGrid;$options;$caretThickness;$caretColor;$caretTime)

$err:=QG_SetDragOptions (xGrid;0;$caretThickness;$caretColor;0)

Related commands

QG_SetDragOptions Configure drag+drop feedback options for a QGrid area