CEDIT Mnemonic - Create Multi-Line Text Edit Control

Syntax

'CEDIT'(id,x,y,w,h,title,flags)

Description

The 'CEDIT' mnemonic creates a special multi-line text editing control. The control holds one or more lines of text, called paragraphs, each of which may occupy one or more physical lines, depending on the "wrap" setting. If the text is limited to one line, use the EDIT Mnemonic - Create An Edit Control instead. The 'CEDIT' mnemonic is available in Visual PRO/5 Rev. 2.10 and above, and replaces the 'TXEDIT' mnemonic.

Parameter Description
id Control ID.
x Horizontal position of the upper-left corner of the control.
y Vertical position of the upper-left corner of the control.
w Width of the control.
h Height of the control.
title Title of the control.
flags Control flags, as follows:
FlagDescription
$0001$Causes the control to be initially disabled.
$0002$Causes the control to wrap text to the next line. (Disables the horizontal scroll bar).
$0004$Draws a border around the control.
$0008$Limits the control text to one paragraph.
$0010$Causes the control to be initially invisible.
$0080$Includes a horizontal scroll bar in the control.
$0100$Includes a vertical scroll bar in the control.
$0200$Defines the edit text as read-only.
$0800$Draws a recessed client edge around the control.
$1000$Draws a raised edge around the control.
$2000$Causes the control to be initially in overstrike mode.
$8000$ Causes the control to ignore tabs in text input. (Useful in dialogs.)

Note:

If all values for x, y, w, and h are 0 in this mnemonic, then the edit control will be made to fill the window.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing