Is there a way when using msgYesNo() to change the yes and no buttons to something else?
Harvey
Is there a way when using msgYesNo() to change the yes and no buttons to something else?
If you simply mean if the "yes" and "no" can be presented in another language, than my answer is "No".
The language is depending of the language of your Windows version.
If you want to translate it to another language or if you want to use other buttons, you have, to my opinion, to make your own "MsgYesNo()".
Good luck.
Regards,
Michel D.
Genk (Belgium)
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773
Not a language issue just prompt the yes and no to anything other then yse and no.
Harvey,
I believe it is a Windows common control, so you cannot change the prompts. It is easy enough to just make your own dialog.
James
Thanks all.
function Main()
MSGINFO( "GOING TO ALERT" )
SAYING := "There are records in the QUEUE that have not "+chr(13)+CHR(10)
SAYING += "been Transmitted. Do you wish to ...."+chr(13)+CHR(10)
YESNO := { " Resend ", " Delete " , " Abort " }
nOK := ALERT(SAYING, YESNO )
MsgInfo("You selected option "+str(nOk,1)) // Added by me see the value of nOk
return nilAnserkk
Thanks for the help. I just developed my own function.