StrataFrame Forum
Back
Login
Login
Home
»
StrataFrame Application Framework - V1
»
WinForms (How do I?)
»
Decimal Fields don´t accept Comma.
Decimal Fields don´t accept Comma.
Post Reply
Like
0
Decimal Fields don´t accept Comma.
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Marcio Valerio Silva
Marcio Valerio Silva
posted 14 Years Ago
ANSWER
Topic Details
Share Topic
Group: Forum Members
Posts: 55,
Visits: 929
My textboxes binding from decimal fields don´t accept commas!
How to resolv this problem?
at,
Marcio Valerio da Silva
Reply
Like
0
Reply
Trent Taylor
Trent Taylor
posted 14 Years Ago
ANSWER
Post Details
Share Post
Group: StrataFrame Developers
Posts: 6.6K,
Visits: 7K
Are you using a masked textbox? I am not sure if you are trying to have your binding just show the commas or to show the commas as well as be part of the entry. In .NET and binding, you can use formatting that will show the comma. In the BindingFormat property of a StrataFrame textbox, you can put the "nX" value to just show a command and decimals. You can reference the String.Format documentation and formatting values in the .NET documentation for more of the supported values. But in short, if you wanted to show commas and 2 decimals, you would put this:
n2
Otherwise, look at the masked textbox to see if this is a better fit for your needs.
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
Decimal Fields don´t accept Comma.
Marcio Valerio Silva
-
14 Years Ago
Hi Marcio. How is your Regional Settings configured? And also, what...
Ivan George Borges
-
14 Years Ago
You can help me saying how to doit. Asimple sample code hep me a lot....
Marcio Valerio Silva
-
14 Years Ago
Are you using a masked textbox? I am not sure if you are trying to...
Trent L. Taylor
-
14 Years Ago
Hi Trent, My text boxes are showing a Decimal right, but the keyboard...
Marcio Valerio Silva
-
14 Years Ago
The Trent was right! I did how He said. It´s work now! Sorry Trent I...
Marcio Valerio Silva
-
14 Years Ago
Don't worry, Marcio. I am teaching Portuguese to Super Man. :D
Ivan George Borges
-
14 Years Ago
[quote]I am teaching Portuguese to Super Man[/quote] Still waiting on...
Trent L. Taylor
-
14 Years Ago
[quote]Still waiting on the motivation :D[/quote] Sooner or...
Rogerio Mauri
-
14 Years Ago
Post Reply
Like
0
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search