![]() |
Item.Format |
Post Reply ![]() |
Author | |
Albert1 ![]() Groupie ![]() ![]() Joined: 01 February 2007 Location: Italy Status: Offline Points: 66 |
![]() ![]() ![]() ![]() ![]() Posted: 08 March 2007 at 10:38am |
PropertyGrid version 10.4.2 - VB6
I'm not able to see the "format" property working (I guess it does nothing). Take a look at this simple code:
I never get the correct numbering format. Codejock'example (PropertyGrid.vbp) has the same (wrong) behavior. What is wrong? Thank you Alberto |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hello, Set .Value after you change format:
ItemNumber.UseSystemDecimalSymbol = False
ItemNumber.Format = "%0.2f" ItemNumber.Value = 27.344 |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
Albert1 ![]() Groupie ![]() ![]() Joined: 01 February 2007 Location: Italy Status: Offline Points: 66 |
![]() ![]() ![]() ![]() ![]() |
Thx Oleg,
it works now. However I'm developing a software for european people and I need .UseSystemDecimalSymbol = True (I forgot to make it clear). So it do not work again ... |
|
![]() |
|
Marlon ![]() Groupie ![]() Joined: 27 December 2011 Location: Germany Status: Offline Points: 16 |
![]() ![]() ![]() ![]() ![]() |
4 Years ago, and the Problem with .UseSystemDecimalSymbol = True is not fixed. How can I use "," as decimalsymbol?
Same Problem in C++
|
|
Marlon
Product: Xtreme SuitePro (ActiveX) version 17.2.0 Platform: Windows 10(64bit) Language: Access 2007 (VBA) |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |