Excalibur Software PropertyList 3.0
ItemType
Property ItemType As ItemTypes
Description
Returns/sets the type of editing tools that will be available
to the user when editing this item's value.
Valid values for this property are:
- ExPropStringValue - The property's value can
be any string. The editing field is a textbox.
- ExPropNumericValue - The property's value is
a number. Allowed characters are numbers, points (.),
and dashes (-). The editing field includes a textbox.
If this item's SpinIncrement
property is greater than 0, there will also be a
spin button tool next to the textbox.
- ExPropBoolValue - The property's value is a True/False
value. The editing tool is a dropdown combobox that
contains two items to choose from: True and False.
See Also: TextFalse/TextTrue
properties.
- ExPropBrowseButton - The property's value is a string
that is determined by clicking on the Browse button. The
editing tools are a textbox and a button with ellipses (...).
The Browse event will be raised
when the user double-clicks on the item or clicks on
the Browse button.
- ExPropOleColor - The property's value is a color. This
can be a normal palette color or a system color constant.
The editing tool is a dropdown color picker which will display
the colors available to the user, as well as allowing customization
of the palette colors.
See Also: PreDropWindow Event
- ExPropCustomList - The property's value is a programmer-defined
set of available strings. The editing tool is a dropdown
combobox displaying the strings that the programmer has
specified in response to the NeedData
event or the elements of the
ListItems Variant array. This is similar to an enumeration in the Visual
Basic Properties window.
- ExPropOwnerDraw - The property's value is programmer-defined.
The PropertyList does not draw any part of this item, text
or otherwise. It raises the DrawItem
event to notify the programmer that the item should be drawn.
The editing tool for this item type can be programmer-defined,
or can use the PropertyList's textbox as a tool.
See Also: ShowEditControl Event
HideEditControl Event
- ExPropPropertyHeader - This property has no value
or editing tool. This item type should be used to separate
items into related groups, or "categories". All items after
a header item and leading up to (but not including) the next
header item will be considered by the PropertyList as being
in the same category.
See Also: ExpandableHeaders Property
- ExPropDatePicker - The property's value is date specifying
month, day, and year. The editing tool is a dropdown date
picker that allows the user to change the month, day, and year.
Note: This item type uses the ComCtl32.dll MonthCal
control, which requires ComCtl32.dll version 4.70 (Internet
Explorer 3.0) or later, or Windows 98/2000 or later.
- ExPropFileDlg - The property's value is a string specifying
a path and filename. The editing tools are a textbox and a
Browse (...) button that brings up a File Open common dialog.
- ExPropFontDlg - The property's value is a string stored
in a special format to preserve font information. The editing
tools are a textbox that displays the font name and a
Browse (...) button that brings up a Choose Font dialog.
About the ExPropFontDlg Format
The Value property of an ExPropFontDlg item is laid
out thusly: Each attribute of the specified font is separated
within the string by a null (Chr$(0)) character. The
attributes are specified in the following order: Name,
Size, Bold, Italic, Strikethough, and Underline. You can
retrieve an actual Font object from the item's value by
using the ValueFont property.
- ExPropMemoField - The property's value can
be any string. The editing field is a dropdown textbox
window in which multiple lines of text can be entered.
The string "(Text)" (without quotes) is displayed in this
item type's second column unless otherwise specified in
response to the QueryCustomData event.
- ExPropFolderDlg - The property's value is a string specifying
only a path. The editing tools are a textbox and a Browse (...) button
that brings up the Browse For Folder common dialog.
- ExPropHTMLColor - The property's value is a color. This
can only be a normal palette color. The value is displayed as an HTML
color (hex number in the order of RGB) rather than the Visual Basic
hex color format (BGR).
The editing tool is a dropdown color picker which will display
the colors available to the user, as well as allowing customization
of the palette colors.