cancel
Showing results for 
Search instead for 
Did you mean: 

Click the button of Message box through code.

Former Member
0 Kudos

Hi,

Is there any way to click the Message Box button through code?

Is there any way to restrict the MessageBox popup?

The requirement is, i need to open the SalesOrder form in FindMode, Since there are other addons which will add some values in the Sales order in the form load event, when i change the form mode to find , SBO will pop up the Message box with 'OK' and 'CANCEL' buttons.

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

former_member209699
Contributor
0 Kudos

Hi,


objForm.Items.Item("1").Click(SAPbouiCOM.BoCellClickType.ct_Regular)

regards:

Sandy

Edited by: Sandeep Saini | Roorkee | India on Oct 12, 2009 5:34 PM

Former Member
0 Kudos

Thanks Sandy

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

The form UID of all the message box is 0 . You can create the class of the message bo and then click on the button as code given by Sandy

Former Member
0 Kudos

Thanks anuj

Former Member
0 Kudos

Hi,

The form UID of all the message box is 0 . You can create the class of the message bo and then click on the button as code given by Sandy