View-as editor problem

Progress 9.1E v2 GUI Windows

View-as editor problem.

A customer wants an editor put on one of his Smart Viewers.
5 lines of 60 characters with ‘Return Inserted and Word Wrap’

The proviso is that it must NOT scroll in any direction – the operator is only allowed to put in a maximum of 5 lines with a maximum 0f 60 characters on each line.

Any ideas how to achieve this?
 

lord_icon

Member
Attributes

Greetings,
I am NOT sure if these attributes were available for V9, I am using OpenEdge
Try looking at setting these attributes:
ASSIGN
EditorName:SCROLLBAR-HORIZONTAL = FALSE
EditorName:SCROLLBAR-VERTICAL = FALSE
EditorName:INNER-LINES = 5
.

Hope this helps.
Choi
 

lord_icon

Member
More attributes

Oops,
Forgot to include the MAX-CHARS attribute. Again I do NOT know if it is available in V9, because that was soo long ago.
Try something like
ASSIGN
EditorWidgetName:MAX-CHARS = IntegerVar
.
 
Thanks Lord_icon

but I have tried these attibutes and the box still scrolls - ie after typing 5 lines the 1st line scrolls up and you can type in a 6th 7th etc.

Mike
 
Top