What about using:
CHOOSE vpick from #LIST 'yes,no,undecided'
It is hard to imagine a more customizable quickie list.
or for more variety:
CHOOSE vpick FROM #LIST 'yes,no,maybe,probably not,perhaps
but not usually, you can also write some really long
explanatory information and if you don''t mind it will
extend all across your screen' AT 20, 20 +
TITLE 'make a good choice' +
CAPTION 'highlight; press enter' +
lines 7
[Note: I always add an extra line so it is obvious that all
the choices have been displayed, and there are not
potentially others to scroll through.]
Using CHOOSE would work in much the same way as dialog IF
the Caption or Title would accommodate more characters.
What if it would automatically increase the size of the box
by adding additional lines, and/or change the width to make
a 2 or 3 line expanded title look good.
Randy Peterson
PS. You can also give an expanded dialog message if you set
a variable such as:
SET VAR vDialog TEXT = ('try putting' + (CHAR(10) + 'this
together' + CHAR(10) + 'again.')
DIALOG .vDialog vpick vendkey yes
----- Original Message -----
From: "BOB CASTANARO" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 15, 2002 6:38 AM
Subject: Re: Yes/No DIALOG command extension
> I would like to see this too...I use the YES/NO dialog
> box frequently but there are a lot of times I wish I
> was able to put in my own text for a quickie 2 choice
> list. For larger lists I wind up using "choose" from
> a table of choices.
> BC
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/