Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Hide ExpandButton on shorcut bar!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Hide ExpandButton on shorcut bar!

 Post Reply Post Reply
Author
Message
cliv View Drop Down
Newbie
Newbie


Joined: 04 July 2005
Location: Romania
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote cliv Quote  Post ReplyReply Direct Link To This Post Topic: Hide ExpandButton on shorcut bar!
    Posted: 04 July 2005 at 12:25pm

I work in vb6.

I don't want to display ExpandButton on shorcut bar.

Can i hide ExpandButton ?

Best regards,

Cliv



Edited by cliv
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: 04 July 2005 at 3:01pm

Do you mean the "Configure Buttons" ShortcutBarItem? If so, this Item always appears to have the Id of -1, so can be removed using:

wndShortcutBar.RemoveItem(-1)

I've no idea if this causes any side effects, though I did notice that the space taken by the Icon for the "Configure Buttons" Item is never reused

Back to Top
jamesblast View Drop Down
Groupie
Groupie


Joined: 15 June 2005
Status: Offline
Points: 52
Post Options Post Options   Thanks (0) Thanks(0)   Quote jamesblast Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2005 at 3:36am
if i do wndShortcutBar.RemoveItem(-1) in 9.7 the last button is removed as well.

i tried out some constelations, but the last one is removed in every case.

is this a new bug?

please help.

thank you
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 August 2005 at 5:49am
In the next release there is a new property that allows you to hide\show the button.  Then the empty space the button occupied is removed.
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.223 seconds.