Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - drop down button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

drop down button

 Post Reply Post Reply
Author
Message
shokoohkanani0 View Drop Down
Newbie
Newbie


Joined: 09 January 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote shokoohkanani0 Quote  Post ReplyReply Direct Link To This Post Topic: drop down button
    Posted: 09 January 2009 at 9:07am
Hi,
I want to have a drop down button with 2 sub buttons as seen in the picture.
But using your controls, to do this I have to:

1. Set the style property of button to 1 - xtpButtonDropDown.
2. Create an invisible menu.
3. Use this event:

Private Sub ImportButton_DropDown()
    Me.PopupMenu ImportPopupMenu, , ImportButton.Left, ImportButton.Top + ImportButton.Height
End Sub

The problem is that because I used standard menu editor for sub items, they don't have Office 2007 style!
So how can I have 2 sub item buttons with Office 2007 style also?

Thanks :)


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: 09 January 2009 at 11:25am
Hi,
You can use our CommandBars to popup menus. Check samples in CommandBars folder.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
shokoohkanani0 View Drop Down
Newbie
Newbie


Joined: 09 January 2009
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote shokoohkanani0 Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2009 at 6:04pm
Can you please give me a sample here as this would be a small piece of code? I am new to your controls 
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.172 seconds.