//AB/ Project Customer List //AB/ Object prj is a Lookup_Project //AB/ Set ProjectName to "Customer List" //AB/ Set ProjectFileName to "Customer.SL" //AB/ Set GenerateFileName to "NONAME" //AB/ Set Size to 183 269 // Project Object Structure // Customer_sl is a dbModalPanel // Customer_DD is a DataDictionary // oSelList is a dbList // oOK_bn is a Button // oCancel_bn is a Button // oSearch_bn is a Button // Register all objects Register_Object Customer_DD Register_Object Customer_sl Register_Object oCancel_bn Register_Object oOK_bn Register_Object oSearch_bn Register_Object oSelList //AB-IgnoreStart Use Windows.pkg Use DataDict.pkg //AB-IgnoreEnd //AB-IgnoreStart Use CUSTOMER.DD //AB-IgnoreEnd Cd_Popup_Object Customer_sl Is A dbModalPanel //AB-StoreTopStart //Set help_id To CustomerPromptHelpId //AB-StoreTopEnd Set Border_Style To Border_Thick Set Minimize_Icon To False Set Label To "Customer List" Set Size to 131 237 Set Location To 4 5 Set piMinSize to 77 169 //AB-DDOStart Object Customer_DD Is A Customer_DataDictionary End_Object // Customer_DD Set Main_DD To Customer_DD Set Server To Customer_DD //AB-DDOEnd Object oSelList Is A dbList Set Main_File To Customer.File_Number Set Ordering To 1 Set Size To 106 227 Set Location To 6 6 Set peAnchors To anAll Set pbHeaderTogglesDirection To True Begin_Row Entry_Item Customer.Customer_number Entry_Item Customer.Name End_Row Set Form_Width Item 0 To 38 Set Header_Label Item 0 To "Number" Set Form_Width Item 1 To 183 Set Header_Label Item 1 To "Customer Name" //AB-StoreStart //AB-StoreEnd End_Object // oSelList Object oOK_bn Is A Button Set Label To "&Ok" Set Location To 116 75 Set peAnchors To anBottomRight //AB-StoreStart Procedure OnClick Send OK To oSelList End_Procedure //AB-StoreEnd End_Object // oOK_bn Object oCancel_bn Is A Button Set Label To "&Cancel" Set Location To 116 129 Set peAnchors To anBottomRight //AB-StoreStart Procedure OnClick Send Cancel To oSelList End_Procedure //AB-StoreEnd End_Object // oCancel_bn Object oSearch_bn Is A Button Set Label To "&Search..." Set Location To 116 183 Set peAnchors To anBottomRight //AB-StoreStart Procedure OnClick Send Search To oSelList End_Procedure //AB-StoreEnd End_Object // oSearch_bn //AB-StoreStart On_Key Key_Alt+Key_O Send KeyAction To oOk_bn On_Key Key_Alt+Key_C Send KeyAction To oCancel_bn On_Key Key_Alt+Key_S Send KeyAction To oSearch_bn //AB-StoreEnd Cd_End_Object // Customer_sl //AB/ End_Object // prj