The Picture Linker (Picture Box) control is linked to a database attribute. It shows record-related pictures (*.gif, *.bmp, and so on). In the form, the user can use a list box to select a picture. When the picture is selected, the directory or path names of the pictures are saved in the database.
Property | Description |
---|---|
System Category | |
ClassName | PictureBox |
Name | Specifies the name. For example, PICTURE. |
Base | |
AllowReference | If True, the value can be entered by using a reference record. |
IsLocked | If True, the value cannot be edited. |
IsMandatory | If True, the value must always be acquired. In edit mode, these attributes are highlighted by a red background color. |
ValidationCode | Defines a validation code for each input field. During validation, values from other attributes can also be queried. |
ValidationMessage | Defines a message to display if validation fails. |
Specific Category | |
HideText | Specifies whether the list box text is hidden. Set to True to hide the list box with the file name and show the picture only. This property only works in View mode. Default = False. |
StretchImage | Specifies how the image is displayed. If True, the picture is stretched to the size of the control.
If False, the picture is shown in its original size. |