|
![]() |
#1 |
MCP
|
Цитата:
I think you can use your mouse, if you'll click on buttons in your form in Dynamics you can simulate and debug your action. The method which called when users press buttons on your form is "clicked" independent of the way of pressing ![]() |
|
![]() |
#2 |
Участник
|
Цитата:
X++: void clicked() { super(); ctrl_InputQuantity.setFokus(); element.task(#Key7); // simulate key 7 pressed } Regards, |
|
![]() |
#3 |
MCP
|
ist, Hi!
Your idea is good, but i think you can't simulate button click by this method. You can try to place breakpoint in task() method in your form like this: X++: public int task(int _taskId) { int ret; ; ret = super(_taskId); breakpoint; return ret; } |
|
|
|