ISDBUIDockablePanel::IsNew

From MediaMonkey Wiki
Jump to: navigation, search

CoClass SDBUIDockablePanel, Interface ISDBUIDockablePanel

Property Get IsNew As Boolean


Property description

Whether this panel was created for the first time. (the other case is that the panel already existed in the previous session and its size/position was saved).

Example code

Set Pnl = UI.NewDockablePersistentPanel("TestingPanel")
If Pnl.IsNew Then
  Pnl.DockedTo = 2
  Pnl.Common.Width = 250
End If