arijken
11 hours agoOccasional Contributor
Access Form opend with a menuitem
I iterate through submenus in javascript and when I click a menuitem a Form opens
On the open form I want to click a toolbar button
this is my script
activeForm = Sys.Desktop.ActiveWindow();
var Toolbar = activeForm.FindChild('Name', "tbFuncties");
Toolbar.ClickItem("bNew");
but the toolbar.Clickitem does not open the expected window
I'll get the correct activeForm, but not the Toolbar
any help will be appreciated