StoreWidgets Method

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

The StoreWidgets method stores all widget objects in the collection. Widgets whose initial state is set to standard will display immediately when you use the StoreWidgets method.

VB

object.StoreWidgets

VC++

HRESULT hr = object->StoreWidgets();

Remarks

The initial state of a widget is standard by default. Use the InitialFlags property of the WaveLinkWidget object to change the initial state.

Example

' VB Sample Code
Dim wlio As New RFIO
Dim wlfactory As New WaveLinkFactory
Dim wlwidgcoll As New WaveLinkWidgetCollection
Dim OKWidget As WaveLinkWidget
.
.
.
' In this example, give the widget some context
wlio.RFPrint 0, 0, "WaveLink Corporation", WLCLEAR + WLREVERSE
wlio.RFPrint 0, 1, " Auto Detailing ", WLNORMAL
' Create the widget
Set OKWidget = wlfactory.CreateButton(4, _
(wlterm.TerminalHeight - 2), _
0, 0, " OK ", wlwidgcoll)
.
.
.
wlwidgcoll.StoreWidgets

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal