forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Localization for yes/no/cancel
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
hardof
Newbie


Joined: 14 Aug 2004
Posts: 7
Location: Serbia&Montenegro

PostPosted: Sat Aug 14, 2004 9:27 pm    Post subject: Localization for yes/no/cancel Reply with quote

Hi!

It would be nice to have localization for yes/no/cancel buttons.
If everything could be written in any language other than english, it would be nice for buttons, too.
I hope that you'll answer to my wish and include this option in some next version of VDS.

THANKS!!!!!!!! Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Sun Aug 15, 2004 12:21 am    Post subject: Reply with quote

It's possible to create a dialog box that mimmicks the Windows dialog
box, with custom labels. Smile

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
X-Tools
Valued Contributor
Valued Contributor


Joined: 20 Sep 2001
Posts: 296
Location: Germany

PostPosted: Sun Aug 15, 2004 7:02 am    Post subject: Reply with quote

Hi,

what do you mean? The @ask function or message box designer ? They are localized. I have german windows xp and all buttons apply with the german names.

Bye, Fabian
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sun Aug 15, 2004 10:25 am    Post subject: Reply with quote

All message boxes are standard Windows message boxes and take their captions from Windows. The same is true for @filedlg() and @dirdlg().

The only VDS dialog I can see that is not localized is @input(). The buttons on that display OK and Annuler if French, otherwise Cancel.

_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Aug 15, 2004 10:36 am    Post subject: Reply with quote

Hi hardof... Smile To create message boxes which display "yes", "no" and "cancel" in the local language, you can use the @msgbox() function. To create these messageboxes the easy way, you can use the "Message Box Designer" tool which can be found in the "Tools" menu... Smile

Code:
%R = @msgbox(Some nice message!,Just a title,$043)

_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Sun Aug 15, 2004 12:20 pm    Post subject: Reply with quote

Hi Skit. Are you saying that the VDS message boxes info, warn, @ask etc. don't display buttons in local languages? They are created using a Delphi run-time function, not a direct API call, but I would have assumed that it just called the API.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Sun Aug 15, 2004 12:25 pm    Post subject: Reply with quote

Julian, they do show in local languages, but I thought that hardof would like to know how to create other message boxes which also display in the local language, besides the "normal" message boxes like "info", "warn" and "@ask()"... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
hardof
Newbie


Joined: 14 Aug 2004
Posts: 7
Location: Serbia&Montenegro

PostPosted: Wed Sep 01, 2004 9:06 pm    Post subject: Reply with quote

Hello,

In Serbia, we could not expect an answer within a month, therefore we apologize to all of you who posted answer to our question in such a short time. Sorry, but we took a little vacation and we're back now.

That is exactly what we meant... @ask function and @msgbox() function are allways displayed in english. Windows is not localized in Serbian language. In Serbia everybody use english version of Windows!!!
Could it be possible to localize functions for yes/no/cancel, in some other way?


Thanks Again! Laughing
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Wed Sep 01, 2004 9:17 pm    Post subject: Reply with quote

You may be able to use VDSGUI to display localized message boxes.
_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Sep 01, 2004 9:18 pm    Post subject: Reply with quote

These standard message boxes are created by calling a Windows API function, therefore they will display using the language of the version of Windows being used. If you want message boxes with button captions in your language, avoid using these VDS functions and create your own message box dialogs using DIALOG CREATE etc.
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
jules
Professional Member
Professional Member


Joined: 14 Sep 2001
Posts: 1043
Location: Cumbria, UK

PostPosted: Wed Sep 01, 2004 9:19 pm    Post subject: Reply with quote

Two answers to his question in ten minutes. He'll be really impressed now! Cool
_________________
The Tech Pro
www.tech-pro.net
Back to top
View user's profile Send private message Visit poster's website
hardof
Newbie


Joined: 14 Aug 2004
Posts: 7
Location: Serbia&Montenegro

PostPosted: Thu Sep 02, 2004 6:07 am    Post subject: Reply with quote

Hi,

thank you for such a swift action on your part!
Yes SHE is impressed now!!!
I'll try what you have suggested and I'll be back soon with the result.

Thank you so much for your efforts to help me! Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Thu Sep 02, 2004 7:25 pm    Post subject: Reply with quote

If U need a lot of message boxes then "Dialog Create" can be more trouble some for a beginer.
I was thinking of adding such a function in VDSGUI Extension but then thought who ever would need it.
hardof if U want I can consider adding the same to the dll in future.

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
hardof
Newbie


Joined: 14 Aug 2004
Posts: 7
Location: Serbia&Montenegro

PostPosted: Thu Sep 02, 2004 11:39 pm    Post subject: Reply with quote

Hi CodeScript!!!

It would be very nice and extremely usefull if you would re-consider you previous thought and enable localization of @ask, @msgbox function through dll's.
That would be of a great, great help for me!

P.S. How much, this effort of yours to add such a thing in dll, would cost me Question


Best Regards!
Back to top
View user's profile Send private message Send e-mail Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Fri Sep 03, 2004 2:00 am    Post subject: Reply with quote

Price will remain the same; no additional cost for the new feature. I will work on addding this feature to the dll in a day or two.
Check this link for more details about the dll:
http://www.vdsworld.com/search.php?keywords=vds%20gui&match_type=1

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Wish List All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group