Page 对 象
在 页框
中 创建 一个页面
语 法
Page
说 明
使用页面可以
创建 带选项卡的表单或 对话框 一组页面包含在 页框 中可以象下例这样
通过名称引用 页框 中的一个页面
myFrame.MyPage1
也可以使用
PAGES 关键字通过页面的编号引用该页面 这与 Visual FoxPro 其他
容器中的控件集合相一致
myFrame.PAGES(2).Enabled = .T.
这个索引不必等于
the PageOrder 属性 如果有三个页面 它们的 PageOrders 分别是
2
3 和 5 就可以这样引用这三个页面
myFrame.PAGES(1) myFrame.PAGES(2) myFrame.PAGES(3)
当具有页面的表单发生
Refresh 方法 时 只刷新活动页面
有关
创建页面和页框的 详细内容 请参阅 Microsoft Visual FoxPro 6.0
中文版程序员指南
的第 十 章 使用控件 中的 扩展表单
属 性
ActiveControl |
Application |
BackColor |
---|---|---|
BackStyle |
BaseClass |
Caption |
Class |
ClassLibrary |
ColorSource |
Comment |
ControlCount |
Controls |
DragIcon |
DragMode |
Enabled |
FontBold |
FontCondense |
FontExtend |
FontItalic |
FontName |
FontOutline |
FontShadow |
FontSize |
FontStrikeThru |
FontUnderline |
ForeColor |
HelpContextID |
M ouseIcon |
M ousePointer |
Name |
OLEDragMode |
OLEDragPicture |
OLEDropEffects |
OLEDropHasData |
OLEDropMode |
PageOrder |
Parent |
ParentClass |
Picture |
Tag |
ToolTipText |
WhatsThisHelpID |
事 件 | ||
Activate |
Click |
DblClick |
续 表
Deactivate Destroy DragDrop
DragOver Error Init
M iddleClick M ouseDown M ouse Move
M ouseUp M ouseWheel OLECompleteDrag OLEDragDrop OLEDragOver OLEGiveFeedBack OLESetData OLEStartDrag RightClick
方 法
AddObject AddProperty CloneObject
Drag OLEDrag ReadExpression
ReadMethod Refresh RemoveObject
ResetToDefault SaveAsClass SetAll
W riteExpression W riteMethod Zorder
请 参 阅
CREATE FORM , CREATE CLASS, DEFINE CLASS, PageFrame 控 件