|
![]() |
#1 |
Участник
|
Обьясните пожалуйста более подробней как это сделать
|
|
![]() |
#2 |
Участник
|
Например, так
X++: public boolean selectControl(FormControl _control) { #GRD_sysDataBaseLogFixStack4Button // GRD_sysDataBaseLogfixStack_pkoz // pkoz 19.05.2011 boolean ret; ; // GRD_sysDataBaseLogfixStack_pkoz // pkoz 19.05.2011 --> // if (GRD_isPkoz()) { //mes = strFMT("%1 : %2", Element.name(), _control.name()); //info::messageWinAddLine(mes); // info::messageWinAddLine( strFMT("%1 : %2 : %3", Element.name(), _control.name(), ret)); /* info::messageWinAddLine( strFMT("%1 : %2 : %3 : %4", this ? this.name() : "", _control ? _control.name() : "", ret, classid2Name(_control ? _control.handle() : 0) )); */ if (_control) { switch (_control.handle()) { case classNum(FormButtonControl) : // button case classNum(FormCommandButtonControl) : // commandButton case classNum(FormFunctionButtonControl) : // menuItem case classNum(FormMenuButtonControl) : // MenuButton if (infolog) { infolog.globalCache().set(#GRD_FixStack4Button, #GRD_FixStack4ButtonMainKey, [ this ? this.name() : "", _control ? _control.name() : "", _control ? _control.id() : 0, ret ]); } break; } } } // GRD_sysDataBaseLogfixStack_pkoz // pkoz 19.05.2011 <-- ret = super(_control); return ret; } |
|
|
За это сообщение автора поблагодарили: S.Kuskov (5). |