Available in:
Apps (win)
Apps (char)
Reportwriter
RPC
Standalone PL
X
X
expr edit_text(text,max_len,row,col,height,width,wrap) expr text int max_len, row, col, height, width, wrap
text | either a char/string or list
datatype (windows only), specifies the text to edit.
|
max_len | specifies the maximum edit return text length when
text is a char/string. If max_len is zero, a read-only window opens with only an [OK]
button. Any text that is a one-coumn list causes the window width to adjust to the
max list row size. This adjustment is useful for browsing text, such as help information.
If the list has a title, the first line appears in the window title.
If the text is a list, this parameter determines whether a window is read-only or modifiable.
|
row | specifies the row position for the edit window.
-1 places the upper left of the box at the cursor position. -2 places the box in the
center of the screen.
|
col | specifies the column for the edit window.
-1 places the upper left of the box at the cursor position. -2 places the box in the
center of the screen.
|
height | specifies the window's height.
|
width | specifies the window's width.
|
wrap | controls word wrapping. Set to true, wraps words. |
edit_text(comment,field_width()-1,5,5,5,72,true);