Project

General

Profile

Scol standard library package  0.3.1
Common and usefull functions for all Scol applications

Functions

 lib2d_comboGets (combo)
 Returns the list of all predefined choices in a combo box.
 lib2d_comboSets (combo, lStr)
 Fill a combo box from a list of string items.

Detailed Description

Package to load : lib/2dos/combo.pkg

Function Documentation

lib2d_comboSets ( combo  ,
lStr   
)

Fill a combo box from a list of string items.

Prototype: fun [ObjBox [S r1]] ObjBox

Parameters
ObjBox: a combo box already created
[Sr1] : a list of item
Returns
ObjBox : the filled combo box or nil if error
lib2d_comboGets ( combo  )

Returns the list of all predefined choices in a combo box.

Prototype: fun [ObjBox] [S r1]

Parameters
ObjBox: a combo box already created
Returns
[S r1] : the list or nil if error