cancel
Showing results for 
Search instead for 
Did you mean: 

modal form

Former Member
0 Kudos

hi,

I have to get input from user before i continue with my procedure.

I open new form with EditText.

How can i hold on code until i get result from user?

Thank's!

Accepted Solutions (1)

Accepted Solutions (1)

YatseaLi
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Alon,

There are relevant threads:

[Parent Form and Modal Form|]

[Modal Form as MessageBox|]

also you can find SDK sample after SDK component installaiton

<<C:Program FilesSAPSAP Business One SDKSamplesCOM UIVB.NET12.ModalForm>>

Actually you can search the key word "Modal" in the forum for mor information. Thanks.

Kind Regards

-Yatsea

Former Member
0 Kudos

Hi,

Thanks but i did not get answere, so i'll try focus my question:

My aim is to hold on code running on parent form, open new form (modal) with textEdit an OK, Cancel buttons and return the result to parent form.

Hope I'm clear..

Thanks

Former Member
0 Kudos

Hi,

Here are the work-arounds:

1)

You can use .Net events.

When modal form is closed, post some event and in your intended procedure, handle that event.

2)

Capture the SAP event -> Form_Unload of your modal form, and then execute the procedure - OnModalFormClose - which has the necessary code.

Regards,

Geetha

Answers (0)