Skip to Content
0
Aug 12, 2016 at 08:49 AM

Which is the recommended way of adding Items to a Form?

22 Views

Which is the recommended way of adding Items to a Form, and why?

Which is more likely to be deprecated soon?

Method A

Set oItem = oForm.Items.Add("Button1", it_BUTTON)

or Method B

oItem = oForm.Items.Add("Button1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)

I often use method B without knowing why

Please see attached picture of help file

Thanks

Leon Lai

Attachments

Capture.JPG (194.2 kB)