Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Add button to Default Form (UDO)

$
0
0

Hi Expert,

 

When i try to indicate the button 2 position, sap return system error that the item is invalid, i need to hard code the position instead. Any way that i can align my button to "Cancel" button instead?

 

form.Items.Add("btnExport", BoFormItemTypes.it_BUTTON)

                form.Items.Item("btnExport").Width = 90

                form.Items.Item("btnExport").Height = 20 'form.Items.Item("2").Height

                form.Items.Item("btnExport").Top = 60 ''form.Items.Item("2").Top

                form.Items.Item("btnExport").Left = 10 'form.Items.Item("2").Left + form.Items.Item("2").Width + 5


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>