StoreWidgets Method

This member of Class WaveLinkWidgetCollection is supported on: Palm, CE

The StoreWidgets Method stores all widget objects in the collection. Widgets for which initial state is set to standard display immediately when you use the StoreWidgets Method.

Syntax

public void StoreWidgets()
throws WaveLinkError

Throws

WaveLinkError

Remarks

Widgets display immediately when you use the StoreWidgets Method if their initial state is set to standard. The initial state of a widget is standard by default. Use the InitialFlags Property to change the initial state.

Example

WaveLinkFactory factoryIface = new WaveLinkFactory();

WaveLinkWidgetCollection colIface = new WaveLinkWidgetCollection();

WaveLinkIO ioIface = new WaveLinkIO();

try {

ioIface.RFPrint(0, 0, "WaveLink Corporation", WaveLinkIO.WLCLEAR | WaveLinkIO.WLREVERSE);

ioIface.RFPrint(0, 1, " Auto Detailing ", WaveLinkIO.WLNORMAL);

// Create one or more widgets.

factoryIface.CreateButton(4, 12, 0, 0, " Start ", colIface);

// Store the widget(s).

colIface.StoreWidgets();

}

catch (WaveLinkError wlErr) {

//Do error handling

}

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal