Print Page | Close Window

Hide ExpandButton on shorcut bar!

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=2511
Printed Date: 17 November 2024 at 2:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Hide ExpandButton on shorcut bar!
Posted By: cliv
Subject: Hide ExpandButton on shorcut bar!
Date 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




Replies:
Posted By: ianp
Date 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



Posted By: jamesblast
Date 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


Posted By: SuperMario
Date 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.



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