CComponentsButton: add extended properties for button objects

Allows to assign values for events, msg, results. So it is possible
to evaluate/use these properties eg. directly in exec routines.
This commit is contained in:
2014-08-26 22:56:27 +02:00
committed by [CST] Focus
parent e1b9f0a184
commit 706ed0f31f
2 changed files with 26 additions and 0 deletions

View File

@@ -118,6 +118,9 @@ void CComponentsButton::initVarButton( const int& x_pos, const int& y_pos, const
cc_btn_font = NULL;
cc_btn_icon = icon_name;
cc_btn_capt = caption;
cc_btn_msg = CRCInput::RC_nokey;
cc_btn_result = -1;
cc_btn_alias = -1;
initParent(parent);
initCCBtnItems();