ShowWidgets Method

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

The ShowWidgets Method shows or hides all widgets within the current collection.

Syntax

public void ShowWidgets(boolean showWidgs)
throws WaveLinkError

Parameters

showWidgs

A true or false value that determines whether widgets are shown or hidden

Throws

WaveLinkError

Remarks

For the showWidgs parameter, a true value shows widgets and a false value hides widgets. When the showWidgs parameter is set to true, the ShowAllWidgets Method displays a widget that has been previously hidden.

Before using the ShowWidgets Method, you must use the StoreWidgets Method to store widgets on the device while simultaneously displaying them on the RF screen. The StoreWidgets Method does not display widgets for which the initial state is set to hidden.

Example

WaveLinkWidgetCollection colIface = new WaveLinkWidgetCollection();

 

try {

// Create one or more widgets, add them to the colIface collection, store them (not shown).

.

.

.

}

catch (WaveLinkError wlErr) {

//Do error handling

}

.

.

.

try {

// Hide the widget(s).

colIface.ShowWidgets(false);

}

catch (WaveLinkError wlErr) {

//Do error handling

}

 


Was this article useful?    

The topic was:

Inaccurate

Incomplete

Not what I expected

Other

© 2016 Wavelink Corporation. All Rights Reserved.