Decimal Fields don´t accept Comma.


Author
Message
Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Still waiting on the motivation BigGrin


Sooner or later...Smile

Rogério Mauri Smile

Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
I am teaching Portuguese to Super Man


Still waiting on the motivation BigGrin

Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Don't worry, Marcio.

I am teaching Portuguese to Super Man. BigGrin
Marcio Valerio Silva
Marcio Valerio Silva
StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)
Group: Forum Members
Posts: 55, Visits: 929
The Trent was right! I did how He said.

It´s work now!

Sorry Trent I have to study a lot of English !

at,

Marcio Valerio da Silva
Marcio Valerio Silva
Marcio Valerio Silva
StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)
Group: Forum Members
Posts: 55, Visits: 929
Hi Trent,

My text boxes are showing a Decimal right, but the keyboard doesn´t accept the Comma.

When I press the key "," or "." them doesn´t enter in text box. It´s occur only in strataFrame numeric fields (Decimals or not).

I need that Comma(",") neither point(".") can be used to insert decimal values ex: "1,22".

Sample in Attach

at,

Marcio Valerio da Silva
Attachments
CommaDontWork.zip (71 views, 28.00 KB)
Edited 13 Years Ago by Marcio Valerio Silva
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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.
Marcio Valerio Silva
Marcio Valerio Silva
StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)
Group: Forum Members
Posts: 55, Visits: 929
You can help me saying how to do it.

A simple sample code hep me a lot.

-------------------------------------------------------------

Você poderia me ajudar em como faze-lo?

Um simples exemplo de código me ajudaria muito, pois não estou conseguindo encontrar o caminho e todos os meus campos numéricos decimais não aceitam virgula ficando somente os campos textos que a aceitam.

Detalhe o ponto tambem não é aceito, o que me deixa intrigado, que no caso de não aceitar virgula deveria aceitar o ponto como separador decimal.

at,

Marcio Valerio da Silva
Ivan George Borges
Ivan George Borges
Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)Strategic Support Team Member (3.5K reputation)
Group: StrataFrame MVPs
Posts: 1.9K, Visits: 21K
Hi Marcio.

How is your Regional Settings configured?

And also, what is the chosen Active Language while you are running the application?
Marcio Valerio Silva
Marcio Valerio Silva
StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)StrataFrame Novice (81 reputation)
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search