Top
PowerCOBOL V11.0 Reference
FUJITSU Software

3.11 Edit Control

Description:

The Edit control provides text entry and editing functions. It offers only single line entry.

The Edit control is a lightweight version of the TextBox control, and does not provide the RenderText property for formatting the entered character string. It does, however, support some features not supported by the TextBox control, namely being able to bind the control to an ADODataSource control (using the DataSource, DataMember and DataField properties, and UpdateRecord method) and has the ReturnWhen... properties.

See the ADODataSource.ppj sample in the Edit subfolder of the PowerCOBOL samples folder for an example of connecting the Edit control to the data of an ADODataSource control.

Sample image:

Properties:

Appearance

Array

BackColor

BorderStyle

ClassMajorVersion

ClassMinorVersion

ClassProgID

Container

DataField

DataMember

DataSource

EditWhenGotFocus

Enabled

Font

ForeColor

Height

Highlight

HighlightColor

IMEMode

Index

Left

MaxLength

Name

Parent

Password

PasswordChar

Printable

ReadOnly

ReturnWhenEnterKey

ReturnWhenLostFocus

ReturnWhenMaxText

ScaleMode

ScalingStyle

SelectText

TabGroup

TabIndex

TabStop

Text

ToolTipText

Top

Visible

Width

Methods:

Move

Refresh

SetFocus

UpdateRecord

ZOrder

Events:

Change

Edit

GotFocus

KeyDown

KeyPress

KeyUp

LostFocus

Return

Class ProgID name:

Fujitsu.PcobEdit.4

Corresponding Control in PowerCOBOL V3.0 or earlier:

None.