Skip to Content
0
Former Member
Nov 25, 2008 at 03:19 PM

Windows Form with SAP B1 Problem

748 Views

Dear all,

I'm building an add-on that use some windows form.

In Menu Event i placed the code for open my windows form:

MyForm xxx = new MyForm();

xxx.WindowState = System.Windows.Forms.FormWindowState.Normal;

xxx.Visible = true;

xxx.ShowInTaskbar = true;

xxx.TopMost = true;

xxx.Text = string.Empty;

xxx.ControlBox = false;

System.Windows.Forms.Application.Run(xxx);

All works fine, but, when my form is open i can't operate on SAP.

It's like my form is modal, and until I have it open I can't do anything outside the form.

Can someone help me?

Regards

Diego