Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3166
Setting ActiveItem does not work
posted
I am using UltraExplorerBar with ...
Style = Toolbox
ViewStyle = Office2007
ItemSettings.Style = Button
GroupSettings.HeaderVisible = False (don't want to see the group headers)

On the form load, I am trying to select the first item in the first group by setting Item.Active property. However the item does not get selected. Do I need to do any other property to achieve this behaviour?
  • 69832
    Offline posted

    I could not reproduce the behavior you described here using those property settings. One possibility is that the control does not have the input focus, in which case it would not display a focus rectangle, which is how the ActiveItem is depicted. I'm not sure how you made the determination that the item "does not get selected", but items actually do not support the selected state, so it is possible that you were expecting a different visual representation for the active state than a focus rectangle. If you could elaborate on exactly what behavior you are observing we can try to help.