Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted

Preventing Entry of decimal value

L.S.

as quite a "newbie", I'm trying to force enduser only to enter a integer value.
(Data type of properties are set to Double)

 

What I want is : as user enters a value, entering possibilities stops at the moment
a decimal separator (point or comma) is entered...

can this be done ??

regards

2 REPLIES

Betreff: Preventing Entry of decimal value

Hi,

 

Why don't you take Long?

 

Regards

Christian

Betreff: Preventing Entry of decimal value

Well to tell you the truth, I already defined quite some properties with "double", then I should delete all of
those, and redefine them again (yes... sorry I'm a bit lazy..Smiley Wink), copying the correct line would be easier.

And maybe even more important : Long gives on wrong input, a "system message back", which probably not always will be understood by Dutch end users. Display name in system message is a bit cryptic..

Regards

John