axapta - Determine button state, Clicked(Active) or not MS Dynamics AX -


How is it possible to set the button state in AX? Click or Not? Thanks

This is a clicked method which you overwrite on your button can do. On the button control, expand the node and click on the Method node. From the list of available methods, select the clicked method.

A method will be added where you can add your code:

  zero clicked () {super (); }   

This method starts when the button is pressed. You can also call the code to execute this method.

Normally when you click a button, the gotFocus method is executed. When you call the event code is clicked, it is not so in your case you can call manually Setfocus method before executing the method clicked. If you override the gotFocus method, then you can set the boolean to store that value. Override lostFocus method to reset your values ​​you will one button focus, so you may want to re setFocus by calling the method to set the focus on the first button .

I do not know that you can do this. But you really should not do ... something with your requirement false

Comments

Popular posts from this blog

c - Mpirun hangs when mpi send and recieve is put in a loop -

python - Apply coupon to a customer's subscription based on non-stripe related actions on the site -

java - Unable to get JDBC connection in Spring application to MySQL -