Page History
...
Value | Description |
---|---|
canDrop | The Boolean status of the control’s ability to accept a DROPFILES event. |
couldDrop | The Boolean status of the control’s ability to accept a DROPFILES event, when Set_Property was run. |
Example
Code Block |
---|
Declare function Get_Property, Set_Property /* retrieve the ACCEPTDROPFILES property of an editline control and if true set to false and vice versa. */ equ TRUE$ to 1 equ FALSE$ to 0 fileControl = @window : ".EDT_FILES" canDrop = Get_Property(fileControl, "ACCEPTDROPFILES") if canDrop then shouldDrop = false$ end else shouldDrop = true$ end couldDrop = Set_Property(fileControl, "ACCEPTDROPFILES", shouldDrop) |