 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
jan hek Guest
|
Posted: Sat Jul 19, 2003 8:37 pm Post subject: Decimalseparator changes during application being active (de |
|
|
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
|
Posted: Sat Jul 19, 2003 9:42 pm Post subject: Re: Decimalseparator changes during application being active |
|
|
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 |
|
 |
|
|
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
|
|