External Interfaces > RealWeb > RealWeb API > Forms > Form Elements > RW_LIST

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RW_LIST (RealWeb) (rw_list.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RW_LIST


Use of this API subroutine is now deprecated - it can still be used, but for new developments it is recommended that you use RW_SELECT_LISTfor enhanced functionality.

Purpose

Generates a pull-down menu of choices.

Syntax

RW_LIST(Name, Style, Size, aValueText)

Parameters

Name A name, unique within the form, for the list.

Style If set to the string, 'multiple', more than one item may be selected by a user; otherwise, only one option can be selected at a time.

Size Specifies the number of list items that are visible in the list's window. If the number of entries in the list exceeds Size, a vertical scroll bar will be presented on the list window. If Size is set to '0' or '1', the list window will sized for one item only, but when the down-arrow icon is selected a drop-down list containing the complete list will be displayed.

aValueText A dynamic array, with one attribute for each list item. Each attribute can contain up to three values:

Dependencies

Requires a previous call to RW_START_HTML_FORM.

Remarks

The subroutine that processes the submitted form can retrieve the user's selection(s) by calling RW_GET_PARAM and specifying the name of the list as the parameter name.

RealityV15.1 (MoTW) Revision 7Comment on this topic