Progress
Language Reference


MAX-CHARS Attribute

The maximum number of characters an editor or combo-box widget can hold.

Data Type: INTEGER

Access: Readable/Writeable

Applies To: Combo-box, Editor

For editor widgets, you can set this attribute only before the widget is realized. On Windows, the maximum value of MAX-CHARS is approximately 20K for the regular editor and over 64K for the large editor.

For SIMPLE and DROP-DOWN combo-box widgets, you can set this attribute before or after the widget is realized. If the value of MAX-CHARS for a combo-box widget is zero or unknown (?), the default value is 255 characters. This attribute is ignored for DROP-DOWN-LIST combo-box widgets.

NOTE: In character interfaces, editors can grow until Progress runs out of system resources.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095