Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Shortcutbar: Use a commandbars icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Shortcutbar: Use a commandbars icons

 Post Reply Post Reply
Author
Message
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post Topic: Shortcutbar: Use a commandbars icons
    Posted: 23 February 2005 at 11:41am

I have a form with a commandbars control loaded from an xcb file which adds 30+ icons to the commandbars icons collection.

I would like to use these icons for the shortcut bar - is it possible? If so can you point me in the right direction?

Thanks

Ian

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2005 at 11:45am
Yes, it is:

Try something like:

wndShortcutBar.Icons.AddIcons CommandBars.Icons

Or (Not sure on this one):

wndShortcutBar.Icons = CommandBars.Icons
Back to Top
ianp View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 19 December 2003
Location: United Kingdom
Status: Offline
Points: 119
Post Options Post Options   Thanks (0) Thanks(0)   Quote ianp Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2005 at 11:48am

dumb question, its the end of the day and my id numbers don't match

Working now

Set scbBar.Icons = xcbMain.Icons



Edited by ianp
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.188 seconds.