进度显示长字段(框架/表格) [英] Progress display long field (frame/form)
问题描述
如何在屏幕上显示长字段.
How can i display a long field on screen.
对于每个客户: 显示备注. 结束.
For each cust : Display remarks. End.
备注"字段显示300个字符.显示语句显示错误,该字段太长而无法显示.
The remarks field has 300characters to display. The display statement gives an error that the field is too long to display.
我已经尝试过表单和框架定义.使用width选项时,此功能无效. 现在,我尝试使用300乘2的大小,但随后显示80个字符和滚动条以查看其余部分.
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
推荐答案
我假设备注"字段是自由格式的文本,并且自动换行是可以的.
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.
这篇关于进度显示长字段(框架/表格)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!