List Box Properties

The specific properties applicable to the List Box control are:

  • Content: Lets you specify the initial contents of the list box control. Each value you enter (one per line) will appear in the list box. You can also manipulate the contents of the list box from your script.

  • Sort: Set to True to have the contents of the list box control automatically sorted alphabetically.

  • Selection: Controls the selection type of the list box. Options are:

    • Single: The user can select at most one item from the list.

    • Multiple: The user can select more than one item by holding the Control key when clicking on the list.

    • None: Does not allow items to be selected; the list will be for display only.

最后更新于