Wednesday, October 28, 2015

Overview of Buttons Controls in AX 2012

Button Controls in ax 2012

1.     Button:  The button type does not have a predefined action. Use this button to execute custom X++ code. To create the button action, use the AOT to override the clicked method and enter the X++ code that you want to run. Has a clicked method that works like the clicked event in other languages. Use this for maximal flexibility when you want something to happen when the user clicks on a button. You decide on what you want to happen by overriding the click method.


2.     CommandButton:  Like a button except that you have built in commands that you often won’t customize. For example, one command is called “new”. It literally creates a new record against the data source table. Actions like those rarely need customization, so why not just have a quick and easy way to create them? With the commandButton, we change a quick setting and we are in business.

3.     DropDialogButton: Sometimes, users need a small form to popup when they click a button. You can think of this like the irritating popups on websites except that hopefully, you aren’t irritating your users. You link to the small form when you click this control which looks like a button.

4.     MenuButton:  A menu button is a control that displays a list of buttons. Use a menu button to make buttons available that are rarely used and do not have to be visible in the action pane. Careful not to get this mixed up with the “menu.” Menus are those page options that appear when people open up a client module like Accounts Payable Area Page. They are meant more for modular navigation than form navigation. Menu Buttons are groups of organized buttons that give us the ability to sort our buttons in groups. So we could use a menu button control to organize 4 different buttons (menu item) that each open a different form page.

5.     MenuItemButton: A menu item button opens a specified form in a new window. Use a menu item button when you want to open a detailed form to create or update a record. This is the most commonly used button. It’s main purpose is to provide links and respect built in security. So when a user clicks on it, we will often launch a form or a report. The button only works if the user has the permissions for it to work.


6.     Seperator: Usually, you will place a nice little vertical line between groups of related buttons on your action Pane to make things look nicer. Users will usually fiddle around with that vertical separator (which looks just like a vertical line) until they find the look that they like.

1 comment:

  1. Casinos Near Harrah's Casino & Racetrack - Mapyro
    Find Casinos Near Harrah's 이천 출장마사지 Casino & Racetrack, in Maricopa, 상주 출장안마 AZ from $32. Save up to 60% 문경 출장샵 off with our Hot 서울특별 출장안마 Rate deals when 제천 출장샵 booking a last minute hotel room.

    ReplyDelete