📄 ambertable说明.txt
字号:
style.styledtring="width=100%"
<property name="TableStyle" 表格属性
<property name="Header" 页眉对象 (内容:value 风格:style 字体:font)
<property name="Footer" 页脚对象
<property name="Title" 表格标题
<property name="imagePath" 表格中用到的图片的路经
<property name="ColumnCount" 表格中总的栏数(只读)
<property name="KeyField" 用作删除的字段名
<property name="delconfirm" 删除前提示的话
<property name="Cols" 表格列的集合
<property name="PageSize" 记录分页时,没页的记录数(当设置此值后,自动按分页方式显示表格)
<property name="AbsolutePage" 当前页(只读)
<property name="TableMode"
<method name="init"/> 表格对象初始化过程,每次新建对象都要执行
<method name="SetRS"> 设置recordset对象,使用此方法后,表格不能再用setconnection,setsql方法,且不支持排序,分页
设置 adodb.connection 对象,使用此方法后,表格不能再用setRS方法.
<method name="SetConnection" >
<PARAMETER name="Connection"/>
</method>
设置 查询SQL字符串,此方法要在setConnection之后使用。
<method name="SetSql">
<PARAMETER name="sql"/>
</method>
<method name="AddColumn">
<PARAMETER name="key"/> 集合索引
<PARAMETER name="caption"/> 列标题
<PARAMETER name="fieldstring"/> 内容
<PARAMETER name="Style"/> 风格
</method>
<method name="CreateTable"/>
<method name="DisplayTable"/>
<method name="adddelcol">
<PARAMETER name="key"/> 集合索引
<PARAMETER name="Style"/> 风格
</method>
<method name="AddDefaultCols">
<PARAMETER name="Style"/>
</method>
<method name="SetTitle">
<PARAMETER name="Title"/>
</method>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -