You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

OLE control properties are the primary means of interacting with OLE controls. Properties, much like OI control properties, describe the persistent attributes of the control, that is, attributes having some meaningful value for the entire life of the control. Like OI control properties, OLE control properties are manipulated using the Get_Property and Set_Property routines. The following properties apply to the SRP Tree Control:

PropertyDescriptionVersion IntroducedPro Version Introduced
AutoDropEnables automatic dropping of tree items.  
BackgroundThe control's background color(s).  
BorderThe controls's border style.  
BorderColorsCustomizes the colors of an SRP ActiveX Control's border.2.0.53.1.0
ButtonsEnabledEnables expansion buttons.  
CancelCancels a potential drag operation.  
CheckBehaviorCheck box automation settings.  
CheckBoxConditionsConditions in which an item will display a check box.  
ColorsThe control color scheme.  
CtrlEntIdThe control's fully qualified name.  
DefAlignmentDefault data alignment for new items.  
DefCheckBoxDefault check box setting for new items.  
DefColorsDefault color settings for new items.  
DefDraggableDefault draggable setting for new items.  
DefDroppableDefault droppable setting for new items.  
DefEnabledDefault enabled state for new items.  
DefExpandableDefault expandable setting for new items.  
DefExpandedDefault expanded state of new items.  
DefFontDefault font for new items.  
DefHeightDefault height for new items.  
DefHyperlinkThe default hyperlink setting for new items.  
DefSelectableDefault selectable setting for new items.  
DefSortDefault sort setting for new items.  
DefSwatchPositionDefault swatch position for new items.  
DefSwatchSizeDefault swatch size for new items.  
DefTypeDefault data type settings for new items.  
DefVisibleDefault visibility of new items.  
DragConditionCondition in which an item can be dragged.  
DragEnabledEnables drag and drop.  
DropBehaviorDrag and drop visual feedback settings.  
DropConditionCondition in which an item can be a drop target.  
DropSourcesAcceptable drag and drop sources  
EnterBehaviorEnter key automation settings.  
ExpandBehaviorExpansion automation settings.  
FocusThe control's focus state  
FocusItemThe tree item with focus  
FullRowSelectEnables selection of entire item width.  
GlyphImagesThe images used to render expansion buttons and check boxes.  
HtmlEnabledEnables HTML formatting.  
ImageConditionsConditions to determine which image an item will display.  
ImageEffectsConditions to determine which special effect to apply to an item's image.  
ImagesGlobal images to appear next to tree items.  
IndentThe offset of an item relative to its parent.  
ItemAn item's multivalue settings.  
ItemAlignmentAn item's data alignment.  
ItemCheckBoxAn item's check box setting.  
ItemCheckedAn item's check box value.  
ItemChildrenAn item's children.  
ItemClassAn item's application defined classification.  
ItemColorsAn item's color settings.  
ItemDataAn item's text.  
ItemDraggableEstablishes whether or not an item can be dragged.  
ItemDraggingDetermines if an item is being dragged.  
ItemDroppableEstablishes whether or not an item can be a drop target.  
ItemEnabledEnables or disables an item.  
ItemExpandableEstablishes whether or not the user can expand or collapse an item.  
ItemExpandedExpands or collapses an item.  
ItemFontAn item's font.  
ItemHeightAn item's height.  
ItemHotDetermines if the user is hovering over an item.  
ItemHyperlinkEstablishes whether or not an item behaves like a hyperlink.  
ItemImageAn item's image.  
ItemListThe list of all tree items in the control.  
ItemParentAn item's parent.  
ItemParentIsRootDetermines if the item is at the root level.  
ItemSelectableEstablishes whether or not the user can select an item.  
ItemSelectedDetermines if an item is selected.  
ItemSortAn item's sort setting.  
ItemSwatchColorAn item's sort setting.  
ItemSwatchPositionAn item's sort setting.  
ItemSwatchSizeAn item's sort setting.  
ItemTypeAn item's data type settings.  
ItemVisibleShows or hides an item.  
LinesEnabledEnables hierarchy lines.  
ProgIDThe control's ProgId/Class Name.  
PromptsMessages to instruct or inform the user.  
RedrawTemporarily disables redrawing of the control.  
RootChildrenThe root item's children.  
RootIndentEnables indenting of root level items.  
RootSortThe root item's sort setting.  
SelectBehaviorSelection settings.  
SelectedItemsThe currently selected tree items.  
ShowFocusItemEnables the focus rectangle.  
TooltipsEnabledEnables tooltips.  
TopItemThe item currently at the top of the control.  
VersionThe control's version info.  
WordWrapEnables word wrapping.  
  • No labels