QG_GetDropSignatures

QG_GetDropSignatures(areaRef; dropSignatures):errorCode
areaRef Longint QGrid area reference
dropSignatures Array string Drop signatures
error Longint Error result

Returns the signatures that are allowed to be dropped on a grid area.

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

Array parameter dropSignatures receives the string signatures that are accepted for dropping on the grid area. Drop signatures are strings up to 31 characters in length.

When dropping on the grid area has not been enabled, parameter dropSignatures is set to an empty array.

Example

` test whether dropping on grid area xQGrid is enabled
 
ARRAY STRING(31;$dropTypes;0)
C_BOOLEAN($droppingIsEnabled)
 
$droppingIsEnabled:=False
 
$err:=QG_GetDropSignatures (xQGrid;$dropTypes)
If ($err # qg_noErr)
  ` Handle the error
Else
  $droppingIsEnabled:=(Size of array($dropTypes) # 0)
End if

Related commands

QG_SetDropSignatures Configures a grid area to allow dropping
QG_GetDragSignatures Returns the signatures that are allowed to be dragged from a grid area

QGrid © Escape
Generated by QDoc 2.8 on Thu, Oct 8, 2009 17:36:10