iCentroView CVDsoFramer Control

Navigation:  组态系统介绍 > iCentroView控件介绍 >

iCentroView CVDsoFramer Control

Previous pageReturn to chapter overviewNext page

iCentroView CVDsoFramer Control 为excel控件

u添加控件

u控件可使用的方法


 

u添加控件

在工具栏上点击插入activex控件,选择iCentroView CVDsoFramer Control,点击确定,如下图:

zt_ActiveIntro_05zt_ActiveIntro_09

 

u控件可使用方法

iCentroView CVDsoFramer Control为excel控件,有以下方法:

OpenFileSel

打开文件选择框选择文件

例如:cvdsoframer1.OpenFileSel

 

OpenFile

直接打开某个excel文件

例如:cvdsoframer1.OpenFile "c:\\icvfile\tag_20141118.xls"

 

FileSave

文件保存

例如:cvdsoframer1.FileSave

 

FileSaveAs

文件另存

例如:cvdsoframer1.FileSaveAs

 

CloseFile

关闭当前文件

例如:cvdsoframer1.CloseFile

 

ShowToolbar

显示或隐藏工具条,设置是否显示工具条,1是显示,0是隐藏

例如:cvdsoframer1.ShowToolbar 1

 

PrintPreview

打印预览

例如:cvdsoframer1.PrintPreview

 

PrintPreviewExit

退出打印预览

例如:cvdsoframer1.PrintPreviewExit

 

PageSetup

页面设置

例如:cvdsoframer1.PageSetup

 

Print

打印

例如:cvdsoframer1.Print