comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: how to change dialog_message button names ?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: how to change dialog_message button names ? [message #73297 is a reply to message #73295] Wed, 03 November 2010 13:21 Go to previous message
rtk is currently offline  rtk
Messages: 22
Registered: September 2008
Junior Member
On Nov 2, 8:40 pm, nata <bernat.puigdomen...@gmail.com> wrote:
> Hi all,
>
> I am creating an application in IDL and all of my widgets and texts
> are in another language different than english.
> Everything is ok but if I want to display a question using a
> DIALOG_MESSAGE like:
>
>   res=DIALOG_MESSAGE('Esteu segur que voleu sortir del programa?',/
> QUESTION,$
>     /CENTER,/CANCEL,/DEFAULT_NO,TITLE='Pregunta')
>
> The widget button texts are"yes", "no" and "cancel". Is it possible to
> change those string values ?
> Of course I could create my own pop-up widget but I just want to know
> if it is possible to use the DIALOG_MESSAGE and change the default
> settings.
>
> Thank you for your help,
> nata

The text in the buttons is set by the operating system. If you run in
the OS in a language other than English the text will change but there
is no way to change it in IDL. Also, regardless of the language the
OS is using, IDL will always report English strings like "yes" and
"no".

Ron
[Message index]
 
Read Message
Read Message
Previous Topic: capture astronomy IDL's library stderr into a file
Next Topic: The resolution of an IDLgrWindow is (no longer) hard-coded to 72 DPI.

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 22 05:33:41 PDT 2025

Total time taken to generate the page: 1.28247 seconds