On Monday 17 November 2008 03:59:51 pm johnf wrote: > On Sunday 16 November 2008 08:33:03 am Ed Leafe wrote: > > On Nov 15, 2008, at 9:48 PM, johnf wrote: > > > But the above required a Mask and masks are positional. In the > > > Doc's it > > > suggest that I can use InputCodes='V' and just use the regular > > > expression to > > > filter the input to the control. But I can't get that to work in > > > any manner. > > > > > > I will send an email to the wxpython guys. > > > > The mask can be broken up into 'fields'; in an IP address, each dot- > > separated number would be a field. > > > > I haven't really used the control beyond creating the class and test > > case, so I'm afraid I can't shed more light on how to do this. We'll > > probably need to update the class to add this behavior. > > > > > > -- Ed Leafe > > Following your code with the other values (Mask,InputCodes, etc..) I have > added "ValidRegex" to the list. It seems to work. Should we also pass the > some of the other codes available? > Like "validBackgroundColour", "invalidBackgroundColour" ? > > What about the Fields and passing those settings? > > BTW the way it took a while to figure out where the "Set"value methods were > hiding.
Another thing that I'm sure will be required is the setting of the font to match the rest of the controls. Can someone explain how that works. -- John Fabiani _______________________________________________ Post Messages to: [email protected] 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/[EMAIL PROTECTED]
