Print Page | Close Window

drop down button

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=13130
Printed Date: 05 October 2024 at 7:19pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: drop down button
Posted By: shokoohkanani0
Subject: drop down button
Date 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 :)





Replies:
Posted By: Oleg
Date 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


Posted By: shokoohkanani0
Date 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 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net