//AB/ Project CTab Sample View //AB/ Object oIDE_Project is a View_Project //AB/ Set ProjectName to "CTab Sample View" //AB/ Set ProjectFileName to "CTab.VW" // Project Object Structure // oCTab is a dbView // oForm1 is a Form // oCTab1 is a cWinCTab // oWinCTabPage1 is a cWinCTabPage // oWinForm4 is a cWinForm // oWinLink4 is a cWinLink // oWinSpinForm4 is a cWinSpinForm // oDateTimePick4 is a cDateTimePick // oWinCheckBox4 is a cWinCheckBox // oWinEdit4 is a cWinEdit // oWinGroup4 is a cWinGroup // oWinCTabPage2 is a cWinCTabPage // oWinCTabPage3 is a cWinCTabPage // oWinCTabPage4 is a cWinCTabPage // oWinCTabPage5 is a cWinCTabPage // Register all objects Register_Object oCTab Register_Object oCTab1 Register_Object oDateTimePick4 Register_Object oForm1 Register_Object oWinCheckBox4 Register_Object oWinCTabPage1 Register_Object oWinCTabPage2 Register_Object oWinCTabPage3 Register_Object oWinCTabPage4 Register_Object oWinCTabPage5 Register_Object oWinEdit4 Register_Object oWinForm4 Register_Object oWinGroup4 Register_Object oWinLink4 Register_Object oWinSpinForm4 //AB-IgnoreStart Use dfClient.pkg Use Windows.pkg Use cWinCTab.pkg Use cWinForm.pkg Use cWinLink.pkg Use cWinSpinForm.pkg Use cDateTimePick.pkg Use cWinCheckBox.pkg Use cWinEdit.pkg Use cWinGroup.pkg //AB-IgnoreEnd ACTIVATE_VIEW Activate_oCTab FOR oCTab Object oCTab is a dbView Set Border_Style to Border_Thick Set Label to "Cool Tabs" Set Location to 14 36 Set Size to 172 348 Set piMaxSize to 172 348 Set piMinSize to 172 348 //AB-DDOStart //AB-DDOEnd Object oForm1 is a Form Set Size to 13 85 Set Location to -100 -100 //AB-StoreStart //Procedure OnChange // String sValue // Get value to sValue // //End_Procedure // OnChange //AB-StoreEnd End_Object // oForm1 Object oCTab1 is a cWinCTab //AB-StoreTopStart Set CTab_Image CTab_Default To "Ctab1.bmp" Set CTab_Image CTab_Over To "CtabOver1.bmp" Set CTab_Image CTab_Down To "CtabDown1.bmp" Set CTab_Image CTab_Selected To "CtabSel1.bmp" //AB-StoreTopEnd Set Location to 4 3 Set Size to 168 340 Set peAnchors to anTopBottom Object oWinCTabPage1 is a cWinCTabPage Set Size to 152 335 Set Label to "Customer" Object oWinForm4 is a cWinForm Set Label to "Form" Set Size to 13 85 Set Location to 9 59 Set Label_Col_Offset to 2 Set Label_Justification_Mode to jMode_Right Set psToolTip to "cWinForm sample" Set psToolTipTitle to "cWinForm" End_Object // oWinForm4 Object oWinLink4 is a cWinLink Set Location to 3 313 Set Size to 9 25 Set Color to 15919056 Set TextColor to clNavy Set pbHotTrack to TRUE Set Label to "Help" Set FontSize to 10 0 Set TypeFace to "MS Sans Serif" Set FontUnderline to TRUE Set piCursor to BUTTON_IDC_HELP Set psToolTip to "Click here to popup a help topic" Set psToolTipTitle to "Help" Set Pointer_Only_State to TRUE Set pbAutoStatusHelpAsToolTip to FALSE End_Object // oWinLink4 Object oWinSpinForm4 is a cWinSpinForm Set Label to "Spinform" Set Size to 13 54 Set Location to 25 59 Set Label_Col_Offset to 2 Set Label_Justification_Mode to jMode_Right End_Object // oWinSpinForm4 Object oDateTimePick4 is a cDateTimePick Set Location to 41 59 Set Size to 14 90 End_Object // oDateTimePick4 Object oWinCheckBox4 is a cWinCheckBox Set Label to "oWinCheckBox1" Set Size to 10 70 Set Location to 57 59 Set Color to 15919056 End_Object // oWinCheckBox4 Object oWinEdit4 is a cWinEdit Set Size to 72 257 Set Location to 70 57 Set Status_Help to "This is a cWinEdit control" Set peAnchors to anTopBottom End_Object // oWinEdit4 Object oWinGroup4 is a cWinGroup Set Size to 60 135 Set Location to 6 157 Set Color to 15919056 Set Label to "oWinGroup1" End_Object // oWinGroup4 End_Object // oWinCTabPage1 Object oWinCTabPage2 is a cWinCTabPage Set Size to 152 335 Set Label to "Sales person" End_Object // oWinCTabPage2 Object oWinCTabPage3 is a cWinCTabPage Set Size to 152 335 Set Label to "Inventory" End_Object // oWinCTabPage3 Object oWinCTabPage4 is a cWinCTabPage Set Size to 152 335 Set Label to "Orders" End_Object // oWinCTabPage4 Object oWinCTabPage5 is a cWinCTabPage Set Size to 152 335 Set Label to "Shipment" End_Object // oWinCTabPage5 //AB-StoreStart //AB-StoreEnd End_Object // oCTab1 //AB-StoreStart //AB-StoreEnd End_Object // oCTab //AB/ End_Object // oIDE_Project