PictureBox

The PictureBox control is used to show bitmap images in the user interface. It supports events to send messages to a connected device when the picture box is clicked on. The visibility of the PictureBox can be controlled from the connected device.

Design-time properties for the PictureBox control
Property Description
Image The image to display in the control. Supports .bmp, .jpg, .png and .ico.
OnClickSend The message to send to the connected device when the picture is clicked.
OnDoubleClickSend The message to send to the connected device when the picture is double-clicked.
OnMouseDownSend The message to send to the connected device when the mouse is pressed on the picture.
OnMouseUpSend The message to send to the connected device when the mouse is released on the picture.
Run-time Properties for the PictureBox control
Name Access Type Description
Name Read only string The name of the control
Visible Read/write Bool Set/get control visibility

This control also supports all the common run-time properties.

Leave a Comment

Start typing and press Enter to search