home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / VCFRMLA1.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  47.4 KB  |  859 lines

  1. //----------------------------------------------------------------------------
  2. // VCFrmla1.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: VCFrmla1.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef VCFrmla1HPP
  6. #define VCFrmla1HPP
  7. //----------------------------------------------------------------------------
  8. #ifndef MenusHPP
  9. #include <Menus.hpp>
  10. #endif
  11.  
  12. #ifndef ControlsHPP
  13. #include <Controls.hpp>
  14. #endif
  15.  
  16. #ifndef OleCtrlsHPP
  17. #include <OleCtrls.hpp>
  18. #endif
  19.  
  20. #ifndef GraphicsHPP
  21. #include <Graphics.hpp>
  22. #endif
  23.  
  24. #ifndef ClassesHPP
  25. #include <Classes.hpp>
  26. #endif
  27.  
  28. #ifndef OleCtlHPP
  29. #include <OleCtl.hpp>
  30. #endif
  31.  
  32. #ifndef OLE2HPP
  33. #include <OLE2.hpp>
  34. #endif
  35.  
  36. #ifndef SystemHPP
  37. #include <System.hpp>
  38. #endif
  39.  
  40. namespace Vcfrmla1
  41. {
  42. //-- type declarations -------------------------------------------------------
  43. typedef void __fastcall (__closure *TVCFormulaOneClick)(System::TObject *Sender, System::Integer nRow
  44.     , System::Integer nCol);
  45.  
  46. typedef void __fastcall (__closure *TVCFormulaOneDblClick)(System::TObject *Sender, System::Integer 
  47.     nRow, System::Integer nCol);
  48.  
  49. typedef void __fastcall (__closure *TVCFormulaOneStartEdit)(System::TObject *Sender,  System::AnsiString &
  50.     EditString, System::Smallint &Cancel);
  51.  
  52. typedef void __fastcall (__closure *TVCFormulaOneEndEdit)(System::TObject *Sender,  System::AnsiString &
  53.     EditString, System::Smallint &Cancel);
  54.  
  55. typedef void __fastcall (__closure *TVCFormulaOneObjClick)(System::TObject *Sender,  System::AnsiString &
  56.     ObjName, System::Integer ObjID);
  57.  
  58. typedef void __fastcall (__closure *TVCFormulaOneObjDblClick)(System::TObject *Sender,  System::AnsiString &
  59.     ObjName, System::Integer ObjID);
  60.  
  61. typedef void __fastcall (__closure *TVCFormulaOneRClick)(System::TObject *Sender, System::Integer nRow
  62.     , System::Integer nCol);
  63.  
  64. typedef void __fastcall (__closure *TVCFormulaOneRDblClick)(System::TObject *Sender, System::Integer 
  65.     nRow, System::Integer nCol);
  66.  
  67. typedef void __fastcall (__closure *TVCFormulaOneObjValueChanged)(System::TObject *Sender,  System::AnsiString &
  68.     ObjName, System::Integer ObjID);
  69.  
  70. typedef void __fastcall (__closure *TVCFormulaOneObjGotFocus)(System::TObject *Sender,  System::AnsiString &
  71.     ObjName, System::Integer ObjID);
  72.  
  73. typedef void __fastcall (__closure *TVCFormulaOneObjLostFocus)(System::TObject *Sender,  System::AnsiString &
  74.     ObjName, System::Integer ObjID);
  75.  
  76. typedef void __fastcall (__closure *TVCFormulaOneValidationFailed)(System::TObject *Sender,  System::AnsiString &
  77.     pEntry, System::Integer nSheet, System::Integer nRow, System::Integer nCol,  System::AnsiString &pShowMessage
  78.     , System::Smallint &pAction);
  79.  
  80. class __declspec(delphiclass) TVCFormulaOne;
  81. class __declspec(pascalimplementation) TVCFormulaOne : public Olectrls::TOleControl
  82. {
  83.     typedef TVCFormulaOne ThisClass;
  84.     typedef Olectrls::TOleControl inherited;
  85.     
  86. private:
  87.     TVCFormulaOneClick FOnClick;
  88.     TVCFormulaOneDblClick FOnDblClick;
  89.     Classes::TNotifyEvent FOnCancelEdit;
  90.     Classes::TNotifyEvent FOnSelChange;
  91.     TVCFormulaOneStartEdit FOnStartEdit;
  92.     TVCFormulaOneEndEdit FOnEndEdit;
  93.     Classes::TNotifyEvent FOnStartRecalc;
  94.     Classes::TNotifyEvent FOnEndRecalc;
  95.     Classes::TNotifyEvent FOnTopLeftChanged;
  96.     TVCFormulaOneObjClick FOnObjClick;
  97.     TVCFormulaOneObjDblClick FOnObjDblClick;
  98.     TVCFormulaOneRClick FOnRClick;
  99.     TVCFormulaOneRDblClick FOnRDblClick;
  100.     TVCFormulaOneObjValueChanged FOnObjValueChanged;
  101.     Classes::TNotifyEvent FOnModified;
  102.     TVCFormulaOneObjGotFocus FOnObjGotFocus;
  103.     TVCFormulaOneObjLostFocus FOnObjLostFocus;
  104.     TVCFormulaOneValidationFailed FOnValidationFailed;
  105.     System::AnsiString __stdcall Get_ColText(System::Integer nCol);
  106.     void __stdcall Set_ColText(System::Integer nCol, const System::AnsiString Value);
  107.     System::AnsiString __stdcall Get_DefinedName(const System::AnsiString pName);
  108.     void __stdcall Set_DefinedName(const System::AnsiString pName, const System::AnsiString Value);
  109.     System::AnsiString __stdcall Get_EntryRC(System::Integer nRow, System::Integer nCol);
  110.     void __stdcall Set_EntryRC(System::Integer nRow, System::Integer nCol, const System::AnsiString Value
  111.         );
  112.     System::AnsiString __stdcall Get_FormattedTextRC(System::Integer nRow, System::Integer nCol);
  113.     void __stdcall Set_FormattedTextRC(System::Integer nRow, System::Integer nCol, const System::AnsiString 
  114.         Value);
  115.     System::AnsiString __stdcall Get_FormulaRC(System::Integer nRow, System::Integer nCol);
  116.     void __stdcall Set_FormulaRC(System::Integer nRow, System::Integer nCol, const System::AnsiString Value
  117.         );
  118.     System::Integer __stdcall Get_LastColForRow(System::Integer nRow);
  119.     void __stdcall Set_LastColForRow(System::Integer nRow, System::Integer Value);
  120.     System::WordBool __stdcall Get_LogicalRC(System::Integer nRow, System::Integer nCol);
  121.     void __stdcall Set_LogicalRC(System::Integer nRow, System::Integer nCol, System::WordBool Value);
  122.     System::Double __stdcall Get_NumberRC(System::Integer nRow, System::Integer nCol);
  123.     void __stdcall Set_NumberRC(System::Integer nRow, System::Integer nCol, System::Double Value);
  124.     System::AnsiString __stdcall Get_RowText(System::Integer nRow);
  125.     void __stdcall Set_RowText(System::Integer nRow, const System::AnsiString Value);
  126.     System::AnsiString __stdcall Get_TextRC(System::Integer nRow, System::Integer nCol);
  127.     void __stdcall Set_TextRC(System::Integer nRow, System::Integer nCol, const System::AnsiString Value
  128.         );
  129.     System::Smallint __stdcall Get_TypeRC(System::Integer nRow, System::Integer nCol);
  130.     void __stdcall Set_TypeRC(System::Integer nRow, System::Integer nCol, System::Smallint Value);
  131.     System::Smallint __stdcall Get_ColWidth(System::Integer nCol);
  132.     void __stdcall Set_ColWidth(System::Integer nCol, System::Smallint Value);
  133.     System::Smallint __stdcall Get_RowHeight(System::Integer nRow);
  134.     void __stdcall Set_RowHeight(System::Integer nRow, System::Smallint Value);
  135.     System::AnsiString __stdcall Get_DefinedNameByIndex(System::Integer nName);
  136.     void __stdcall Set_DefinedNameByIndex(System::Integer nName, const System::AnsiString Value);
  137.     System::AnsiString __stdcall Get_SheetName(System::Integer nSheet);
  138.     void __stdcall Set_SheetName(System::Integer nSheet, const System::AnsiString Value);
  139.     Graphics::TColor __stdcall Get_PaletteEntry(System::Integer nEntry);
  140.     void __stdcall Set_PaletteEntry(System::Integer nEntry, Graphics::TColor Value);
  141.     System::Smallint __stdcall Get_ColWidthTwips(System::Integer Col);
  142.     void __stdcall Set_ColWidthTwips(System::Integer Col, System::Smallint Value);
  143.     System::AnsiString __stdcall Get_ObjItem(System::Integer ID, System::Smallint Item);
  144.     void __stdcall Set_ObjItem(System::Integer ID, System::Smallint Item, const System::AnsiString Value
  145.         );
  146.     System::AnsiString __stdcall Get_ObjItems(System::Integer ID);
  147.     void __stdcall Set_ObjItems(System::Integer ID, const System::AnsiString Value);
  148.     System::AnsiString __stdcall Get_ObjName(System::Integer ID);
  149.     void __stdcall Set_ObjName(System::Integer ID, const System::AnsiString Value);
  150.     System::AnsiString __stdcall Get_ObjText(System::Integer ID);
  151.     void __stdcall Set_ObjText(System::Integer ID, const System::AnsiString Value);
  152.     System::Smallint __stdcall Get_ObjValue(System::Integer ID);
  153.     void __stdcall Set_ObjValue(System::Integer ID, System::Smallint Value);
  154.     System::WordBool __stdcall Get_ObjVisible(System::Integer ID);
  155.     void __stdcall Set_ObjVisible(System::Integer ID, System::WordBool Value);
  156.     System::AnsiString __stdcall Get_AutoFillItems(System::Smallint Index);
  157.     void __stdcall Set_AutoFillItems(System::Smallint Index, const System::AnsiString Value);
  158.     System::WordBool __stdcall Get_ColHidden(System::Integer nCol);
  159.     void __stdcall Set_ColHidden(System::Integer nCol, System::WordBool Value);
  160.     System::WordBool __stdcall Get_RowHidden(System::Integer nRow);
  161.     void __stdcall Set_RowHidden(System::Integer nRow, System::WordBool Value);
  162.     System::WordBool __stdcall Get_SheetSelected(System::Integer nSheet);
  163.     void __stdcall Set_SheetSelected(System::Integer nSheet, System::WordBool Value);
  164.     
  165. protected:
  166.     virtual void __fastcall InitControlData(void);
  167.     
  168. public:
  169.     void __stdcall EditPasteValues(void);
  170.     void __stdcall GetAlignment(System::Smallint &pHorizontal, System::WordBool &pWordWrap, System::Smallint 
  171.         &pVertical, System::Smallint &pOrientation);
  172.     void __stdcall GetBorder(System::Smallint &pLeft, System::Smallint &pRight, System::Smallint &pTop, 
  173.         System::Smallint &pBottom, System::Smallint &pShade, Graphics::TColor &pcrLeft, Graphics::TColor &
  174.         pcrRight, Graphics::TColor &pcrTop, Graphics::TColor &pcrBottom);
  175.     void __stdcall GetFont( System::AnsiString &pName, System::Smallint &pSize, System::WordBool &pBold
  176.         , System::WordBool &pItalic, System::WordBool &pUnderline, System::WordBool &pStrikeout, Graphics::TColor 
  177.         &pcrColor, System::WordBool &pOutline, System::WordBool &pShadow);
  178.     void __stdcall GetLineStyle(System::Smallint &pStyle, Graphics::TColor &pcrColor, System::Smallint 
  179.         &pWeight);
  180.     void __stdcall GetPattern(System::Smallint &pPattern, Graphics::TColor &pcrFG, Graphics::TColor &pcrBG
  181.         );
  182.     void __stdcall GetProtection(System::WordBool &pLocked, System::WordBool &pHidden);
  183.     void __stdcall GetTabbedText(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  184.         nC2, System::WordBool bValuesOnly, System::Integer &phText);
  185.     void __stdcall SetTabbedText(System::Integer nStartRow, System::Integer nStartCol, System::Integer 
  186.         &pRows, System::Integer &pCols, System::WordBool bValuesOnly, const System::AnsiString pText);
  187.     void __stdcall AddColPageBreak(System::Integer nCol);
  188.     void __stdcall AddPageBreak(void);
  189.     void __stdcall AddRowPageBreak(System::Integer nRow);
  190.     void __stdcall AddSelection(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  191.         nC2);
  192.     void __stdcall Attach(const System::AnsiString pTitle);
  193.     void __stdcall AttachToSS(System::Integer hSrcSS);
  194.     void __stdcall CalculationDlg(void);
  195.     void __stdcall CancelEdit(void);
  196.     void __stdcall CheckRecalc(void);
  197.     void __stdcall ClearClipboard(void);
  198.     void __stdcall ClearRange(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  199.         nC2, System::Smallint ClearType);
  200.     void __stdcall ColorPaletteDlg(void);
  201.     void __stdcall ColWidthDlg(void);
  202.     void __stdcall CopyAll(System::Integer hSrcSS);
  203.     void __stdcall CopyRange(System::Integer nDstR1, System::Integer nDstC1, System::Integer nDstR2, System::Integer 
  204.         nDstC2, System::Integer hSrcSS, System::Integer nSrcR1, System::Integer nSrcC1, System::Integer nSrcR2
  205.         , System::Integer nSrcC2);
  206.     void __stdcall DefinedNameDlg(void);
  207.     void __stdcall DeleteDefinedName(const System::AnsiString pName);
  208.     void __stdcall DeleteRange(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  209.         nC2, System::Smallint ShiftType);
  210.     void __stdcall Draw(System::Integer hDC, System::Integer x, System::Integer y, System::Integer cx, 
  211.         System::Integer cy, System::Integer nRow, System::Integer nCol, System::Integer &pRows, System::Integer 
  212.         &pCols, System::Integer nFixedRow, System::Integer nFixedCol, System::Integer nFixedRows, System::Integer 
  213.         nFixedCols);
  214.     void __stdcall EditClear(System::Smallint ClearType);
  215.     void __stdcall EditCopy(void);
  216.     void __stdcall EditCopyDown(void);
  217.     void __stdcall EditCopyRight(void);
  218.     void __stdcall EditCut(void);
  219.     void __stdcall EditDelete(System::Smallint ShiftType);
  220.     void __stdcall EditInsert(System::Smallint ShiftType);
  221.     void __stdcall EditPaste(void);
  222.     void __stdcall EndEdit(void);
  223.     void __stdcall FilePageSetupDlg(void);
  224.     void __stdcall FilePrint(System::WordBool bShowPrintDlg);
  225.     void __stdcall FilePrintSetupDlg(void);
  226.     void __stdcall FormatAlignmentDlg(void);
  227.     void __stdcall FormatBorderDlg(void);
  228.     void __stdcall FormatCurrency0(void);
  229.     void __stdcall FormatCurrency2(void);
  230.     void __stdcall FormatDefaultFontDlg(void);
  231.     void __stdcall FormatFixed(void);
  232.     void __stdcall FormatFixed2(void);
  233.     void __stdcall FormatFontDlg(void);
  234.     void __stdcall FormatFraction(void);
  235.     void __stdcall FormatGeneral(void);
  236.     void __stdcall FormatHmmampm(void);
  237.     void __stdcall FormatMdyy(void);
  238.     void __stdcall FormatNumberDlg(void);
  239.     void __stdcall FormatPatternDlg(void);
  240.     void __stdcall FormatPercent(void);
  241.     void __stdcall FormatScientific(void);
  242.     void __stdcall GetActiveCell(System::Integer &pRow, System::Integer &pCol);
  243.     void __stdcall GetDefaultFont( System::AnsiString &pBuf, System::Smallint &pSize);
  244.     void __stdcall GetHdrSelection(System::WordBool &pTopLeftHdr, System::WordBool &pRowHdr, System::WordBool 
  245.         &pColHdr);
  246.     void __stdcall GetIteration(System::WordBool &pIteration, System::Smallint &pMaxIterations, System::Double 
  247.         &pMaxChange);
  248.     void __stdcall GetPrintScale(System::Smallint &pScale, System::WordBool &pFitToPage, System::Integer 
  249.         &pVPages, System::Integer &pHPages);
  250.     void __stdcall GetSelection(System::Smallint nSelection, System::Integer &pR1, System::Integer &pC1
  251.         , System::Integer &pR2, System::Integer &pC2);
  252.     void __stdcall GotoDlg(void);
  253.     void __stdcall HeapMin(void);
  254.     void __stdcall InitTable(void);
  255.     void __stdcall InsertRange(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  256.         nC2, System::Smallint ShiftType);
  257.     void __stdcall LineStyleDlg(void);
  258.     void __stdcall MoveRange(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  259.         nC2, System::Integer nRowOffset, System::Integer nColOffset);
  260.     void __stdcall ObjAddItem(System::Integer ID, const System::AnsiString pItem);
  261.     void __stdcall ObjAddSelection(System::Integer ID);
  262.     void __stdcall ObjBringToFront(void);
  263.     void __stdcall ObjDeleteItem(System::Integer ID, System::Smallint nItem);
  264.     void __stdcall ObjGetCell(System::Integer ID, System::Smallint &pControlCellType, System::Integer &
  265.         pRow, System::Integer &pCol);
  266.     void __stdcall ObjGetPos(System::Integer ID, System::Single &pX1, System::Single &pY1, System::Single 
  267.         &pX2, System::Single &pY2);
  268.     void __stdcall ObjGetSelection(System::Smallint nSelection, System::Integer &pID);
  269.     void __stdcall ObjInsertItem(System::Integer ID, System::Smallint nItem, const System::AnsiString pItem
  270.         );
  271.     void __stdcall ObjNameDlg(void);
  272.     void __stdcall ObjNew(System::Smallint ObjType, System::Single nX1, System::Single nY1, System::Single 
  273.         nX2, System::Single nY2, System::Integer &pID);
  274.     void __stdcall ObjNewPicture(System::Single nX1, System::Single nY1, System::Single nX2, System::Single 
  275.         nY2, System::Integer &pID, System::Integer hMF, System::Integer nMapMode, System::Integer nWndExtentX
  276.         , System::Integer nWndExtentY);
  277.     void __stdcall ObjOptionsDlg(void);
  278.     void __stdcall ObjPosToTwips(System::Single nX1, System::Single nY1, System::Single nX2, System::Single 
  279.         nY2, System::Integer &pX, System::Integer &pY, System::Integer &pCX, System::Integer &pCY, System::Smallint 
  280.         &pShown);
  281.     void __stdcall ObjSendToBack(void);
  282.     void __stdcall ObjSetCell(System::Integer ID, System::Smallint ControlCellType, System::Integer nRow
  283.         , System::Integer nCol);
  284.     void __stdcall ObjSetPicture(System::Integer ID, System::Integer hMF, System::Smallint nMapMode, System::Integer 
  285.         nWndExtentX, System::Integer nWndExtentY);
  286.     void __stdcall ObjSetPos(System::Integer ID, System::Single nX1, System::Single nY1, System::Single 
  287.         nX2, System::Single nY2);
  288.     void __stdcall ObjSetSelection(System::Integer ID);
  289.     void __stdcall OpenFileDlg(const System::AnsiString pTitle, System::Integer hWndParent,  System::AnsiString &
  290.         pBuf);
  291.     void __stdcall ProtectionDlg(void);
  292.     void __stdcall RangeToTwips(System::Integer nRow1, System::Integer nCol1, System::Integer nRow2, System::Integer 
  293.         nCol2, System::Integer &pX, System::Integer &pY, System::Integer &pCX, System::Integer &pCY, System::Smallint 
  294.         &pShown);
  295.     void __stdcall Read(const System::AnsiString pPathName, System::Smallint &pFileType);
  296.     void __stdcall ReadFromBlob(System::Integer hBlob, System::Smallint nReservedBytes);
  297.     void __stdcall Recalc(void);
  298.     void __stdcall RemoveColPageBreak(System::Integer nCol);
  299.     void __stdcall RemovePageBreak(void);
  300.     void __stdcall RemoveRowPageBreak(System::Integer nRow);
  301.     void __stdcall RowHeightDlg(void);
  302.     void __stdcall SaveFileDlg(const System::AnsiString pTitle,  System::AnsiString &pBuf, System::Smallint 
  303.         &pFileType);
  304.     void __stdcall SaveWindowInfo(void);
  305.     void __stdcall SetActiveCell(System::Integer nRow, System::Integer nCol);
  306.     void __stdcall SetAlignment(System::Smallint HAlign, System::WordBool bWordWrap, System::Smallint VAlign
  307.         , System::Smallint nOrientation);
  308.     void __stdcall SetBorder(System::Smallint nOutline, System::Smallint nLeft, System::Smallint nRight
  309.         , System::Smallint nTop, System::Smallint nBottom, System::Smallint nShade, Graphics::TColor crOutline
  310.         , Graphics::TColor crLeft, Graphics::TColor crRight, Graphics::TColor crTop, Graphics::TColor crBottom
  311.         );
  312.     void __stdcall SetColWidth(System::Integer nC1, System::Integer nC2, System::Smallint nWidth, System::WordBool 
  313.         bDefColWidth);
  314.     void __stdcall SetColWidthAuto(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  315.         nC2, System::WordBool bSetDefaults);
  316.     void __stdcall SetDefaultFont(const System::AnsiString pName, System::Smallint nSize);
  317.     void __stdcall SetFont(const System::AnsiString pName, System::Smallint nSize, System::WordBool bBold
  318.         , System::WordBool bItalic, System::WordBool bUnderline, System::WordBool bStrikeout, Graphics::TColor 
  319.         crColor, System::WordBool bOutline, System::WordBool bShadow);
  320.     void __stdcall SetHdrSelection(System::WordBool bTopLeftHdr, System::WordBool bRowHdr, System::WordBool 
  321.         bColHdr);
  322.     void __stdcall SetIteration(System::WordBool bIteration, System::Smallint nMaxIterations, System::Double 
  323.         nMaxChange);
  324.     void __stdcall SetLineStyle(System::Smallint nStyle, Graphics::TColor crColor, System::Smallint nWeight
  325.         );
  326.     void __stdcall SetPattern(System::Smallint nPattern, Graphics::TColor crFG, Graphics::TColor crBG);
  327.         
  328.     void __stdcall SetPrintAreaFromSelection(void);
  329.     void __stdcall SetPrintScale(System::Smallint nScale, System::WordBool bFitToPage, System::Smallint 
  330.         nVPages, System::Smallint nHPages);
  331.     void __stdcall SetPrintTitlesFromSelection(void);
  332.     void __stdcall SetProtection(System::WordBool bLocked, System::WordBool bHidden);
  333.     void __stdcall SetRowHeight(System::Integer nR1, System::Integer nR2, System::Smallint nHeight, System::WordBool 
  334.         bDefRowHeight);
  335.     void __stdcall SetRowHeightAuto(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  336.         nC2, System::WordBool bSetDefaults);
  337.     void __stdcall SetSelection(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  338.         nC2);
  339.     void __stdcall ShowActiveCell(void);
  340.     void __stdcall Sort3(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  341.         nC2, System::WordBool bSortByRows, System::Integer nKey1, System::Integer nKey2, System::Integer nKey3
  342.         );
  343.     void __stdcall SortDlg(void);
  344.     void __stdcall StartEdit(System::WordBool bClear, System::WordBool bInCellEditFocus, System::WordBool 
  345.         bArrowsExitEditMode);
  346.     void __stdcall SwapTables(System::Integer hSS2);
  347.     void __stdcall TransactCommit(void);
  348.     void __stdcall TransactRollback(void);
  349.     void __stdcall TransactStart(void);
  350.     void __stdcall TwipsToRC(System::Integer x, System::Integer y, System::Integer &pRow, System::Integer 
  351.         &pCol);
  352.     void __stdcall SSUpdate(void);
  353.     System::Smallint __stdcall SSVersion(void);
  354.     void __stdcall Write(const System::AnsiString pPathName, System::Smallint FileType);
  355.     void __stdcall WriteToBlob(System::Integer &phBlob, System::Smallint nReservedBytes);
  356.     void __stdcall SetRowHidden(System::Integer nRow1, System::Integer nRow2, System::WordBool bHidden)
  357.         ;
  358.     void __stdcall SetColHidden(System::Integer nCol1, System::Integer nCol2, System::WordBool bHidden)
  359.         ;
  360.     void __stdcall SetColWidthTwips(System::Integer nCol1, System::Integer nCol2, System::Integer nWidth
  361.         , System::WordBool bDefColWidth);
  362.     void __stdcall EditInsertSheets(void);
  363.     void __stdcall EditDeleteSheets(void);
  364.     void __stdcall InsertSheets(System::Integer nSheet, System::Integer nSheets);
  365.     void __stdcall DeleteSheets(System::Integer nSheet, System::Integer nSheets);
  366.     void __stdcall Refresh(void);
  367.     System::Integer __stdcall NextColPageBreak(System::Integer Col);
  368.     System::Integer __stdcall NextRowPageBreak(System::Integer Row);
  369.     System::Integer __stdcall ObjFirstID(void);
  370.     System::Integer __stdcall ObjNextID(System::Integer ID);
  371.     System::Smallint __stdcall ObjGetItemCount(System::Integer ID);
  372.     System::Smallint __stdcall ObjGetType(System::Integer ID);
  373.     System::Smallint __stdcall ObjGetSelectionCount(void);
  374.     System::AnsiString __stdcall FormatRCNr(System::Integer Row, System::Integer Col, System::WordBool 
  375.         DoAbsolute);
  376.     System::Integer __stdcall SS(void);
  377.     System::AnsiString __stdcall ErrorNumberToText(System::Integer SSError);
  378.     System::Integer __stdcall ObjNameToID(const System::AnsiString Name);
  379.     System::Integer __stdcall DefinedNameCount(void);
  380.     void __stdcall ValidationRuleDlg(void);
  381.     void __stdcall SetValidationRule(const System::AnsiString Rule, const System::AnsiString Text);
  382.     void __stdcall GetValidationRule( System::AnsiString &Rule,  System::AnsiString &Text);
  383.     System::Smallint __stdcall AutoFillItemsCount(void);
  384.     void __stdcall CopyRangeEx(System::Integer nDstSheet, System::Integer nDstR1, System::Integer nDstC1
  385.         , System::Integer nDstR2, System::Integer nDstC2, System::Integer hSrcSS, System::Integer nSrcSheet
  386.         , System::Integer nSrcR1, System::Integer nSrcC1, System::Integer nSrcR2, System::Integer nSrcC2);
  387.         
  388.     void __stdcall Sort(System::Integer nR1, System::Integer nC1, System::Integer nR2, System::Integer 
  389.         nC2, System::WordBool bSortByRows, const System::Variant &Keys);
  390.     void __stdcall DeleteAutoFillItems(System::Smallint nIndex);
  391.     void __stdcall ODBCConnect( System::AnsiString &pConnect, System::WordBool bShowErrors, System::Smallint 
  392.         &pRetCode);
  393.     void __stdcall ODBCDisconnect(void);
  394.     void __stdcall ODBCQuery( System::AnsiString &pQuery, System::Integer nRow, System::Integer nCol, System::WordBool 
  395.         bForceShowDlg, System::WordBool &pSetColNames, System::WordBool &pSetColFormats, System::WordBool 
  396.         &pSetColWidths, System::WordBool &pSetMaxRC, System::Smallint &pRetCode);
  397.     void __stdcall LaunchDesigner(void);
  398.     void __stdcall AboutBox(void);
  399.     __property System::AnsiString ColText[System::Integer nCol] = {read=Get_ColText, write=Set_ColText}
  400.         ;
  401.     __property System::AnsiString DefinedName[System::AnsiString pName] = {read=Get_DefinedName, write=
  402.         Set_DefinedName};
  403.     __property System::AnsiString EntryRC[System::Integer nRow][System::Integer nCol] = {read=Get_EntryRC
  404.         , write=Set_EntryRC};
  405.     __property System::AnsiString FormattedTextRC[System::Integer nRow][System::Integer nCol] = {read=Get_FormattedTextRC
  406.         , write=Set_FormattedTextRC};
  407.     __property System::AnsiString FormulaRC[System::Integer nRow][System::Integer nCol] = {read=Get_FormulaRC
  408.         , write=Set_FormulaRC};
  409.     __property System::Integer LastColForRow[System::Integer nRow] = {read=Get_LastColForRow, write=Set_LastColForRow
  410.         };
  411.     __property System::WordBool LogicalRC[System::Integer nRow][System::Integer nCol] = {read=Get_LogicalRC
  412.         , write=Set_LogicalRC};
  413.     __property System::Double NumberRC[System::Integer nRow][System::Integer nCol] = {read=Get_NumberRC
  414.         , write=Set_NumberRC};
  415.     __property System::AnsiString RowText[System::Integer nRow] = {read=Get_RowText, write=Set_RowText}
  416.         ;
  417.     __property System::AnsiString TextRC[System::Integer nRow][System::Integer nCol] = {read=Get_TextRC
  418.         , write=Set_TextRC};
  419.     __property System::Smallint TypeRC[System::Integer nRow][System::Integer nCol] = {read=Get_TypeRC, 
  420.         write=Set_TypeRC};
  421.     __property System::Smallint ColWidth[System::Integer nCol] = {read=Get_ColWidth, write=Set_ColWidth
  422.         };
  423.     __property System::Smallint RowHeight[System::Integer nRow] = {read=Get_RowHeight, write=Set_RowHeight
  424.         };
  425.     __property System::AnsiString DefinedNameByIndex[System::Integer nName] = {read=Get_DefinedNameByIndex
  426.         , write=Set_DefinedNameByIndex};
  427.     __property System::AnsiString SheetName[System::Integer nSheet] = {read=Get_SheetName, write=Set_SheetName
  428.         };
  429.     __property Graphics::TColor PaletteEntry[System::Integer nEntry] = {read=Get_PaletteEntry, write=Set_PaletteEntry
  430.         };
  431.     __property System::Smallint ColWidthTwips[System::Integer Col] = {read=Get_ColWidthTwips, write=Set_ColWidthTwips
  432.         };
  433.     __property System::AnsiString ObjItem[System::Integer ID][System::Smallint Item] = {read=Get_ObjItem
  434.         , write=Set_ObjItem};
  435.     __property System::AnsiString ObjItems[System::Integer ID] = {read=Get_ObjItems, write=Set_ObjItems
  436.         };
  437.     __property System::AnsiString ObjName[System::Integer ID] = {read=Get_ObjName, write=Set_ObjName};
  438.     __property System::AnsiString ObjText[System::Integer ID] = {read=Get_ObjText, write=Set_ObjText};
  439.     __property System::Smallint ObjValue[System::Integer ID] = {read=Get_ObjValue, write=Set_ObjValue};
  440.         
  441.     __property System::WordBool ObjVisible[System::Integer ID] = {read=Get_ObjVisible, write=Set_ObjVisible
  442.         };
  443.     __property System::AnsiString AutoFillItems[System::Smallint Index] = {read=Get_AutoFillItems, write=
  444.         Set_AutoFillItems};
  445.     __property System::WordBool ColHidden[System::Integer nCol] = {read=Get_ColHidden, write=Set_ColHidden
  446.         };
  447.     __property System::WordBool RowHidden[System::Integer nRow] = {read=Get_RowHidden, write=Set_RowHidden
  448.         };
  449.     __property System::WordBool SheetSelected[System::Integer nSheet] = {read=Get_SheetSelected, write=
  450.         Set_SheetSelected};
  451.     
  452. __published:
  453.     __property TabStop ;
  454.     __property DragCursor ;
  455.     __property DragMode ;
  456.     __property ParentShowHint ;
  457.     __property PopupMenu ;
  458.     __property ShowHint ;
  459.     __property TabOrder ;
  460.     __property Visible ;
  461.     __property OnDragDrop ;
  462.     __property OnDragOver ;
  463.     __property OnEndDrag ;
  464.     __property OnEnter ;
  465.     __property OnExit ;
  466.     __property OnStartDrag ;
  467.     __property OnKeyDown ;
  468.     __property OnKeyPress ;
  469.     __property OnKeyUp ;
  470.     __property OnMouseDown ;
  471.     __property OnMouseMove ;
  472.     __property OnMouseUp ;
  473.     __property Graphics::TColor BackColor = {read=GetColorProp, write=SetColorProp, stored=false, index=3
  474.         , nodefault};
  475.     __property System::Integer Col = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=4, 
  476.         nodefault};
  477.     __property System::Integer Row = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=5, 
  478.         nodefault};
  479.     __property System::Smallint ShowHScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  480.         , index=6, nodefault};
  481.     __property System::AnsiString Text = {read=GetStringProp, write=SetStringProp, stored=false, index=7
  482.         , nodefault};
  483.     __property System::Double Number = {read=GetDoubleProp, write=SetDoubleProp, stored=false, index=8}
  484.         ;
  485.     __property System::AnsiString Formula = {read=GetStringProp, write=SetStringProp, stored=false, index=9
  486.         , nodefault};
  487.     __property System::Integer FixedCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=10
  488.         , nodefault};
  489.     __property System::Integer FixedCols = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=11
  490.         , nodefault};
  491.     __property System::Integer FixedRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=12
  492.         , nodefault};
  493.     __property System::Integer FixedRows = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=13
  494.         , nodefault};
  495.     __property System::WordBool ShowGridLines = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  496.         , index=14, nodefault};
  497.     __property System::WordBool ShowRowHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  498.         , index=15, nodefault};
  499.     __property System::Smallint ShowSelections = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  500.         , index=16, nodefault};
  501.     __property System::Integer LeftCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=17
  502.         , nodefault};
  503.     __property System::Integer MaxCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=18
  504.         , nodefault};
  505.     __property System::Integer MaxRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=19
  506.         , nodefault};
  507.     __property System::Integer TopRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=20
  508.         , nodefault};
  509.     __property System::WordBool AllowResize = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  510.         index=21, nodefault};
  511.     __property System::WordBool AllowSelections = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  512.         , index=22, nodefault};
  513.     __property System::WordBool AllowFormulas = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  514.         , index=23, nodefault};
  515.     __property System::WordBool AllowInCellEditing = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  516.         , index=24, nodefault};
  517.     __property System::Smallint ShowVScrollBar = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  518.         , index=25, nodefault};
  519.     __property System::WordBool AllowFillRange = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  520.         , index=26, nodefault};
  521.     __property System::WordBool AllowMoveRange = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  522.         , index=27, nodefault};
  523.     __property System::Integer SelStartCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  524.         index=28, nodefault};
  525.     __property System::Integer SelStartRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  526.         index=29, nodefault};
  527.     __property System::Integer SelEndCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=30
  528.         , nodefault};
  529.     __property System::Integer SelEndRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=31
  530.         , nodefault};
  531.     __property Graphics::TColor ExtraColor = {read=GetColorProp, write=SetColorProp, stored=false, index=32
  532.         , nodefault};
  533.     __property System::AnsiString FileName = {read=GetStringProp, write=SetStringProp, stored=false, index=33
  534.         , nodefault};
  535.     __property System::WordBool AutoRecalc = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  536.         index=34, nodefault};
  537.     __property System::WordBool PrintGridLines = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  538.         , index=35, nodefault};
  539.     __property System::WordBool PrintRowHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  540.         , index=36, nodefault};
  541.     __property System::WordBool PrintHCenter = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  542.         , index=37, nodefault};
  543.     __property System::WordBool PrintVCenter = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  544.         , index=38, nodefault};
  545.     __property System::WordBool PrintLeftToRight = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  546.         , index=39, nodefault};
  547.     __property System::AnsiString PrintHeader = {read=GetStringProp, write=SetStringProp, stored=false, 
  548.         index=40, nodefault};
  549.     __property System::AnsiString PrintFooter = {read=GetStringProp, write=SetStringProp, stored=false, 
  550.         index=41, nodefault};
  551.     __property System::Double PrintLeftMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, 
  552.         index=42};
  553.     __property System::Double PrintTopMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false, 
  554.         index=43};
  555.     __property System::Double PrintRightMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false
  556.         , index=44};
  557.     __property System::Double PrintBottomMargin = {read=GetDoubleProp, write=SetDoubleProp, stored=false
  558.         , index=45};
  559.     __property System::AnsiString PrintArea = {read=GetStringProp, write=SetStringProp, stored=false, index=46
  560.         , nodefault};
  561.     __property System::AnsiString PrintTitles = {read=GetStringProp, write=SetStringProp, stored=false, 
  562.         index=47, nodefault};
  563.     __property System::WordBool PrintNoColor = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  564.         , index=48, nodefault};
  565.     __property System::AnsiString Selection = {read=GetStringProp, write=SetStringProp, stored=false, index=49
  566.         , nodefault};
  567.     __property System::AnsiString TableName = {read=GetStringProp, write=SetStringProp, stored=false, index=50
  568.         , nodefault};
  569.     __property System::WordBool DoCancelEdit = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  570.         , index=51, nodefault};
  571.     __property System::WordBool DoSelChange = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  572.         index=52, nodefault};
  573.     __property System::WordBool DoStartEdit = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  574.         index=53, nodefault};
  575.     __property System::WordBool DoEndEdit = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=54
  576.         , nodefault};
  577.     __property System::WordBool DoStartRecalc = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  578.         , index=55, nodefault};
  579.     __property System::WordBool DoEndRecalc = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  580.         index=56, nodefault};
  581.     __property System::WordBool DoClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=57
  582.         , nodefault};
  583.     __property System::WordBool DoDblClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  584.         index=58, nodefault};
  585.     __property System::WordBool ShowColHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  586.         , index=59, nodefault};
  587.     __property System::WordBool PrintColHeading = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  588.         , index=60, nodefault};
  589.     __property System::AnsiString Entry = {read=GetStringProp, write=SetStringProp, stored=false, index=61
  590.         , nodefault};
  591.     __property System::WordBool Repaint = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=62
  592.         , nodefault};
  593.     __property System::WordBool AllowArrows = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  594.         index=63, nodefault};
  595.     __property System::WordBool AllowTabs = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=64
  596.         , nodefault};
  597.     __property System::AnsiString FormattedText = {read=GetStringProp, write=SetStringProp, stored=false
  598.         , index=65, nodefault};
  599.     __property System::WordBool RowMode = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=66
  600.         , nodefault};
  601.     __property System::WordBool AllowDelete = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  602.         index=67, nodefault};
  603.     __property System::WordBool EnableProtection = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  604.         , index=68, nodefault};
  605.     __property System::Integer MinCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=69
  606.         , nodefault};
  607.     __property System::Integer MinRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=70
  608.         , nodefault};
  609.     __property System::WordBool DoTopLeftChanged = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  610.         , index=71, nodefault};
  611.     __property System::WordBool AllowEditHeaders = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  612.         , index=72, nodefault};
  613.     __property System::WordBool DoObjClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  614.         index=73, nodefault};
  615.     __property System::WordBool DoObjDblClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  616.         , index=74, nodefault};
  617.     __property System::WordBool AllowObjSelections = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  618.         , index=75, nodefault};
  619.     __property System::WordBool DoRClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=76
  620.         , nodefault};
  621.     __property System::WordBool DoRDblClick = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  622.         index=77, nodefault};
  623.     __property System::AnsiString Clip = {read=GetStringProp, write=SetStringProp, stored=false, index=78
  624.         , nodefault};
  625.     __property System::AnsiString ClipValues = {read=GetStringProp, write=SetStringProp, stored=false, 
  626.         index=79, nodefault};
  627.     __property System::WordBool PrintLandscape = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  628.         , index=80, nodefault};
  629.     __property System::WordBool Enabled = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=-514
  630.         , nodefault};
  631.     __property System::Smallint BorderStyle = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  632.         , index=-504, nodefault};
  633.     __property System::AnsiString AppName = {read=GetStringProp, write=SetStringProp, stored=false, index=81
  634.         , nodefault};
  635.     __property System::Smallint HdrHeight = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  636.         index=82, nodefault};
  637.     __property System::Smallint HdrWidth = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  638.         index=83, nodefault};
  639.     __property System::AnsiString NumberFormat = {read=GetStringProp, write=SetStringProp, stored=false
  640.         , index=84, nodefault};
  641.     __property System::AnsiString TopLeftText = {read=GetStringProp, write=SetStringProp, stored=false, 
  642.         index=85, nodefault};
  643.     __property System::WordBool EnterMovesDown = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  644.         , index=86, nodefault};
  645.     __property System::Integer LastCol = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=87
  646.         , nodefault};
  647.     __property System::Integer LastRow = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=88
  648.         , nodefault};
  649.     __property System::WordBool Logical = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=89
  650.         , nodefault};
  651.     __property System::Smallint Mode = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=90
  652.         , nodefault};
  653.     __property System::Smallint PolyEditMode = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  654.         , index=91, nodefault};
  655.     __property System::Smallint ViewScale = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  656.         index=92, nodefault};
  657.     __property System::Smallint SelectionCount = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  658.         , index=93, nodefault};
  659.     __property System::AnsiString Title = {read=GetStringProp, write=SetStringProp, stored=false, index=94
  660.         , nodefault};
  661.     __property System::Smallint Type_ = {read=GetSmallintProp, write=SetSmallintProp, stored=false, index=95
  662.         , nodefault};
  663.     __property System::WordBool ShowFormulas = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  664.         , index=96, nodefault};
  665.     __property System::WordBool ShowZeroValues = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  666.         , index=97, nodefault};
  667.     __property System::Smallint MousePointer = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  668.         , index=2, nodefault};
  669.     __property System::Variant MouseIcon = {read=GetVariantProp, write=SetVariantProp, stored=false, index=98
  670.         };
  671.     __property System::WordBool DoObjValueChanged = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  672.         , index=99, nodefault};
  673.     __property System::WordBool ScrollToLastRC = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  674.         , index=100, nodefault};
  675.     __property System::WordBool Modified = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, index=101
  676.         , nodefault};
  677.     __property System::WordBool DoObjGotFocus = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  678.         , index=102, nodefault};
  679.     __property System::WordBool DoObjLostFocus = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  680.         , index=103, nodefault};
  681.     __property System::Integer PrintDevMode = {read=GetIntegerProp, write=SetIntegerProp, stored=false, 
  682.         index=104, nodefault};
  683.     __property System::Integer NumSheets = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=105
  684.         , nodefault};
  685.     __property System::Integer Sheet = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=106
  686.         , nodefault};
  687.     __property System::Smallint ColWidthUnits = {read=GetSmallintProp, write=SetSmallintProp, stored=false
  688.         , index=107, nodefault};
  689.     __property System::WordBool ShowTypeMarkers = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  690.         , index=108, nodefault};
  691.     __property System::Smallint ShowTabs = {read=GetSmallintProp, write=SetSmallintProp, stored=false, 
  692.         index=109, nodefault};
  693.     __property System::WordBool ShowEditBar = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false, 
  694.         index=110, nodefault};
  695.     __property System::WordBool ShowEditBarCellRef = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  696.         , index=111, nodefault};
  697.     __property System::WordBool AllowDesigner = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  698.         , index=1, nodefault};
  699.     __property System::Integer hWnd = {read=GetIntegerProp, write=SetIntegerProp, stored=false, index=-515
  700.         , nodefault};
  701.     __property System::WordBool AllowAutoFill = {read=GetOleBoolProp, write=SetOleBoolProp, stored=false
  702.         , index=112, nodefault};
  703.     __property TVCFormulaOneClick OnClick = {read=FOnClick, write=FOnClick};
  704.     __property TVCFormulaOneDblClick OnDblClick = {read=FOnDblClick, write=FOnDblClick};
  705.     __property Classes::TNotifyEvent OnCancelEdit = {read=FOnCancelEdit, write=FOnCancelEdit};
  706.     __property Classes::TNotifyEvent OnSelChange = {read=FOnSelChange, write=FOnSelChange};
  707.     __property TVCFormulaOneStartEdit OnStartEdit = {read=FOnStartEdit, write=FOnStartEdit};
  708.     __property TVCFormulaOneEndEdit OnEndEdit = {read=FOnEndEdit, write=FOnEndEdit};
  709.     __property Classes::TNotifyEvent OnStartRecalc = {read=FOnStartRecalc, write=FOnStartRecalc};
  710.     __property Classes::TNotifyEvent OnEndRecalc = {read=FOnEndRecalc, write=FOnEndRecalc};
  711.     __property Classes::TNotifyEvent OnTopLeftChanged = {read=FOnTopLeftChanged, write=FOnTopLeftChanged
  712.         };
  713.     __property TVCFormulaOneObjClick OnObjClick = {read=FOnObjClick, write=FOnObjClick};
  714.     __property TVCFormulaOneObjDblClick OnObjDblClick = {read=FOnObjDblClick, write=FOnObjDblClick};
  715.     __property TVCFormulaOneRClick OnRClick = {read=FOnRClick, write=FOnRClick};
  716.     __property TVCFormulaOneRDblClick OnRDblClick = {read=FOnRDblClick, write=FOnRDblClick};
  717.     __property TVCFormulaOneObjValueChanged OnObjValueChanged = {read=FOnObjValueChanged, write=FOnObjValueChanged
  718.         };
  719.     __property Classes::TNotifyEvent OnModified = {read=FOnModified, write=FOnModified};
  720.     __property TVCFormulaOneObjGotFocus OnObjGotFocus = {read=FOnObjGotFocus, write=FOnObjGotFocus};
  721.     __property TVCFormulaOneObjLostFocus OnObjLostFocus = {read=FOnObjLostFocus, write=FOnObjLostFocus}
  722.         ;
  723.     __property TVCFormulaOneValidationFailed OnValidationFailed = {read=FOnValidationFailed, write=FOnValidationFailed
  724.         };
  725. public:
  726.     /* !! TOleControl.Create */ __fastcall virtual TVCFormulaOne(Classes::TComponent *AOwner) : Olectrls::TOleControl(
  727.         AOwner) { }
  728.     /* !! TOleControl.Destroy */ __fastcall virtual ~TVCFormulaOne(void) { }
  729.     
  730. };
  731.  
  732. //-- var, const, procedure ---------------------------------------------------
  733. #define F1ColWidthUnitsCharacters System::Byte(0)
  734. #define F1ColWidthUnitsTwips System::Byte(1)
  735. #define F1Default System::Byte(0)
  736. #define F1Arrow System::Byte(1)
  737. #define F1Cross System::Byte(2)
  738. #define F1IBeam System::Byte(3)
  739. #define F1Icon System::Byte(4)
  740. #define F1Size System::Byte(5)
  741. #define F1SizeNESW System::Byte(6)
  742. #define F1SizeNS System::Byte(7)
  743. #define F1SizeNWSE System::Byte(8)
  744. #define F1SizeWE System::Byte(9)
  745. #define F1UpArrow System::Byte(10)
  746. #define F1Hourglass System::Byte(11)
  747. #define F1NoDrop System::Byte(12)
  748. #define F1Custom System::Byte(13)
  749. #define F1Off System::Byte(0)
  750. #define F1On System::Byte(1)
  751. #define F1Auto System::Byte(2)
  752. #define F1TabsOff System::Byte(0)
  753. #define F1TabsBottom System::Byte(1)
  754. #define F1TabsTop System::Byte(2)
  755. #define F1ModeNormal System::Byte(0)
  756. #define F1ModeLine System::Byte(1)
  757. #define F1ModeRectangle System::Byte(2)
  758. #define F1ModeOval System::Byte(3)
  759. #define F1ModeArc System::Byte(4)
  760. #define F1ModeChart System::Byte(5)
  761. #define F1ModeField System::Byte(6)
  762. #define F1ModeButton System::Byte(7)
  763. #define F1ModePolygon System::Byte(8)
  764. #define F1ModeCheckBox System::Byte(9)
  765. #define F1ModeDropDown System::Byte(10)
  766. #define F1PolyEditModeNormal System::Byte(0)
  767. #define F1PolyEditModePoints System::Byte(1)
  768. #define F1ShiftHorizontal System::Byte(1)
  769. #define F1ShiftVertical System::Byte(2)
  770. #define F1ShiftRows System::Byte(3)
  771. #define F1ShiftCols System::Byte(4)
  772. #define F1HAlignGeneral System::Byte(1)
  773. #define F1HAlignLeft System::Byte(2)
  774. #define F1HAlignCenter System::Byte(3)
  775. #define F1HAlignRight System::Byte(4)
  776. #define F1HAlignFill System::Byte(5)
  777. #define F1HAlignJustify System::Byte(6)
  778. #define F1HAlignCenterAcrossCells System::Byte(7)
  779. #define F1VAlignTop System::Byte(1)
  780. #define F1VAlignCenter System::Byte(2)
  781. #define F1VAlignBottom System::Byte(3)
  782. #define F1ClearDlg System::Byte(0)
  783. #define F1ClearAll System::Byte(1)
  784. #define F1ClearFormats System::Byte(2)
  785. #define F1ClearValues System::Byte(3)
  786. #define F1FileFormulaOne System::Byte(1)
  787. #define F1FileExcel4 System::Byte(2)
  788. #define F1FileTabbedText System::Byte(3)
  789. #define F1FileExcel5 System::Byte(4)
  790. #define F1FileFormulaOne3 System::Byte(5)
  791. #define F1FileTabbedTextValuesOnly System::Byte(6)
  792. #define F1ObjLine System::Byte(1)
  793. #define F1ObjRectangle System::Byte(2)
  794. #define F1ObjOval System::Byte(3)
  795. #define F1ObjArc System::Byte(4)
  796. #define F1ObjChart System::Byte(5)
  797. #define F1ObjButton System::Byte(7)
  798. #define F1ObjPolygon System::Byte(8)
  799. #define F1ObjCheckBox System::Byte(9)
  800. #define F1ObjDropDown System::Byte(10)
  801. #define F1ObjPicture System::Byte(11)
  802. #define F1ErrorNone System::Byte(0)
  803. #define F1ErrorGeneral System::Smallint(20001)
  804. #define F1ErrorBadArgument System::Smallint(20002)
  805. #define F1ErrorNoMemory System::Smallint(20003)
  806. #define F1ErrorBadFormula System::Smallint(20004)
  807. #define F1ErrorBufTooShort System::Smallint(20005)
  808. #define F1ErrorNotFound System::Smallint(20006)
  809. #define F1ErrorBadRC System::Smallint(20007)
  810. #define F1ErrorBadHSS System::Smallint(20008)
  811. #define F1ErrorTooManyHSS System::Smallint(20009)
  812. #define F1ErrorNoTable System::Smallint(20010)
  813. #define F1ErrorUnableToOpenFile System::Smallint(20011)
  814. #define F1ErrorInvalidFile System::Smallint(20012)
  815. #define F1ErrorInsertShiftOffTable System::Smallint(20013)
  816. #define F1ErrorOnlyOneRange System::Smallint(20014)
  817. #define F1ErrorNothingToPaste System::Smallint(20015)
  818. #define F1ErrorBadNumberFormat System::Smallint(20016)
  819. #define F1ErrorTooManyFonts System::Smallint(20017)
  820. #define F1ErrorTooManySelectedRanges System::Smallint(20018)
  821. #define F1ErrorUnableToWriteFile System::Smallint(20019)
  822. #define F1ErrorNoTransaction System::Smallint(20020)
  823. #define F1ErrorNothingToPrint System::Smallint(20021)
  824. #define F1ErrorPrintMarginsDontFit System::Smallint(20022)
  825. #define F1ErrorCancel System::Smallint(20023)
  826. #define F1ErrorUnableToInitializePrinter System::Smallint(20024)
  827. #define F1ErrorStringTooLong System::Smallint(20025)
  828. #define F1ErrorFormulaTooLong System::Smallint(20026)
  829. #define F1ErrorUnableToOpenClipboard System::Smallint(20027)
  830. #define F1ErrorPasteWouldOverflowSheet System::Smallint(20028)
  831. #define F1ErrorLockedCellsCannotBeModified System::Smallint(20029)
  832. #define F1ErrorLockedDocCannotBeModified System::Smallint(20030)
  833. #define F1ErrorInvalidName System::Smallint(20031)
  834. #define F1ErrorCannotDeleteNameInUse System::Smallint(20032)
  835. #define F1ErrorUnableToFindName System::Smallint(20033)
  836. #define F1ErrorNoWindow System::Smallint(20034)
  837. #define F1ErrorSelection System::Smallint(20035)
  838. #define F1ErrorTooManyObjects System::Smallint(20036)
  839. #define F1ErrorInvalidObjectType System::Smallint(20037)
  840. #define F1ErrorObjectNotFound System::Smallint(20038)
  841. #define F1ErrorInvalidRequest System::Smallint(20039)
  842. #define F1ErrorBadValidationRule System::Smallint(20040)
  843. #define F1ErrorBadInputMask System::Smallint(20041)
  844. #define F1ErrorValidationFailed System::Smallint(20042)
  845. #define F1ErrorNoODBCConnection System::Smallint(20043)
  846. #define F1ErrorUnableToLoadODBC System::Smallint(20044)
  847. #define F1ErrorUnsupportedFeature System::Smallint(20045)
  848. #define F1ControlNoCell System::Byte(0)
  849. #define F1ControlCellValue System::Byte(1)
  850. #define F1ControlCellText System::Byte(2)
  851. extern void __fastcall Register(void);
  852.  
  853. }    /* namespace Vcfrmla1 */
  854. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  855. using namespace Vcfrmla1;
  856. #endif
  857. //-- end unit ----------------------------------------------------------------
  858. #endif    // VCFrmla1
  859.