Skip to Content
0
Former Member
Aug 29, 2012 at 11:25 AM

some info about button combo..

271 Views

Hi.. i am creating one button combo on the sales opprotunites ..

i had this below code

i am able to create it

but i am not pulling the valid values into the combo box may i know how can i add valid values..

oexitem = oOrderForm.Items.Item("1")

Dim oitem As SAPbouiCOM.Item

oitem = oOrderForm.Items.Add("800", SAPbouiCOM.BoFormItemTypes.it_BUTTON_COMBO)

oitem.Top = oexitem.Top

oitem.Height = oexitem.Height

oitem.Width = oexitem.Width

oitem.Left = oexitem.Left + 300

obcm = oitem.Specific

obcm.ValidValues.Add("Copy to ", "Copy to")

obcm.ValidValues.Add("Copy from", "Copy from")

obcm.ValidValues.Add("Copy", "Copy")