ui_clear_focus | ( wid ) |
Description: | ||
Clear the input focus for a widget. | ||
Input: | ||
widget | wid | Pointer to the widget. |
Output: | ||
none |
ui_wid_restore_widget | ( wid ) |
Description: | ||
Restore the values for this widget and all child widgets. | ||
Input: | ||
widget | wid | Widget ID. |
Output: | ||
LOGICAL | <Return Value> | TRUE if no error. |
ui_wid_save_widget | ( wid ) |
Description: | ||
Save the values for this widget and all child widgets. | ||
Input: | ||
widget | wid | Pointer to the widget. |
Output: | ||
LOGICAL | <Return Value> | TRUE if no error. |
uil_utils_listbox.select | ( lbox_id, label ) |
Description: | ||
Highlight a “name” in the listbox. | ||
Input: | ||
widget | lbox_id | ID of listbox to modify. This is the ID returned by a call to the PCL functions ui_listbox_items_create or uil_utils_listbox.create_list |
STRING | label[] | Name in listbox to highlight. This list of names is the list of labels used by the PCL functions ui_listbox_items_create and uil_utils_listbox.create_list. |
Output: | ||
LOGICAL | <Return Value> | TRUE if no error. |
uil_utils_listbox.select_none | ( lbox_id ) |
Description: | ||
Clear all highlighted names in the listbox. | ||
Input: | ||
widget | lbox_id | ID of listbox to modify. |
Output: | ||
LOGICAL | <Return Value> | TRUE if no error. |
uil_utils_listbox.select_list | (list_box_id, label_list, list_count) |
Description: | ||
This function will select or highlight a list of names in a listbox. | ||
Input: | ||
widget | list_box_id | This value specifies the identifier of the listbox. |
STRING | label_list[31](list_count) | |
This value specifies the list of labels in the listbox that will be highlighted. These labels are defined when the listbox is created and are typically a maximum of 31 characters long. | ||
INTEGER | list_count | This value specifies the number of labels specified by the input value label_list. |
Output: | ||
LOGICAL | <Return Value> | This function will return a value of TRUE if an error has not occurred and a value of FALSE if an error has occurred. |
Error Conditions: | ||
None. | ||
Remarks: | ||
None. |
uil_utils_listbox.create_list | ( lbox_id, labellist, listcnt ) |
Description: | ||
Create a list of items in the listbox from the given names. | ||
Input: | ||
widget | lbox_id | ID of listbox to modify. |
STRING | labellist[]() | List of names in listbox to create. |
INTEGER | listcnt | Number of items in labellist. |
Output: | ||
none |
uil_utils_listbox.append_list | ( lbox_id, labellist, listcnt ) |
Description: | ||
Append a list of items in the listbox from the given names. | ||
Input: | ||
widget | lbox_id | ID of listbox to modify. |
STRING | labellist[]() | List of name items to append. |
INTEGER | listcnt | Number of items in labellist. |
Output: | ||
none |
uil_utils_listbox.get_selected | ( lbox_id, items, num ) |
Description: | ||
Get the selected items in the listbox. | ||
Input: | ||
widget | lbox_id | ID of listbox to modify. |
Output: | ||
STRING | items [xx] (VIRTUAL) | Items selected. xx needs to be equal to or larger than the length of the largest item in the listbox. |
INTEGER | num | Number of items selected. |
uil_utils_listbox.get_unselected | ( lbox_id, items, num ) |
Description: | ||
Get the unselected items in the listbox. | ||
Input: | ||
widget | lbox_id | ID of listbox to modify. |
Output: | ||
STRING | items [xx] (VIRTUAL) | Items selected. xx needs to be equal to or larger than the length of the largest item in the listbox. |
INTEGER | num | Number of items selected. |
uil_utils_listbox.get_all | ( lbox_id, items, num ) |
Description: | ||
Get all items in the listbox | ||
Input: | ||
widget | lbox_id | ID of listbox widget |
Output: | ||
STRING | items [VIRTUAL] (VIRTUAL) | Listbox items. |
INTEGER | num | Number of items in listbox. |
uil_utils_listbox.delete_item | ( lbox_id, name ) |
Description: | ||
Delete a given item from the set of listbox items. | ||
Input: | ||
widget | lbox_id | Id of listbox to modify. |
STRING | name[] | Name in listbox to delete. |
Output: | ||
LOGICAL | <Return Value> | TRUE if no error, FALSE if name does not exist. |
uil_utils_listbox.delete_item_list | ( lbox_id, nitems, itemlist ) |
Description: | ||
Delete a list of given items from the listbox. | ||
Input: | ||
widget | lbox_id | Id of listbox to modify. |
INTEGER | nitems | The number of items in the list. |
STRING | itemlist[]() | Names in listbox to delete. |
Output: | ||
none |
uil_utils_listbox.delete_selected | ( lbox_id ) |
Description: | ||
Deletes from the listbox the selected items. | ||
Input: | ||
widget | lbox_id | Id of listbox to modify. |
Output: | ||
none |
uil_utils_listbox.select_all | ( lbox_id ) |
Description: | ||
Highlight all names in the listbox. | ||
Input: | ||
widget | lbox_id | Id of listbox to modify. |
Output: | ||
none |