Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Docking Pane
  New Posts New Posts RSS Feed - [SOLVED] How to hide CLOSE Button
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[SOLVED] How to hide CLOSE Button

 Post Reply Post Reply
Author
Message
chrisABC View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 June 2008
Status: Offline
Points: 258
Post Options Post Options   Thanks (0) Thanks(0)   Quote chrisABC Quote  Post ReplyReply Direct Link To This Post Topic: [SOLVED] How to hide CLOSE Button
    Posted: 17 June 2010 at 6:48am
Is it possible to not display the Close, minimise and expand buttons on a Pane? (ie the buttons top right of the Pane).

I already know how to ignore those buttons by checking Action. But I want the buttons not to be visible.

ANSWER:  Sorry. It was me being stupid. The buttons are on the Form not the Pane. I just changed the Form properties.
Chris (Manchester, UK) -- www.abc6.co.uk ---- Using CodeJock ActiveX Suite 13.1.0 with Windows8, VB6 SP6
Back to Top
Aaron View Drop Down
Senior Member
Senior Member
Avatar

Joined: 29 January 2008
Status: Offline
Points: 2192
Post Options Post Options   Thanks (0) Thanks(0)   Quote Aaron Quote  Post ReplyReply Direct Link To This Post Posted: 17 June 2010 at 8:24am
Hi Chris,
 
The Pane button itself can be set for example:
 
Me.DockingPane1.FindPane(1).Options = PaneNoCloseable 'Hides the close button
Me.DockingPane1.FindPane(1).Options = PaneNoHidable 'Hides the pin button
Me.DockingPane1.FindPane(1).Options = PaneHasMenuButton 'Shows button with dropdown arrow
 
 
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....
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.125 seconds.