mikromundo Posted June 16, 2019 Share Posted June 16, 2019 Hi, how can I define a display edit/format for TUniDBNumberEdit ? Ex: The value 38,10 shows as 38,1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 16, 2019 Share Posted June 16, 2019 3 hours ago, mikromundo said: Hi, how can I define a display edit/format for TUniDBNumberEdit ? Ex: The value 38,10 shows as 38,1 Hello, You can use UniDBFormattedNumberEdit instead Quote Link to comment Share on other sites More sharing options...
mikromundo Posted June 16, 2019 Author Share Posted June 16, 2019 (edited) OH!!!!! I´m new user and still learning uniGUI... Thanks so much !!! I will test !!!! but this code could be adapt ? for i := 0 to Self.ComponentCount - 1 do begin if Self.Components.ClassNameIs( 'TUniDBNumberEdit' ) then begin UniSession.JSCode('$("#' + TUniDBNumberEdit( Self.Components ).JSName + '_id-inputEl").inputmask("9,99");'); end; end; Edited June 16, 2019 by mikromundo complement Quote Link to comment Share on other sites More sharing options...
mikromundo Posted June 16, 2019 Author Share Posted June 16, 2019 UniDBFormattedNumberEdit works perfectly!!!! Thanks !!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.