VLPropertyList Reference

Read/Write PropertyEditorType

See Also See Also Applies To Applies To

Returns or sets EditorType of a property dislayed in VLPropertyList control.

 

Syntax

object.EditorType[=value]

 

The EditorType property syntax has these parts:

PartDescription
object An object expression that evaluates to CProperty.
Value An integer specifying the EditorType of the property displayed in VLPropertyList control, as described in Settings.

 

Settings

The settings for value are:

Constant Setting Description
ConstantvlCustomDialog 0 Editor will be a Custom Dialog. VLPropertyList control will trigger ShowEditorDialog event when user attempts to edit the value of this property
ConstantvlCustomEditor 1 When eEditorType is specified as vlCustomEditor, user must register his custom editor using RegisterEditor and identify the particular custom editor to be used through sEditorKey parameter.
ConstantvlTextEditor 2 (default) Editor will be a TextBox.
ConstantvlNumberEditor 3 Editor will be a TextBox which will accept only numbers.
ConstantvlBooleanEditor 4 Editor will be drop-down listbox with True and False items.
ConstantvlFontEditor 5 Editor will be a font selection dialog.
ConstantvlDateEditor 6 Editor will be a drop-down date picker.
ConstantvlFileEditor 7 Editor will be a file selection dialog.
ConstantvlDirectoryEditor 8 Editor will be a folder selection dialog.
ConstantvlListEditor 9 Editor will be a drop down listbox.
ConstantvlColorEditor 10 Editor will be drop-down color picker.
ConstantvlPictureEditor 11 Editor will be a picture file selection dialog box.