Print Page | Close Window

Docking Pane option setting

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=14047
Printed Date: 07 July 2024 at 6:39am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking Pane option setting
Posted By: DaveB
Subject: Docking Pane option setting
Date Posted: 17 April 2009 at 5:11am
How do I turn off the Close button (PaneNoHideable) and turn on the menu button (PaneHasMenuButton)?
 
   Dim PaneNameList As Pane
   Set PaneNameList = DockingPaneManager.CreatePane(ID_PANE_NAMELIST, 210, 140, DockLeftOf, Nothing)
I can't figure out the syntax for this.


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



Replies:
Posted By: Aaron
Date Posted: 17 April 2009 at 5:50am
Hi,
 
PaneNameList.Options = PaneHasMenuButton + PaneNoCloseable
 
 


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 2
Language: Visual Basic 6.0

Zero replies is not an option....


Posted By: DaveB
Date Posted: 17 April 2009 at 1:08pm
Well, that was easy.  Thanks.  I tried every other combination I could think of...
 
It would be nice to have examples like these in the help file.
 
DaveB


-------------
Product: Xtreme SuitePro (ActiveX) version 15.0.2
Platform: Windows XP (32bit) - SP 3
Language: Visual Basic 6.0



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