Here is my simple code:
oItem.Top = top; oItem.Left = left; oItem.Width = wd; oItem.Height = ht; SAPbouiCOM.Button oButton = ((SAPbouiCOM.Button)(oItem.Specific)); string sPath = System.Windows.Forms.Application.StartupPath; string fullPath = sPath + "\MyImage.bmp"; oButton.Image = fullPath;
I have verified that the image exists at the specified location. However, it is still not being shown in the UI. The button does show up though.
Is there something more that I must do?
Thank you in advance for your help.