Editor Widget

using the insert-string method in the editor object
i.e. hEditor:insert-string( chr(10) ).

if you're using a button to activate it
turn on the no-focus property

to keep the focus and cursor on the editor
when you press the button


for the editor and other graphical objects ( widgets )
properties and methods take a look in your docs

progress 4gl reference \widget reference \editor widget
good luck !
 
changes to the screen-value directly causes a refresh
and repositions the editor and cursor at the beginning of the text


newline is a sequence of characters cr + lf
carriage return chr(13) and line feed chr(10)

but the recommendation is that tolerant applications
recognize lone lf as well

modern text editors generally recognized all flavours of cr/lf newlines and allow conversion between different standards

in progress the standard is a lone lf i.e. chr(10)
try or use asc( "~n" ) the same as "\n" in c


as for helping you out, i don't know about anyone else
but it won't happen again
 
Back
Top