a question about the state of button New comment FuliangQ 2010.08.12 16:43 hello , all guys , when a button was pressed it won't return to the un-pressed state until user click it again . i want to know how to release an button from pressed state by program , automatically ? or the following situation will be puzzling : two button are both in pressed state ! Questions from Beginners MQL5 MT5 MetaTrader 5 My approach. The core is the engine. OBJ_BITMAP_LABEL -> Disable/Avoid automatic state change when clicked Rashid Umarov 2010.08.12 16:59 #1 Which button do you mean? See TradePad_Sample (I agree it is not the easiest sample) FuliangQ 2010.08.13 07:04 #2 Rosh:Which button do you mean? See TradePad_Sample (I agree it is not the easiest sample) from the cutted image , the button P and T are both in the pressed state , so i want to know how to release the pressed button in program so that only one button is in the pressed state at any time . Rashid Umarov 2010.08.13 10:05 #3 You must check property OBJPROP_STATE of all buttons and switch their ones as you need. FuliangQ 2010.08.13 14:31 #4 Rosh:You must check property OBJPROP_STATE of all buttons and switch their ones as you need. thanks for your reply . New comment
hello , all guys ,
when a button was pressed it won't return to the un-pressed state until user click it again .
i want to know how to release an button from pressed state by program , automatically ?
or the following situation will be puzzling : two button are both in pressed state !