BBjListEdit::openList

Description

In BBj 13.00 and higher, this method opens the BBjListEdit drop-down list.

Syntax

Return Value Method
void openList()

Parameters

None.

Return Value

None.

Example

toggle_listedit!.setCallback(toggle_listedit!.ON_TOOL_BUTTON_PUSH,"listedit")
list$=$$
for i = 0 to 999
    list$ = list$ + str(i:"000")+$0a$
next i
listbutton! = window!.addListButton(101,10,40,125,200,list$,$$)
listedit! = window!.addListEdit(102,145,40,125,200,list$,$$)
process_events

eoj:
release

listbutton:
    if (toggle_listbutton!.isSelected()) then
        listbutton!.openList()
    else
        listbutton!.closeList()
    endif
return

listedit:
    if (toggle_listedit!.isSelected()) then
        listedit!.openList()
    else
        listedit!.closeList()
    endif

See Also

BBjAPI

BBjSysGui

BBjControl

BBjWindow

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.