Forum Post: RE: Running a ABL form without the wait-for

  • Thread starter Thread starter PeterWokke
  • Start date Start date
Status
Not open for further replies.
P

PeterWokke

Guest
Hi Matt, Thank you for this replay. define variable clsMenuStructure as menu.MenuStructure no-undo. clsMenuStructure = new menu.MenuStructure(). clsMenuStructure:Show(). When I test the form from the AppBuilder The form is shown. But events are not triggered. When I start it with a wait-for like this. wait-for System.Windows.Forms.Application:run(clsMenuStructure). The form is shown and the events like ultraTreeMenu_AfterSelect work as supposed. Could this be the solution: &IF DEFINED(UIB_IS_RUNNING) = 0 &THEN wait-for System.Windows.Forms.Application:run(clsMenuStructure). &ELSE clsMenuStructure:Show(). &ENDIF Regards, Peter

Continue reading...
 
Status
Not open for further replies.
Back
Top