Procedure TWPCustomToolPanel.UpdateEnabledState(State:Boolean)Unit: WPTbarClass: WPTbar.TWPCustomToolPanelParameters State:Boolean