Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - combo and closesubmenuonclick
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

combo and closesubmenuonclick

 Post Reply Post Reply
Author
Message
Fossil View Drop Down
Groupie
Groupie
Avatar

Joined: 29 April 2006
Status: Offline
Points: 46
Post Options Post Options   Thanks (0) Thanks(0)   Quote Fossil Quote  Post ReplyReply Direct Link To This Post Topic: combo and closesubmenuonclick
    Posted: 13 December 2008 at 10:20am
Hi,
Got a popup with commandbarcombo on it.  When I select an option in the combo the popup disappears so I set the CloseSubMenuOnClick=False.  Now when I select an option in the dropdown the dropdownlist stills stays visible, of course the popup doesnt disappear.  I am looking for a way to handle closing the dropdown list just like a normal combo box and for the popup to stay visible.

Thanks
v12.1.1 Windows XP
Product: Xtreme SuitePro (ActiveX) version 12.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 15 December 2008 at 1:34am
Hi,
 
As workaround remove selection from Combo:
 
Private Sub CommandBars_Execute(ByVal Control As XtremeCommandBars.ICommandBarControl)
    Select Case Control.Id
        Case ID_FILE_NEW:
        If (Control.Type = xtpControlComboBox) Then
            Set Control.Parent.SelectedControl = Control.Parent.Controls(1)
            Set Control.Parent.SelectedControl = Control
       
       
        End If
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.