Custom toolbars in AX

A question that pops up again and again in the AX newsgroups is how one can modify the toolbars in AX. The short answer is always "You can't".

But what you can do is to add new toolbars. Toolbars can be created from regular forms with a special setting of the design properties.

Here are the properties you need to change on the design to make a toolbar form:

  • Top = Top edge
  • Width = Colum width
  • Frame = None
  • WindowResize = Dynamic
  • BackgroundColor = 3D light
  • AllowDocking = Yes
  • TopMargin = 0
  • BottomMargin = 0
  • LeftMargin = 0
  • RightMargin = 0
  • ArrangeMethod = Horizontal, flush right
  • AllowUserSetup = No

I have attached a small sample form to this posting.

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at https://www.microsoft.com/info/cpyright.htm

aaaToolBar.xpo