Print Page | Close Window

Execute the Split click on a xtpControlSplitButton

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=6866
Printed Date: 19 June 2025 at 5:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Execute the Split click on a xtpControlSplitButton
Posted By: John31
Subject: Execute the Split click on a xtpControlSplitButton
Date Posted: 13 April 2007 at 5:31pm
Is it possible, in code, to execute the split portion of a xtpControlSplitButtonPopup button?
 
I know the Control.Execute will invoke the "Click" of a control.  Can you do something similar to invoke the action as if the user had clicked on the split portion of the button?
 
Thanks


-------------
Regards

John Layton



Replies:
Posted By: Oleg
Date Posted: 14 April 2007 at 1:35am
Hi,
 
try this hack
 
CommandBars(2).Controls(1).SetFocus
SendKeys "{DOWN}"


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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