ObjectDCL Banner

DragnDropAllowDrop Property

Description

Defines if the user is allowed to drag and drop onto this control.

Type

This property is a boolean. Set to T to allow or Nil to disallow.

Applies For

BlockView, DwgPreview, GraphicButton, Grid (Hatch), Label, ListBox, ListView, PictureBox, SlideView, TextBox, TextButton, TreeControl.

Invoking From Old API

Can be passed as "DragnDropAllowDrop" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetDragnDropAllowDrop MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetDragnDropAllowDrop "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetDragnDropAllowDrop MyProject_MyForm_MyControl T)

(Odcl_Control_SetDragnDropAllowDrop "MyProject" "MyForm" "MyControl" Nil)

See Also

DragnDropAllowBegin