BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Decimalseparator changes during application being active (de

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization
View previous topic :: View next topic  
Author Message
jan hek
Guest





PostPosted: Sat Jul 19, 2003 8:37 pm    Post subject: Decimalseparator changes during application being active (de Reply with quote



Our applications allow to set the desired Decimalseparator, independent of
Windows.
By changing "Decimalseparator" in runtime.

We now observe that while the application is running, that the
decimalseparator in the application is changed to the Windows value of the
decimalseparator.

I don't have a clue what causes this phenomenon.

Is this Delphi 7 related ?
Is there a workaround?
Has the procedure to set Decimalseparator during runtime changed?
Is the usage of DBExpress causing this?

please help...
jan hek









Back to top
Peter Haas
Guest





PostPosted: Sat Jul 19, 2003 9:42 pm    Post subject: Re: Decimalseparator changes during application being active Reply with quote



Hi Jan,

jan hek wrote in <3f19abf2 (AT) newsgroups (DOT) borland.com>:
Quote:
By changing "Decimalseparator" in runtime.

We now observe that while the application is running, that the
decimalseparator in the application is changed to the Windows value of the
decimalseparator.

I don't have a clue what causes this phenomenon.

If Windows send a WM_WININICHANGE message to your application (change
any system settings or set the time) or if a user login to Windows
(RM_TaskBarCreated) the appliciation call GetFormatSettings to reset the
variables.

You must set Application.UpdateFormatSettings to False to prevent this.

Bye Peter.
--
Why should we be interested is someone who considers us a waste basket?
Robert Marquardt (Team JEDI) in <b4mf4g$u0k$1 (AT) talkto (DOT) net> to me
regarding JEDI's disinterest on my contribution attempts.
Maybe JEDI users have more interest: http://jediplus.pjh2.de/index.php

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Internationalization All times are GMT
Page 1 of 1

 
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.