AddPopUpChoice Method

Adds a new pop-up choice to the Choices collection, setting common properties on the choice at the same time.

Syntax

AddPopUpChoice(ByVal Nothing as Category, ByVal Description as String, ByVal Type as String, ByVal Callback as Object[, Interest] [, Sequential] [, Tag]) as Choice

Parameters

Nothing

The Category property of the new Choice object reserved for future use. Should be Nothing.

Description

The Description property of the new Choice object.

Type

The Type property of the new Choice object.

Callback

The Callback property of the new Choice object.

Interest

The Interest property reserved for future use. Defaults to 100.

Sequential

The Sequential property of the new Choice object. Defaults to True.

Tag

A single unnamed tag to the Tags collection of the new Choice object.

Remarks

Other properties can be set on the returned object. This method fails for read-only Choices collections.

Applies to   Choices collection