Class: Combo_Mixin

Module location: Combo_mx.pkg line 14 (view source)

Class Hierarchy:

cObjectMixinCombo_Mixin

Class Definition

Properties

IntegerAllow_Blank_State
IntegerCombo_Sort_State
IntegerDefault_Combo_Item
-1 means top
IntegerDeferred_State
IntegerListRowCount
how many drop-down rows are required (0 = use size to determine number of rows)
IntegerListWidth
width of dropped-down list (0=default width of edit)
booleanpbPrivateAddingFocus
private, used by add_focus w/ set value

Functions and Procedures

IntegerAdd_Focus(Handle hoParent)
Add_Form_To_List()
Combo_Add_Item(string sValue)
IntegerCombo_Current_Item()
get/set Combo_current_item serve no purpose as this deals with the DF list of values (and not the windows position). There just isn't anything you can do with this.
Combo_Delete_Data()
Combo_Delete_Item(Integer iItem)
Combo_Edit_Changed()
Combo_Fill_List()
combo_initialize_list()
Combo_Insert_Item(Integer iItem string sValue)
Combo_Item_Changed()
IntegerCombo_Item_Count()
IntegerCombo_Item_Matching(String sText)
StringCombo_Value(Integer item#)
Command(integer i1 integer i2)
Import_Class_Protocol Standard_Form_Mixin
Define_Combo_Mixin()
DoSetListWidth()
DoSetSize()
End_Define_Combo_Mixin()
integerKey(integer iKy)
augment to check for keys pressed in dropped state. Most likely, when dropped we will trap esc and return and pass all others through
OnCloseUp()
cancelled
OnDropDown()
cancelled
booleanOnDropKey(integer iVKey boolean bIsAccelerator)
The following three messages are designed to handle accelerator key handling when a list is dropped down. When a list is dropped, we want all accelerator keys to be ignored. In addition, we want the return and enter keys to roll the list up, if return is pressed the value should be updated Called by key and Process_Accelerator when a list is dropped down and a key is pressed. We pass the virtual key (not the df key) and a flag telling us if this is an accelerator key (Tells us where it was called from) Return: True if you, want to stop any other actions. Currently this looks for return and escape.
Process_Accelerator(integer i1 integer i2)
note that we must test for both process_accelerator and Key because we don't know if a key (e.g. esc=kCancel) has been assigned to on On_key or not. If an on_key, process_accelerator is called, else Key is called augment to check for keys pressed in dropped state. Most likely, when dropped we will trap esc and return and ignore all others
Set(integer iTo)
Set(Integer item# String sValue)
Set(integer iTo)
Set(Integer iItem String sValue)
integerValidate_Combo_Value()
WinCombo_Add_Insert_Value(integer mode integer iItem String sValue)
Internal: Send it the wrong values and watch the smoke!
IntegerWinCombo_Current_Item()
IntegerWinCombo_Item_Matching(String sText)
Perform the item match in the window's control
StringWinCombo_Value(Integer item#)