4D View v16PV GET DRAG SIGNATURES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v16
PV GET DRAG SIGNATURES
|
PV GET DRAG SIGNATURES ( area ; signatures ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D View area | |||||
signatures | String array |
![]() |
Signatures array | |||||
The PV GET DRAG SIGNATURES command gets the area's drag signatures in the signatures array.
Signatures are alphanumeric strings whose content is free. The maximum length for a signature is 32 characters.
Display a help message in cases where the area can be the object of an internal drag and drop.
ARRAY TEXT($DragSignatureArray;0)
ARRAY TEXT($DropSignatureArray;0)
C_TEXT(HelpMessage)
C_LONGINT($Index)
PV GET DRAG SIGNATURES(Area;$DragSignatureArray)
PV GET DROP SIGNATURES(Area;$DropSignatureArray)
HelpMessage:=""
For($Index;1;Size of array($DragSignatureArray)) //Look for a common signature
If(Find in array($DropSignatureArray;$DragSignatureArray{$Index})#-1)
HelpMessage:="You can drag and drop inside this area."
$Index:=Size of array($DragSignatureArray)
End if
End for
Product: 4D View
Theme: PV Drag and drop
Number:
15836
Created: 4D View 6.8
4D View Language ( 4D View v16)