文件名称:AlphaControl
介绍说明--下载内容均来自于网络,请自行研究使用
create variant array where we'll copy our data}
arrData := VarArrayCreate([1, StringGrid2.RowCount, 1, StringGrid2.ColCount], varVariant);
{fill array}
for i := 1 to StringGrid2.RowCount do
for j := 1 to StringGrid2.ColCount do
arrData[i, j] := StringGrid2.Cells[j-1, i-1];
{initialize an instance of Excel}
xls := CreateOLEObject('Excel.Application');
{create workbook}
wb := xls.Workbooks.Add;
{retrieve a range where data must be placed}
Range := wb.WorkSheets[1].Range[wb.WorkSheets[1].Cells[1, 1],
wb.WorkSheets[1].Cells[StringGrid2.RowCount, StringGrid2.ColCount]];
{copy data from allocated variant array}
Range.Value := arrData;
{show Excel with our data}
arrData := VarArrayCreate([1, StringGrid2.RowCount, 1, StringGrid2.ColCount], varVariant);
{fill array}
for i := 1 to StringGrid2.RowCount do
for j := 1 to StringGrid2.ColCount do
arrData[i, j] := StringGrid2.Cells[j-1, i-1];
{initialize an instance of Excel}
xls := CreateOLEObject('Excel.Application');
{create workbook}
wb := xls.Workbooks.Add;
{retrieve a range where data must be placed}
Range := wb.WorkSheets[1].Range[wb.WorkSheets[1].Cells[1, 1],
wb.WorkSheets[1].Cells[StringGrid2.RowCount, StringGrid2.ColCount]];
{copy data from allocated variant array}
Range.Value := arrData;
{show Excel with our data}
相关搜索: COM
(系统自动生成,下载前可以参看下载内容)
下载文件列表
文件名 | 大小 | 更新时间 |
---|---|---|
AlphaControl\3rd party.txt | 3625 | 2009-06-11 |
AlphaControl\ac3dNewClass.dcu | 4237 | 2012-02-28 |
AlphaControl\ac3dNewClass.dfm | 1632 | 2008-11-15 |
AlphaControl\ac3dNewClass.pas | 795 | 2008-04-07 |
AlphaControl\ac3rdPartyEditor.dcu | 19940 | 2012-02-28 |
AlphaControl\ac3rdPartyEditor.dfm | 7763 | 2009-04-08 |
AlphaControl\ac3rdPartyEditor.pas | 19679 | 2009-08-13 |
AlphaControl\acAlphaHints.dcu | 33497 | 2012-02-28 |
AlphaControl\acAlphaHints.pas | 42042 | 2009-04-22 |
AlphaControl\acAlphaHintsEdit.dcu | 10079 | 2012-02-28 |
AlphaControl\acAlphaHintsEdit.dfm | 4416 | 2009-03-23 |
AlphaControl\acAlphaHintsEdit.pas | 7275 | 2009-04-28 |
AlphaControl\acAlphaImageList.dcu | 18099 | 2012-02-27 |
AlphaControl\acAlphaImageList.pas | 25221 | 2009-08-21 |
AlphaControl\acApiUtils.pas | 57 | 2007-06-05 |
AlphaControl\acCoolBar.dcu | 16508 | 2012-02-28 |
AlphaControl\acCoolBar.pas | 19914 | 2009-04-09 |
AlphaControl\acD5ShlObj.pas | 2502 | 2006-01-31 |
AlphaControl\acDials.dcu | 54210 | 2012-02-27 |
AlphaControl\acDials.pas | 89244 | 2009-09-08 |
AlphaControl\acGlow.dcu | 6083 | 2012-02-27 |
AlphaControl\acGlow.pas | 6694 | 2009-07-28 |
AlphaControl\acHeaderControl.dcu | 11601 | 2012-02-28 |
AlphaControl\acHeaderControl.pas | 12107 | 2008-12-15 |
AlphaControl\acHintPage.dcu | 16945 | 2012-02-28 |
AlphaControl\acHintPage.dfm | 16707 | 2008-10-16 |
AlphaControl\acHintPage.pas | 16139 | 2009-03-17 |
AlphaControl\acHints.res | 1136 | 2008-10-01 |
AlphaControl\acLFPainter.pas | 99676 | 2009-09-08 |
AlphaControl\acLogo.res | 1844 | 2008-09-25 |
AlphaControl\acMagn.dcu | 20934 | 2012-02-28 |
AlphaControl\acMagn.dfm | 1756 | 2009-02-17 |
AlphaControl\acMagn.pas | 23211 | 2009-08-29 |
AlphaControl\acNotebook.dcu | 14578 | 2012-02-28 |
AlphaControl\acNotebook.pas | 11768 | 2009-06-15 |
AlphaControl\acnt.dcr | 140364 | 2008-10-07 |
AlphaControl\acnt2005.dpk | 1472 | 2008-11-13 |
AlphaControl\acnt2005.res | 1508 | 2005-05-24 |
AlphaControl\acnt2005_R.dpk | 3712 | 2009-01-22 |
AlphaControl\acnt2005_R.res | 876 | 2005-06-28 |
AlphaControl\acnt2006.dpk | 1472 | 2008-11-13 |
AlphaControl\acnt2006.res | 1508 | 2005-05-24 |
AlphaControl\acnt2006_R.dpk | 3712 | 2009-01-22 |
AlphaControl\acnt2006_R.res | 876 | 2005-06-28 |
AlphaControl\acnt2007.dpk | 1472 | 2008-11-13 |
AlphaControl\acnt2007.res | 4396 | 2007-07-18 |
AlphaControl\acnt2007_R.dpk | 3712 | 2009-01-22 |
AlphaControl\acnt2007_R.res | 4396 | 2007-07-18 |
AlphaControl\acnt2009.dpk | 1472 | 2008-11-13 |
AlphaControl\acnt2009.dproj | 6234 | 2009-07-11 |
AlphaControl\acnt2009.res | 4396 | 2008-09-23 |
AlphaControl\acnt2009_R.dcu | 19474 | 2010-10-06 |
AlphaControl\acnt2009_R.dpk | 3685 | 2009-01-22 |
AlphaControl\acnt2009_R.dproj | 9080 | 2009-07-11 |
AlphaControl\acnt2009_R.res | 4396 | 2008-09-23 |
AlphaControl\acnt2010.dcu | 9296 | 2011-12-03 |
AlphaControl\acnt2010.dpk | 1472 | 2009-09-09 |
AlphaControl\acnt2010.dproj | 6234 | 2009-09-09 |
AlphaControl\acnt2010.res | 4396 | 2008-09-23 |
AlphaControl\acnt2010_R.dcu | 19422 | 2011-12-03 |
AlphaControl\acnt2010_R.dpk | 3693 | 2009-09-09 |
AlphaControl\acnt2010_R.dproj | 9077 | 2009-09-09 |
AlphaControl\acnt2010_R.dproj.local | 62 | 2009-09-09 |
AlphaControl\acnt2010_R.res | 4396 | 2008-09-23 |
AlphaControl\acntBCB2006.bpk | 6089 | 2008-04-22 |
AlphaControl\acntBCB2006.cpp | 799 | 2007-01-30 |
AlphaControl\acntBCB2006.res | 4396 | 2007-02-02 |
AlphaControl\acntBCB2006_R.bpk | 13686 | 2008-06-26 |
AlphaControl\acntBCB2006_R.cpp | 662 | 2005-01-31 |
AlphaControl\acntBCB2006_R.res | 4396 | 2007-02-02 |
AlphaControl\acntBCB2007.bpk | 6088 | 2008-04-22 |
AlphaControl\acntBCB2007.cbproj | 30049 | 2008-10-15 |
AlphaControl\acntBCB2007.cpp | 799 | 2007-01-30 |
AlphaControl\acntBCB2007.res | 4396 | 2007-02-02 |
AlphaControl\acntBCB2007_R.bpk | 13687 | 2008-06-26 |
AlphaControl\acntBCB2007_R.cbproj | 18009 | 2008-10-15 |
AlphaControl\acntBCB2007_R.cpp | 662 | 2005-01-31 |
AlphaControl\acntBCB2007_R.res | 4396 | 2007-02-02 |
AlphaControl\acntBCB2009.bpk | 5956 | 2008-10-14 |
AlphaControl\acntBCB2009.cbproj | 12865 | 2008-10-14 |
AlphaControl\acntBCB2009.cpp | 730 | 2008-10-14 |
AlphaControl\acntBCB2009.res | 4396 | 2008-10-14 |
AlphaControl\acntBCB2009_R.bpk | 13556 | 2008-10-14 |
AlphaControl\acntBCB2009_R.cbproj | 18828 | 2008-10-14 |
AlphaControl\acntBCB2009_R.cpp | 662 | 2008-10-14 |
AlphaControl\acntBCB2009_R.res | 4396 | 2008-10-14 |
AlphaControl\acntBCB6.bpk | 6056 | 2008-04-22 |
AlphaControl\acntBCB6.cpp | 799 | 2007-01-30 |
AlphaControl\acntBCB6.res | 1536 | 2005-04-21 |
AlphaControl\acntBCB6_R.bpk | 13667 | 2008-06-26 |
AlphaControl\acntBCB6_R.cpp | 662 | 2005-01-31 |
AlphaControl\acntBCB6_R.res | 1536 | 2005-01-19 |
AlphaControl\acntCB2010.bpk | 5946 | 2009-09-09 |
AlphaControl\acntCB2010.cpp | 730 | 2008-10-14 |
AlphaControl\acntCB2010.res | 4396 | 2008-10-14 |
AlphaControl\acntCB2010_R.bpk | 13548 | 2009-09-09 |
AlphaControl\acntCB2010_R.cpp | 662 | 2008-10-14 |
AlphaControl\acntCB2010_R.res | 4396 | 2008-10-14 |
AlphaControl\acntD5.dpk | 1460 | 2008-11-21 |
AlphaControl\acntD5.res | 1536 | 2005-07-20 |