Hello Karen,
try this
..................................................................................

-- Enviromental Settings
SET WHILEOPT OFF
--  Variable declaration/definitions
SET VAR vresp TEXT=NULL,vendkey TEXT=NULL,vcaption TEXT='tellef program
�2001'
--
WHILE vendkey IS NULL THEN
    Dialog 'enter here'=70 vresp vendkey 2 CAPTION .vcaption
    IF (SLEN(.vresp)) > 70 THEN
        SET VAR vresp = (SGET(.vresp,69,1))
        SET VAR vcaption = 'WARNING -- entry truncated to max 70
characters'
        SET VAR vendkey=NULL
    ENDIF
ENDWHILE
...................................................................................................

Good Luck,
Manuel


tellef wrote:

> Hello all!
>
> In RBWin 6.5++, latest version, the width of a Dialog box input area
> is apparently 50 characters.  I need to ask the user for no more than
> 70 characters so it can be loaded into a TEXT 70 column.  I can't do
> this in a 1-line dialog box because it stops at 50 characters even if
> I do an '=70', so I have to do:
>   Dialog 'enter here'=70 vresp vendkey 2  <-- added the 2 for 2 lines
>
> But when I do this, they can type up to 100 characters!  Is there
> another way to do this without designing a form for just one piece
> of information?
>
> Karen

Reply via email to