SAPbouiCOM.Cockpits ckpts = sbo_Application.Cockpits; if (ckpts.Count > 0) { //Get CockpitTypeID of the first cockpit //You can put some widgets into this cockpit in advance SAPbouiCOM.Widgets wdts = ckpts.Item(0).Widgets; //You can check the widget number in this cockpit int iCount = wdts.Count; }
Widgets Members