cancel
Showing results for 
Search instead for 
Did you mean: 

how add picturebox on business partners

Former Member
0 Kudos

i creat an addon,i want to add a pictuerbox with everybaby on business partners but i can't cortrol picture of Left or Width. help me please . thanks

Accepted Solutions (1)

Accepted Solutions (1)

barend_morkel2
Active Contributor
0 Kudos

Hi Peter,

Add the picture object as an item to the BP screen (where ever you want it). Adjust the item properties (left & width using the item object)

ex.

oForm = SBO_App.Forms.Item(FormUID)

oItem = oForm.Items.Add("1002", SAPbouiCOM.BoFormItemTypes.it_PICTURE)

'Set Size and Location

oItem.Top = 198

oItem.Left = 280

oItem.Width = 70

oItem.Height = 70

Answers (0)