Copyright (1999-2008) EDMGROUP Pty Ltd - EZY Prolog Reference

List of predicates for group List box

[This is preliminary specification and subject to change.]

List of all groups


Type

Predicate

Parameters

Flow pattern

Description

determ

ezy_lbox_add

WINDOW CTRLWIN,
INTEGER INDEX,
EZY_LIST ITEM_LIST

(i,i,i)

Initialize list box with string list. Index is a 0-based integer. To append a new item at the end of the list set Index to -1. To add one item use lbox_Add/3(1) with 3rd argument bound to the string. To add several items at a time use lbox_Add/3(2) with 3rd argument bound to a string list.

determ

ezy_lbox_add

WINDOW CTRLWIN,
INTEGER INDEX,
SLIST ITEM_LIST

(i,i,i)

Initialize list box with string list. Index is a 0-based integer. To append a new item at the end of the list set Index to -1. To add one item use lbox_Add/3(1) with 3rd argument bound to the string. To add several items at a time use lbox_Add/3(2) with 3rd argument bound to a string list.

determ

ezy_lbox_add1

WINDOW CTRLWIN,
INTEGER INDEX,
STRING ITEM

(i,i,i)

Add string to list box after element defined by INDEX parameter

determ

ezy_lbox_delete

WINDOW CTRLWIN,
INTEGER INDEX

(i,i)

Delete element from the listbox Element defined by INDEX.

determ

ezy_lbox_getall

WINDOW CTRLWIN,
SLIST SELECTED

(i,o)

Get all elements of the list box

determ

ezy_lbox_init

WINDOW CTRLWIN,
SLIST IN

(i,i)

Initialise list box with string list

determ

ezy_lbox_multiselect

WINDOW CTRLWIN,
INTEGER INTEGER

(i,i)

Set multi select flag for the list box

determ

ezy_lbox_selected_get

WINDOW CTRLWIN,
SLIST SELECTED,
ILIST INDEXES

(i,o,o)

Get selected element of the list box

determ

ezy_lbox_selected_set

WINDOW CTRLWIN,
INTEGER INDEX,
INTEGER YES_NO

(i,i,i)

Set selected element of the list box


Copyright 1997-2013 EDMGROUP (Australia)