DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Hide/Rename DIAdem windows

Hi There,

 

I am using DIAdem 2011, I would like to hide few windows/Panel in DIAdem like the Navigator and Script and Rename other Windows/Panel (Reports and Analysis). I looked into the Bar manager help but could not get much information for my requirement.

 

Can someone quickly help me out.

 

Thanks in Advance

Pria

0 Kudos
Message 1 of 3
(4,161 Views)

Hi Pria,

 

Here is a script that does something very close to what you requested, renaming the ANALYSIS and REPORT panels and hiding the rest.  The icons used are in the "...\DIAdem 2011\Resource\Barsource\" folder, but you can provide a full path to your customer icon instead of just the icon name in that (default) folder if you prefer:

 

Set ActivePanels = BarManager.Bars("DIAPanels").UsedActionObjs
Call ActivePanels.Remove("DIAPanelNAVIGATOR")
Call ActivePanels.Remove("DIAPanelVIEW")
Call ActivePanels.Remove("DIAPanelSCRIPT")
Set AnalPanel = ActivePanels("DIAPanelANALYSIS")
AnalPanel.Caption = "Seat"
AnalPanel.Picture = "ANADlgChnDRICalc.ico"
Set AnalPanel = ActivePanels("DIAPanelREPORT")
AnalPanel.Caption = "Head"
AnalPanel.Picture = "ANADlgChnHICCalc.ico"
Call WndShow("SHELL")

 

You can disable existing panels and add new panels and also set the script code that will run when any panel is clicked on.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

Download All
Message 2 of 3
(4,154 Views)

Thanks a lot Brad. This is very helpful.

0 Kudos
Message 3 of 3
(4,140 Views)