Skip to content

Combo_Fill_List - ComboEntry

Called when the combo list is to be filled

Type: Event

Syntax

Procedure Combo_Fill_List

Description

The Combo_Fill_List message is called when the combo list is to be filled. By default, it does nothing. You must supply the code to fill the combo list. This procedure will usually consist of one or more Combo_Add_Item messages.

Procedure Combo_Fill_List
    Send Combo_Delete_Data
    Send Combo_Add_Item "Research"
    Send Combo_Add_Item "Accounting"
    Send Combo_Add_Item "Support"
    Send Combo_Add_Item "Marketing"
End_Procedure

Procedure Combo_Fill_List
    Send Combo_Delete_Data
    Clear MyTable
    Find gt MyTable by 1
    While (found)
        Send Combo_Add_Item MyTable.Code
        Find gt MyTable by 1
    End
End_Procedure

See Also

Combo_Add_Item | Combo_Delete_Data | Combo_Item_Count | Combo_value | Combo_Insert_Item | Combo_Delete_Item | Combo_Item_Matching | Validate_Combo_Value | Add_Form_to_List