MQL5 ReferenceStandard LibraryPanels and DialogsCRadioButtonState CreateOnEventTextColorStateCreateButtonCreateLabelOnClickButtonOnClickLabel State (Get method) Gets the button state. bool State() const Return Value Button state. State (Set method) Sets the button state. bool State( const bool flag // flag ) Parameters flag [in] New button state. Return Value true - successful, otherwise - false. Color CreateButton