Download MetaTrader 5

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.


Updated: 2016.06.27