4D v13PV SET DRAG SIGNATURES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D View v13
PV SET DRAG SIGNATURES
PV SET DRAG SIGNATURES
The PV SET DRAG SIGNATURES command sets the content of the signatures array as "drag" signatures for area. Signatures are alphanumeric strings with free content. The maximum length for a signature is 32 characters. These are are properties, defined using the PV SET AREA PROPERTY, which allows revealing 4D View area drag and drop-related options:
Once drag and drop is authorized, it can interact with two areas (which can be the same) on the condition that the areas contain at least one common signature to drag for the source area and to drop for the target area. As for the drag and drop event, it will be intercepted by the PV ON EVENT command. The example below illustrates a drag and drop between two 4D View areas. Start by setting the signatures and behavior of areas, for example, upon changing a form: ARRAY TEXT($DDSignatureArray;1) The project method DragDropMethod will be called when a drag is executed with alt-click or when there a drop occurs on a target area: C_LONGINT($1) `4D View reference area |
PROPERTIES
Product: 4D
INDEX HISTORY
Created: 4D View 6.8 SEE ALSO
PV GET DRAG SIGNATURES |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||