|
|
|
Returns or sets EditorType of a property dislayed in VLPropertyList control.
Syntax
object.EditorType[=value]
The EditorType property syntax has these parts:
|
Part | Description |
| 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 |
vlCustomDialog |
0 |
Editor will be a Custom Dialog. VLPropertyList
control will trigger ShowEditorDialog event
when user attempts to edit the value of this property |
vlCustomEditor |
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. |
vlTextEditor |
2 |
(default) Editor will be a TextBox. |
vlNumberEditor |
3 |
Editor will be a TextBox which will accept only numbers. |
vlBooleanEditor |
4 |
Editor will be drop-down listbox with True and False items. |
vlFontEditor |
5 |
Editor will be a font selection dialog. |
vlDateEditor |
6 |
Editor will be a drop-down date picker. |
vlFileEditor |
7 |
Editor will be a file selection dialog. |
vlDirectoryEditor |
8 |
Editor will be a folder selection dialog. |
vlListEditor |
9 |
Editor will be a drop down listbox. |
vlColorEditor |
10 |
Editor will be drop-down color picker. |
vlPictureEditor |
11 |
Editor will be a picture file selection dialog box. |
|