Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Execute the Split click on a xtpControlSplitButton
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Execute the Split click on a xtpControlSplitButton

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

Joined: 08 December 2005
Location: United States
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote John31 Quote  Post ReplyReply Direct Link To This Post Topic: Execute the Split click on a xtpControlSplitButton
    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
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: 14 April 2007 at 1:35am
Hi,
 
try this hack
 
CommandBars(2).Controls(1).SetFocus
SendKeys "{DOWN}"
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.063 seconds.