Thomas,
It's most likely an issue that the second time the memvar faktur doesn't exist at the instant the shortcut is trying to call it.
Usually it's bad to depend on a memvar referencing the form to exist, especially in the situation where the form can have multiple instances running at the same time.
You can either use the builtin _screen.Forms[] collection to find your forms or rely on your own FormsManager object.
Why does the button invoke a menu item instead of just directly calling the doprint method?
thisform.doprint(x,y)
I'm not sure what the context of your parameters are though.
Another thing to look at doing from the menu code is checking _screen.ActiveForm to see if it references a form at that instant and if it does check to see if it has a method named doprint by using pemstatus() and if it does then you can call the method. This sort of functionality can be built into a MenuManager object that communicates with your FormManager object.
>a problem is happening to one of my customers (and he's the only one) which does not happen on one of my pcs.
>
>A form called "faktur" has a method called "doprint". A button on that form calls a shortcut-menu called "faktdruck" which calls the form-method "faktur.doprint(x,y)".
>The first time it's called everything works fine but the second time i get an error message 1923 from the menu telling me that the object "faktur" was not found. Can someone telle what is happening there?