
Defines if the user is allowed to drag and drop onto this control.
This property is a boolean. Set to T to allow or Nil to disallow.
BlockView, DwgPreview, GraphicButton, Grid (Hatch), Label, ListBox, ListView, PictureBox, SlideView, TextBox, TextButton, TreeControl.
Can be passed as "DragnDropAllowDrop" to Control_SetProperty and Control_GetProperty's string property name where applicable.
Copy Code |
|---|
; Get the property from the control (setq Value (Odcl_Control_GetDragnDropAllowDrop MyProject_MyForm_MyControl)) (setq Value (Odcl_Control_GetDragnDropAllowDrop "MyProject" "MyForm" "MyControl")) |
Copy Code |
|---|
; Set the property to the control (Odcl_Control_SetDragnDropAllowDrop MyProject_MyForm_MyControl T) (Odcl_Control_SetDragnDropAllowDrop "MyProject" "MyForm" "MyControl" Nil) |