Pages

Monday, September 5, 2011

Fun observation about BOF dialogs

After reading the Client User Experience Guidelines for dialog boxes, I noticed that the automatically generated dialogs from the Business Operation Framework (BOF) doesn't quite meet the guidelines.

According to the guidelines you need to display a "Main instruction":


But if you take a look at the dialog generated by BOF, theres is no "Main instruction" section, and I haven't really figured out how I can add it myself:



The Dialog form which is the base for all RunBase dialogs has a StaticText control for this main instruction, but the SysOperationTemplateForm, which is the base for BOF dialogs, dosn't have a control for displaying the main instruction.

Not a big deal, but still a bit fun...

2 comments:

axstart said...

adapt form SysOperationTemplateForm
this is used

Dick Wenning
MVP Dynamics AX

Vlad said...

Agree, there is some ambiguity but you can use:

dialog.setCaption("Your instruction");


in your dialog() method in your RunBaseBatch derived class..