I think, recently I had the same problem, and I understand the request like that: I wanted to display formatted values of a database, without formatting by code. For example, 123 --> 123,00 1647.5 --> 1.647,50 48.356 --> 48,356000
MaskBox doesn't do anything here, it leaves the data as it is. Obviously, MaskBox is acting only on user input. With ValueBox, you only have the choice between 'Number' and 'Currency'. Both are useless here. So I ended up with formatting by code. No problem, but it would be really nice if MaskBox could handle data or if ValueBox could have more format possibilities. Am 05.02.2014 01:47, schrieb gam...@googlecode.com: > Updates: > Status: NeedsInfo > Labels: -Version -Type-Bug Version-TRUNK Type-Enhancement > > Comment #2 on issue 508 by benoit.m...@gmail.com: request: specify how > many decimal places ValueBox > http://code.google.com/p/gambas/issues/detail?id=508 > > Did you look at the MaskBox control that can do what you want? Or do you > really need the ValueBox control? > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user