Applies to
Drop Target controls
Description
Set to false during a DRAGOVER event to stop OpenInsight from performing data comparisons against the drop target untl the control is entered again.
Usage
dropAccept = Get_Property (dropTarget, "DROPACCEPT")
existingResults = Set_Property (dropTarget,"DROPACCEPT", bValue)
Remarks
Values passed in Set_Property():
Value | Description |
---|---|
Value | A boolean true or false. |
The result is reset to True at the start of every DRAGOVER event.
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
dropAccept | A boolean true or false |
existingState | the Boolean status of the control’s DROPACCEPT, when Set_Property was run. |
See Also
DROPSOURCE property, DROPCOPY property, DRAGMOVE property
Example
Declare function Get_Property, Set_Property * Only accept data being dragged from EDITLINE_1 dragSource = Get_Property("SYSTEM","DRAGSOURCE") if dragSource # @window:".EDITLINE_1" then x = Set_Property(ctrlentid,"DROPACCEPT",0) end