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