I have written some code in Class->Info->StartupPost() to open form. I can open the form successfully but the form whole toolbar control is disabled. I have tried it with multiple forms(i.e. custtable, salestable etc) but the same thing (toolbar is disabled) is happened.
I think at this point (Class->Info->StartupPost()) the toolbar is not yet initiated.
I think your suggestion suitable for me but i want a MODAL form. I actually have a input form which have 3 input fields (e.g. login form), so the control should be on this form while user exists from the form.
Using menufunction the form opens perfectly but the control not stays there and starts the AX completely. I think that is why i have used “formRun.wait();” to work my form as MODAL dialog. Any suggestion for modal dialog using menufunction?
Kranthi, your suggestions are always helpful to me.