>> 
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.
<<

> Yes/No DIALOG command could be extended with YES
> textvalue and NO textvalue,
> so foreign users can replace YES/NO with words in
> their language.<

When the only purpose is to get a YES/NO/CANCEL answer from user, I
strongly suggest to use RMSG.DLL
I only use it since avalaible (RBW 6.5 ?) and I am very happy :

   SET VAR vTEXT = +
   ('ATTENTION : L''op�ration n�' & (CTXT(.vnumcde)) +
    & 'n''a pas de ligne.' + (CHAR(10)) + 'Voulez-vous la supprimer ?')
   -- 36. 2 bouton : Oui (d�faut) Non, point d'exclamation
   SET VAR vTEXT = ('36|' + .Vcaption + '|' + .vTEXT)
   SET VAR vTEXT = (UDF('@RMSG.DLL',.vTEXT))
   IF vTEXT IN ('Yes','Oui') THEN
      SET RULES OFF
      DELETE ROWS FROM commande WHERE (numcde = .vnumcde)
      SET RULES ON
   ENDIF

It display YES/NO/CANCEL according to the WINDOWS' current language :
On a french WINDOWS version, it will display OUI/NON/ANNULER.

Be carrefull anyway : even on a french version, you must test YES because
RBW always return YES (little boo-boo ...).

Hope this will help some Greek and others european fellows ...

J.M. GRATIAS, Logimatique, France
================================================
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/

Reply via email to