This module is an example macro for the use of the StringListCore module which allows one to insert, add and delete strings in a list of strings.
Name | Type | Description |
visible | int | defines if the user interface is visible |
parent | UIconnection | parent window of the user interface |
strings[] | string[] | list of strings in the listbox |
Name | Type | Description | UI Control |
add | int | triggers to append the item to the list | button |
delete | int | triggers to delete the selected item from the list | button |
index | int | selected item. | listbox |
item | string | text to add | textfield |
Name | Type | Description |
selectedItem | int | Index of the selected item in the listbox |
selectedText | string | Content string of the selected item in the listbox |
This module provides a user interface Element that enables the user to add items into and delete items from a listbox. It consists of the listbox that contains the list of strings, an input field to type in new items and two buttons for adding the text in the input field into the list and deleting the selected item from the list. The main purpose of this module is to demonstrate the usage of the low level module StringListCore which is also provided in this package.
iac_proj/strlist/strlist.v defines the library
iac_proj/strlist/strlmods.v module definition
iac_proj/strlist/strlmacs.v macro definition
Tobias Schiebeck, International AVS Centre
International AVS Centre Manchester Visualization Centre Kilburn Building University of Manchester Oxford Road Manchester United Kingdom M13 9PL