Skip to Content
0
Mar 04, 2015 at 07:51 AM

Sample 11.SystemFormManipulation: What is Item("44")?

22 Views

Hi everybody,

I am studying the SDK sample called 11.SystemFormManipulation.

I am stuck with the foll. code:

'//****************************

'// Adding Option button items

'//****************************

'// use an existing item to place youe item on the form

oItem = oOrderForm.Items.Item("44")

For i = 1 To 3

oNewItem = oOrderForm.Items.Add("OpBtn" & i, SAPbouiCOM.BoFormItemTypes.it_OPTION_BUTTON)

oNewItem.Left = oItem.Left

oNewItem.Width = 150

oNewItem.Top = oItem.Top + (i - 1) * 19

oNewItem.Height = 19

'// set the Item's Pane Level.

'// this value will determine the Items visibility

'// according to the Form's pane level

oNewItem.FromPane = 5

oNewItem.ToPane = 5

I have searched everywhere on the Sales Order form (using view system information), but have not found any option button on this form, which is used to place an option button on the sample form.

So, where is the option button Item("44")?

Could you also tell me what Pane 5 means?

Thanks a lot

Leon Lai