Go to the first, previous, next, last section, table of contents.


table_widget2 (library)

Author(s): Isabel Martín García.

Version: 1.11#222 (2004/5/24, 13:8:7 CEST)

Version of last change: 1.9#167 (2003/12/4, 17:39:48 CET)

In addition to the features explained in the introduction, predicates exported by this module display tables in which the font weight for the elements placed in the first row is bold. The remaining elements are in medium weight font.

If the arguments are not in a correct format the exception error8 will be thrown.

Usage and interface (table_widget2)

Documentation on exports (table_widget2)

PREDICATE: tablewidget2/4:

tablewidget2(Title, Header, ElementTable, Footer)

Shows a regular table in a window. The system sets a default background image for the widget.

Example:

tablewidget2('COM Features',
	     'Extracted from "Inside COM" book ',
	     [['Feature','Rich people','Bean Plants','C++','COM'],
	       ['Edible','Yes','Yes','No','No'],
	       ['Supports inheritance','Yes','Yes','Yes','Yes and No'],
	       ['Can run for President','Yes','No','No','No']],
	     'What do you think about COM?').

Usage:

PREDICATE: tablewidget2/5:

tablewidget2(Title, Header, ElementTable, Footer, BackgroundImage)

This predicate and tablewidget2/4 are quite similar, except that in the already one defined you must set the background image.

Example:

tablewidget2('COM Features',
	     'Extracted from "Inside COM" book ',
	     [['Feature','Rich people','Bean Plants','C++','COM'],
	       ['Edible','Yes','Yes','No','No'],
	       ['Supports inheritance','Yes','Yes','Yes','Yes and No'],
	       ['Can run for President','Yes','No','No','No']],
	     'What do you think about COM?',
	     './images/rain.gif').

Usage:


Go to the first, previous, next, last section, table of contents.