//AB/ Project Inventory List //AB/ Object prj is a Lookup_Project //AB/ Set ProjectName to "Inventory List" //AB/ Set ProjectFileName to "Invt.SL" //AB/ Set GenerateFileName to "NONAME" //AB/ Set Size to 182 315 // Project Object Structure // Invt_sl is a dbModalPanel // Vendor_DD is a DataDictionary // Invt_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 Invt_DD Register_Object Invt_sl Register_Object oCancel_bn Register_Object oOK_bn Register_Object oSearch_bn Register_Object oSelList Register_Object Vendor_DD //AB-IgnoreStart Use Windows.pkg Use DataDict.pkg //AB-IgnoreEnd //AB-IgnoreStart Use VENDOR.DD Use INVT.DD //AB-IgnoreEnd Cd_Popup_Object Invt_sl Is A dbModalPanel //AB-StoreTopStart //Set Help_id To InventoryPromptHelpId //AB-StoreTopEnd Set Minimize_Icon To False Set Label To "Inventory List" Set Size to 130 282 Set Location To 4 5 Set piMinSize to 77 169 //AB-DDOStart Object Vendor_DD Is A Vendor_DataDictionary End_Object // Vendor_DD Object Invt_DD Is A Invt_DataDictionary Set DDO_Server To Vendor_DD End_Object // Invt_DD Set Main_DD To Invt_DD Set Server To Invt_DD //AB-DDOEnd Object oSelList Is A dbList Set Main_File To Invt.File_Number Set Ordering To 1 Set Size To 105 273 Set Location To 6 6 Set peAnchors To anAll Set pbHeaderTogglesDirection To True Begin_Row Entry_Item Invt.Item_id Entry_Item Invt.Description Entry_Item Invt.Unit_price Entry_Item Invt.On_hand End_Row Set Form_Width Item 0 To 55 Set Header_Label Item 0 To "Item Id" Set Form_Width Item 1 To 125 Set Header_Label Item 1 To "Description" Set Form_Width Item 2 To 48 Set Header_Label Item 2 To "Unit Price" Set Form_Width Item 3 To 40 Set Header_Label Item 3 To "On Hand" //AB-StoreStart Set Currency_Mask Item 2 To 6 2 Set Numeric_Mask Item 3 To 6 0 //AB-StoreEnd End_Object // oSelList Object oOK_bn Is A Button Set Label To "&Ok" Set Location To 116 120 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 174 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 229 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 // Invt_sl //AB/ End_Object // prj