Class: pick_list_mixin
Class Hierarchy:
cObject

Mixin


pick_list_mixinMixins:
Auto_Locate_Mixin, LIST_Mixin, Non_Dependent_Item_Mixin,
Class Definition
Functions and Procedures

Activating()
Augment to Support AutoLocate
as of 15.1 we changed all deactivating/activating signatures to not return values (see windows.pkg / ComboForm / Activating for more)
Returns Integer

Add_Item(integer iMessage string sValue)
Description
This procedure adds a new item at the end of the list, using the
specified message id (msg#) and value.
It ensures that the Entry_State of the new item is FALSE, and that
the Checkbox_Item_State of the new item is TRUE if this object's
Radio_State is TRUE.
Assumptions/Preconditions
msg# should be a valid message id or 0.
Exceptions
None.
Notes
After successful execution, the item index of the new item is
Item_Count-1.

Beginning_of_Data()
integer
Cancel()

Clear()

Clear_All()

Clear_Set()

Construct_Object(integer img)

Display()

End_Construct_Object()

End_of_Data()
integer
Entering()

Entry_Display(integer mfile# integer flag)

Entry_Update(integer mfile# integer flag)

Fill_List()
invoked by Initialize_List - intended for override

find_servers_to_watch(integer tableFlag)
override of SERVER.PKG procedure
integer
First_Selected_Item()

Flag_Items()
If the list is radio all items should be checkbox. Since this is
now based on list the entry-state is already set to false (no
need to do that).

Initialize_List()

Insert_Item(Integer iMessage String sValue Integer iItem)
Description
This procedure inserts a new item into the list before the specified
item#, using the specified message id (msg#) and value.
It ensures that the Entry_State of the new item is FALSE, and that
the Checkbox_Item_State of the new item is TRUE if this object's
Radio_State is TRUE.
Assumptions/Preconditions
msg# should be a valid message id or 0.
item# should be a valid item index (between 0 and Item_Count-1).
Exceptions
None.
Notes
After successful execution, the item index of the new item is the same
as the originally specified item#.

Move_Value_Out()
integer
Next_Selection()
returns -1 if no selections

Toggle_Select()
(JJT) from list.pkg
Description
This procedure toggles the select_state of the current item unless the
select-mode of this object is no_select, in which case this procedure
mimics the pressing of the space-bar to generate a space character for
incremental search.
Assumptions/Preconditions
This object must understand the Key message as a method of character
input, and must also understand the Select_Toggling message as a method
of altering the select_state of an item.
Exceptions
None.
Notes
Sent by kSpace.