![]() | Name | Value | Description | ||
| Label | -1 | The property is read only ( has no editor assigned ) and it looks not grayed. | |||
| ReadOnly | 0 | The property is read only ( has no editor assigned ) and it looks grayed. Use the Locked property to lock a property from being changed by the user. | |||
| Edit | 1 | Uses a standard text box control to edit the property's value. Use the Numeric property to filter numbers of integer type. Use The NumericFloat property to filter for numbers of double type. | |||
| EditColor | 2 | Changing the property of color types. Provides a drop down portion that includes standard and system colors. Use the EditColorPage type to provide your own color editor. | |||
| EditFont | 3 | Changing the property of font types. Use the ModalPropertyChange event to notify your application that the user clicks the cell's button. The default implementation calls the common font select dialog. | |||
| EditFontName | 4 | Displays a list of fonts into your system. Provides a drop down list that includes the name of the fonts installed on your computer. | |||
| EditPicture | 5 | Displays the picture contained by the property. Provides a small rectangle where the picture is rendered. Use the ModalPropertyChange event to notify your application that the user clicks the cell's button. | |||
| EditPage | 6 | User can open a custom page. Use the ModalPropertyChange event to notify your application that the user clicks the cell's button. | |||
| EditBoolean | 7 | Displays a list with boolean values: True and False. | |||
| EditEnum | 8 | Presents a list of predefined values. The property accepts only one of the predefined values. | |||
| EditDate | 9 | Changing the properties of DATE type. Provides a drop down calendar control. | |||
| EditPassword | 10 | Password editor. Use the EditPassword type to mask input characters with '*' character, and to disable copy and paste inside the edit control. | |||
| EditDropDown | 11 | Presents a list of values. The property accepts also values that are not in the list. | |||
| EditObject | 12 | Specifies that the property is an object property, and the properties of the object are inserted. Use the EditObject to insert multiple COM objects to the same browser. | |||
| EditColorPage | 13 | Displays cells of color type and add a button to let user changes the color using custom color dialog. Use the ModalPropertyChange event to notify your application that the user clicks the cell's button. | |||
| EditCheck | 14 | Adds a check box entry for properties of boolean type. | |||
| EditButton | 15 | Adds a button and a text box to a cell. Use the ModalPropertyChange event to notify your application that the user clicks the cell's button. | |||
| EditSlider | 16 | Adds a slider control to the property. The SliderWidth property specify the width of the slider in the property. The SliderMin and SliderMax properties indicate the range of the values used by the slider. The SliderStep property determines the proposed change when user moves the slider. | |||
| EditFile | 17 | Adds a button to select a file using the common open file dialog. | |||
| EditFolder | 18 | Adds a button to select a folder. | |||
| EditProperty | 19 |
Edits a property of an object. The property can have multiple parameters
of any type. The ShowMultipleParams
property should be on True, if the property contains multiple parameters. The
property may include several child items, if one or more parameters of the
property are of a predefine type such as Boolean or enumeration, that lists all
possible combinations. For instance, the ItemBar
property (Items.ItemBar(Item as HITEM, Key as Variant, Property as
ItemBarPropertyEnum) as Variant) of the eXG2antt contains 3 parameters, the first two of Variant type,
and the last parameter of it, of Enumeration type. The PropertiesList.Add "ItemBar", Array(G2antt1.Items, i, k), EditProperty
adds a new property ItemBar to the browser and list all available options as
follows:
As you can see the exBarCanMove option is a value of ItemBarPropertyEnum as well as all child items of the ItemBar property. In other words, the EditProperty may add a single row for a property if the property has no parameters, or have no predefined parameters, or several rows, if the property returns another object, or have several parameters of a predefined type such as Boolean or Enumeration. The following VB sample lists the ItemBar property (Items.ItemBar(Item as HITEM, Key as Variant, Property as ItemBarPropertyEnum) as Variant) property, for the bar from the focused item: With PropertiesList1
.Add "ItemBar", Array(G2antt1.Items, G2antt1.Items.FocusItem, G2antt1.Items.FirstItemBar(G2antt1.Items.FocusItem)), EditProperty
End With
|