constants AllowEditEnum
The AllowEditEnum type specifies the type of editors that can be associated with the item. The AllowEdit property associates an editor to the current item. The EditCaption property specifies the value to show in the edit field. The EditWidth property specifies the size/width of the edit field inside the item. The EditBorder property specifies whether the edit shows a border around it. The EditOption property specifies different options to be used for a specified edit field. The control fires the EditChange event when the user changes the edit's caption. Use the ShowLocalPopup property to provide a drop down list. The ShowAsButton property specifies the whether the current item displays a button or a select button ( drop down ).

 Currently, the supported editors are:

 NameValueDescription 
   exItemDisableEdit0 No editor is assigned to the current item.  
   exItemEditText1 A text-box editor is assigned to the current item. The exItemEditText can be combined with the exItemEditReadOnly or exItemEditSpin flags.

 
   exItemEditMask2 A masked text-box editor is assigned to the current item. The EditMask property specifies the mask of the edit field. The EditValue property specifies the value of the edit field, without the masking characters. The EditOption(exEditMaskFloat) specifies whether the edit field mask a floating/decimal/integer point number. The exItemEditMask can be combined with the exItemEditReadOnly or exItemEditSpin flags.

 
   exItemEditSlider3 A slider editor is assigned to the current item. The exItemEditSlider can be combined with the exItemEditReadOnly, exItemEditVertical or exItemEditSpin flags. The EditValue property indicates the current slider position/value. 

If exItemEditSlider flag is combined with the exItemEditVertical  you can get:

 
   exItemEditProgress4 A progress editor is assigned to the current item. The exItemEditProgress can be combined with the exItemEditReadOnly, exItemEditVertical or exItemEditSpin flags. The EditValue property indicates the current progress position/value.

 

If exItemEditProgress flag is combined with the exItemEditVertical  you can get:

 
   exItemEditScrollBar5 A scrollbar editor is assigned to the current item. The exItemEditScrollBar can be combined with the exItemEditReadOnly, exItemEditVertical or exItemEditSpin flags. The EditValue property indicates the current scroll position/value.

If exItemEditScrollBar flag is combined with the exItemEditVertical  you can get:

 

 
   exItemEditColor6 A color editor is assigned to the current item. The exItemEditColor can be combined with the exItemEditReadOnly or exItemEditSpin flags. The EditValue property indicates the current color value.

 
   exItemEditFont7 A font editor is assigned to the current item. The exItemEditFont can be combined with the exItemEditReadOnly or exItemEditSpin flags. The EditCaption property indicates the current font name.

 
   exItemEditReadOnly256 Disables the current's item editor. This flag can be combined with any other option.  
   exItemEditSpin512 A spin editor is assigned to the current item. This flag can be combined with any other option. The following picture combines a exItemEditSlider with the exItemEditSpin

 
   exItemEditVertical1024 The editor is vertically oriented. You can combine this flag with exItemEditSlider, exItemEditProgress and exItemEditScrollBar  
 


Send comments on this topic.
1999-2015 Exontrol.COM, Software. All rights reserved.