hub.eb?material_id=327&track_id=298

List Controls


List Control provides a visual representation of a Static, Dynamic or Custom List to the end-user.

A List Control automatically creates a List Item Control containing a List Text Control that displays the value of each item in the associated List. You can replace the List Text Control with a List Hyperlink Control display the value as a hyperlink.

You can attach a Static or Dynamic List in the Properties View of the List Control. Custom Lists are created programatically on the List Control, eg. 

// create simple list with three entries on my List Control
var list = ["Line 1", "Line 2", "Line 3"];
controls.myListControl.createCustomList(list);

 

Steps


1

Create a Form and add a List Control called myListControl.

2

Create a Static List called daysOfTheWeek and add the days of the week as list items.

Save daysOfTheWeek.

3

Associate daysOfTheWeek to myListControl by adding it to myListControl 's Static List property in its Properties View.

4

Run the Form.

Current Module

Related