Form Designer: Picture Combobox - Properties

This control is linked to a database attribute. You use the Picture ComboBox control to display picture files, which are stored in one directory, in a combo box.

Property

Description

System Category

 

ClassName

PictureComboBox

Name

Specifies the attribute name.

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

 

ItemHeight

Specifies the size (height) of picture in the list.

ItemWidth

Specifies the size (width) of picture in the list.

PictureDirectory

Specifies the directory containing the picture files you want to provide in the list box.

ValueDefault

Specifies a default value to insert when you add a new record. You can also use this for the AutoIncrement value or date/time, and to create GUIDs.

Note: Although the picture files can be stored in any folder, it is recommended that you store them in the <autocadmap3d>\Pics folder or a subfolder. Then, they are available with the dynamic path <autocadmap3d>\Pics and you need to enter the subfolder/filename only. If you use picture files with a static path, they are not available on a different computer unless the path is exactly the same. Alternatively, you can use //Servername to store the picture files on a server.
Note: To show the pictures in the Web version, if you do not use the <autocadmap3d>\Pics folder, you must map the folder names in the system table TB_GN_DIRECTORY_ALIAS.