Show Method

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

The Show method displays or hides the current widget.

VB

object.Show ShowWidg

VC++

HRESULT hr = object->Show(BOOL ShowWidg);

Parameters

ShowWidg

The variable that shows or hides the current widget. A True value shows the widget. A False value hides it.

Remarks

When the ShowWidg parameter is set to True, the Show method will display a widget that has been previously hidden. Before using the Show method, you must use the StoreWidgets method of the WaveLinkWidgetCollection object to store widgets on the RF device while simultaneously causing them to display on the RF screen. The StoreWidgets method will not display widgets whose initial state is set to hidden.

Example

' VB Sample Code
wlwidgcoll As New WaveLinkWidgetCollection
myFactory As New WaveLinkFactory
myWidget As WaveLinkWidget
.
.
.
' Create a widget
Set myWidget = myFactory.CreateRepeaterButton (1, 2, 0, 0, _
RIGHTARROW, wlwidgcoll)
' Set the property to hide the widget
myWidget.InitialFlags = INITHIDDEN
wlwidgcoll.StoreWidgets
.
.
.
' Now show the hidden widget
myWidget.Show True

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

Privacy and Legal