PictureSelectionDisplay Property

Specifies how an image appears in the text box portion of a ComboBox control.

NoteNote

You can specify an image by setting the Picture property of the control to an image file name.

Combobox.PictureSelectionDisplay = nExpr

Parameters

nExpr

Numeric data type. The following table lists the values of nExpr.

nExpr Description

0 (None)

Does not display the image in the text box of the combo box. (Default)

1 (Clip)

The image is clipped to the same height of the text box of a combo box. The width of the image remains the same.

2 (Isometric)

The image resizes to fit the height of the text box of a combo box while maintaining its original proportions.

3 (Stretch)

The image resizes to fit the height of the text box of a combo box but does not maintain its original proportions. The width of the image remains the same.

Expand imageRemarks

Expand imageSee Also


© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic