EditBox 控 件

EditBox 控 件 - 图1

EditBox 控 件 - 图2创 建 一 个 编 辑 框

语 法EditBox 说 明

EditBox 控 件 - 图3EditBox 控 件 - 图4EditBox 控 件 - 图5编辑框控件可用来编辑字符类型的变量 数组元素 字段或备注字段

EditBox 控 件 - 图6EditBox 控 件 - 图7EditBox 控 件 - 图8EditBox 控 件 - 图9EditBox 控 件 - 图10EditBox 控 件 - 图11所有标准的 Visual FoxPro 编辑功能 如剪切 复制和粘贴 在编辑框中都可以使用编辑框中的文本在垂直方向上可以滚动 在水平方向上可以自动换行

EditBox 控 件 - 图12EditBox 控 件 - 图13EditBox 控 件 - 图14EditBox 控 件 - 图15EditBox 控 件 - 图16有关 创建编辑框 的详细内容 请参阅 Microsoft Visual FoxPro 6.0 中文版程序员指南 EditBox 控 件 - 图17 的第十章 使用控件

属 性

A lignment

A llowTabs

Application

BackColor

BackStyle

BaseClass

续 表

BorderColor BorderStyle Class

ClassLibrary ColorScheme ColorSource

Comment ControlSource D isabledBackColor D isabledForeColor DragIcon DragMode

Enabled FontBold FontCondense

FontExtend FontItalic FontName

FontOutline FontShadow FontSize

FontStrikeThru FontUnderline ForeColor

Format Height HelpContextID

H ideSelection IMEMode IntegralHeight

Left M argin M axLength

M ouseIcon M ousePointer Name

NullDisplay OLEDragMode OLEDragPicture

OLEDropEffects OLEDropHasData Property

OLEDropMode

OLEDropTextInserti

on

Parent ParentClass

PasswordChar ReadOnly RightToLeft ScrollBars SelectedBackColor SelectedForeColor SelectOnEntry SelLength SelStart

续 表

SelText SpecialEffect StatusBarText

TabIndex TabStop Tag

TerminateRead Text ToolTipText

Top Value V isible

WhatsThisHelpID W idth

事 件

Click DblClick Destroy

DragDrop DragOver Error

ErrorMessage GotFocus Init

InteractiveChange KeyPress LostFocus

M essage M iddleClick Event M ouseDown

M ouse Move M ouseUp M ouseWheel OLECompleteDrag OLEDragDrop OLEDragOver OLEGiveFeedBack OLESetData OLEStartDrag

ProgrammaticChange RightClick UIEnable Valid When

方 法

AddProperty CloneObject Drag

M ove OLEDrag ReadExpression

续 表

ReadMethod Refresh ResetToDefault

SaveAsClass SetFocus ShowWhatsThis

W riteExpression W riteMethod ZOrder

请 参 阅

CREATE CLASS , CREATE FORM , DEFINE CLASS