Forum Discussion
AlexeyKolosov
Staff
14 years agoHi Stephen,
You can switch a dock panel's visible/hidden state using the following code (the code makes the first panel visible):
....WinFormsObject("AutoHideContainer", "").AutoHideInfo.Item(0).AutoHide = false // set it to true to hide the panel
You can check the ....WinFormsObject("AutoHideContainer", "").AutoHideInfo.Item(0).Caption property to find the needed panel by its caption.