Please enable JavaScript to view this site.

ESL Documentation

Navigation: ESL Documentation > ESL Programmers Reference > Verbs

select line and deselect line

Scroll Prev Top Next More

Action Statement

Select or deselect a line in a list box.

{select|deselect} line LINE_NO in LB_NAME

LINE_NO

An integer value that specifies the line to select or deselect.

LB_NAME

The identifier for a list box.

Description

If a line is selected in a list box that is not defined with multiple selection, the previously selected line will be deselected.

Example

 

call ProcessDialogBox1(DidOK)

if DidOK then

 call QueryDialogBox1( SelectedLine )

 deselect line SelectedLine in ControlChoicesList

 if (SelectedLine > 1) then

         select line (SelectedLine - 1) in ControlChoicesList

 end if

end if

 

response to start

 select line 1 in ControlChoicesList

See Also

list box Definition