ObjectDCL Banner

Picture Property

Description

Selecting the picture name from the picture collection will set the picture to be displayed in the control.

Type

This property is a picture.

Applies For

GraphicButton, PictureBox.

Invoking From Old API

Can be passed as "Picture" 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_GetPicture MyProject_MyForm_MyControl))

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

Setter Example

CopyCode imageCopy Code
; Set the picture to the control
(Odcl_Control_SetPicture MyProject_MyForm_MyControl 103)

(Odcl_Control_SetPicture "MyProject" "MyForm" "MyControl" 107)

See Also

PressedPicture