Good morning folks,
I want to create a comments screen where a user can type a long message. I thought of using an editor box but the variable I assign to the editor can only have a maximum capacity of 256 characters.
So I thought of using a variable with a format of, say, 50 characters and an extent of 15. When I do this a user can type away on the first line and when they reach the last space I can get the cursor to auto-return but if they reach the end of the comment line half way through a word I can't get the whole word to wrap onto the next line!
Any help available??
I have attached the code that I am using.
TIA
James.
<font color=red>
define variable w-comments as cha format "x(50)" extent 15.
define frame a
w-comments at row 4 col 1 auto-return no-label
WITH KEEP-TAB-ORDER OVERLAY THREE-D side-labels.
update w-comments with frame a.
</font>
I want to create a comments screen where a user can type a long message. I thought of using an editor box but the variable I assign to the editor can only have a maximum capacity of 256 characters.
So I thought of using a variable with a format of, say, 50 characters and an extent of 15. When I do this a user can type away on the first line and when they reach the last space I can get the cursor to auto-return but if they reach the end of the comment line half way through a word I can't get the whole word to wrap onto the next line!
Any help available??
I have attached the code that I am using.
TIA
James.
<font color=red>
define variable w-comments as cha format "x(50)" extent 15.
define frame a
w-comments at row 4 col 1 auto-return no-label
WITH KEEP-TAB-ORDER OVERLAY THREE-D side-labels.
update w-comments with frame a.
</font>