ObjectDCL Banner

AutoSize Property

Description

Determines if the control is resized to match the picture size.

Type

This property is a boolean. Set to T to resize or Nil to keep the design-time size.

Applies For

PictureBox.

Invoking From Old API

Can be passed as "AutoSize" 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_GetAutoSize MyProject_MyForm_MyControl))

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

Setter Example

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

(Odcl_Control_SetAutoSize "MyProject" "MyForm" "MyControl" Nil)