Article View: borland.public.cppbuilder.nativeapi
Article #2929Re: Change Currencu Setting Programmitically
From: Bob Gonder
Date: Mon, 13 Nov 2006 04:04
Date: Mon, 13 Nov 2006 04:04
30 lines
1955 bytes
1955 bytes
���� wrote: >any help plz? I will do my best. >"����" wrote in message >> I want to Change Currencu Setting Programmitically, Have a look at SetLocaleInfo() or SetThreadLocale() >> For example when I have a Currency named Rial (IRR) >> and I choose $ sign in Database Desktop as FieldType (Design time) That sounds like a database question. You might get better results by asking in a database group. >> and when I wrtite number 25 in Runtime, then it show me this : >> 25.00 Rial >> I dont want to use .00 as the extension, >> Although I can change it in control panel by hand That sound like a VCL question. You might get better results by asking in vcl.components.using >> but I want when my software is installing it change it. Not a good idea. Your software might however, remember that the user wants it changed, and so change it each time it runs.
Technical Details
Message-ID:
<8crfl21o36hjrr7fr0l21p92bldhc28mns@4ax.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45549904@newsgroups.borland.com> <455759c8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c26cdbfc7670cbf6 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Change Currencu Setting Programmitically Date: Sun, 12 Nov 2006 20:04:31 -0800 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <8crfl21o36hjrr7fr0l21p92bldhc28mns@4ax.com> References: <45549904@newsgroups.borland.com> <455759c8@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 69.69.84.54 X-Trace: newsgroups.borland.com 1163390668 69.69.84.54 (12 Nov 2006 20:04:28 -0700) Lines: 33 Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail