ObjectDCL Banner

DragnDropAllowBegin Property

Description

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

Type

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

Applies For

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

Invoking From Old API

Can be passed as "DragnDropAllowBegin" 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_GetDragnDropAllowBegin MyProject_MyForm_MyControl))

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

Setter Example

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

(Odcl_Control_SetDragnDropAllowBegin "MyProject" "MyForm" "MyControl" Nil)

See Also

DragnDropAllowDrop