Description
A collection of
Widget objects. This object holds all the widget instances in the cockpit.
Object Model
Example
| Getting All the Widgets from a Specified Cockpit (C#) | Copy Code |
|---|
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; }
|
|
See Also