Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Progress display long field (frame/form)

How can i display a long field on screen.

For each cust : Display remarks. End.

The remarks field has 300characters to display. The display statement gives an error that the field is too long to display.

I already tried form and frame definitions. With the width-option this doesn't work. Now i tried with size 300 by 2 but then it show me 80 chars and scroll bars to see the rest.

How can i display the field completely on the screen without scrolling etc?

Tkx

like image 471
Jac Avatar asked Mar 07 '26 07:03

Jac


2 Answers

I'm assuming that a "remarks" field is free form text and that word wrapping is ok.

define variable remarks as character no-undo.

remarks = "This is a lot of text.  Hopefully enough to prove the point. I don't really have much to say but I am kind of curious
why all the down votes?  It seems like a reasonable enough question to ask.".

display remarks view-as editor inner-chars 60 inner-lines 10.
like image 84
Tom Bascom Avatar answered Mar 10 '26 11:03

Tom Bascom


   Display Remarks view-as editor size 78 by 15.

Where 78 is the width and 15 the number of lines.

If you want just to display and not be able to update:

def var remarks as char.

form remarks view-as editor size 10 by 10
with frame f.

remarks:read-only in frame f = true.

update remarks
       with frame f.
like image 38
user2787316 Avatar answered Mar 10 '26 09:03

user2787316



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!