Print Page | Close Window

One Question to the Shortcutbar Control

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Suite Pro
Forum Description: Topics Related to Codejock Suite Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=1959
Printed Date: 04 May 2024 at 5:48pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: One Question to the Shortcutbar Control
Posted By: finn
Subject: One Question to the Shortcutbar Control
Date Posted: 13 March 2005 at 5:33am

Hello!

I've got one question to the Shortcutbar control of the Xtreme Suite 9.51!

I want, that one button (with the ID "Shortcutbar_browser") will be clicked automaticially, if the user clicked on the CommandButton with the name "cmdChangeSelection".

I'm working with Visual Basic 6.0 Enterprise!

Yours,

Finn!




Replies:
Posted By: ianp
Date Posted: 14 March 2005 at 6:14am

In 9.6 you can use the following;

scBar.Selected = scBar.Item(0)    ' Select the item by the Index Number

Or

scBar.Selected = scBar.FindItem(23)  ' Select the item by the ID number

Sorry i can't remember what was available in 9.51 but I think the first option is!



Posted By: finn
Date Posted: 14 March 2005 at 8:19am
Thank you!



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