Re: [dabo-users] dMaskedNumBox

Author: Nate Lowrie

Posted: 2011-11-03 at 12:44:57

On 11/3/2011 12:27 PM, Paul McNett wrote:

> On 11/3/11 5:01 AM, melkarth0 wrote:

>> I'm writing a Dabo application that stores monetary numeric fields in european format (decimal comma, thousands point), and JacekK's dMaskedNumBox.4.py (ticket #1315) seems a good solution for input. What is the completion status of this module? I see it's not included in the framework distribution right now, but has it any serious issues? Apparently, it works fine for me. Thanks in advance.

> I'd love to build it in as a feature of dTextBox instead of adding yet another

> textbox class. Same with dDateTextBox. However, that will take a lot of work and none

> of us seem to have the time right now, so therefore I'm supportive of adding Jacek's

> class as dabo.ui.dMaskedNumBox.

>

> There are a number of features in that class that would be nice to add to dTextBox as

> well.

>

> Jacek, would you like to do the honors of adding this?

-1 from me on including it into dTextBox. I think that it should be a

separate class that sub-classes the base textbox class to add in the

functionality. I don't like that we muddy up the base class with

special handlers for special cases.

+1 for the addition as a separate class.

Regards,

Nate

_______________________________________________

Post Messages to: Dabo-users@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users

Searchable Archives: http://leafe.com/archives/search/dabo-users

This message: http://leafe.com/archives/byMID/4EB2C509.2050206@gmail.com

©2011 Nate Lowrie