On Nov 12, 2007, at 5:45 AM, VGSoftware wrote:
> Yes Ed, the problem i get is font related, i've managed to get
> around it
> by removing the wxGTK workaround in dPemMixin.py lines 1743 and
> 1745 and
> commenting out the "if self._autofit" block in wx/lib/masked/
> textctrl.py
> in line 267, but i think this only reveals the true problem:
The problem seems to be deeper than that. When I run it, the error
happens on some text controls that do *not* have a Mask property set.
It seems that as soon as one control is masked, any of them can get
'confused'.
> In datanav apps, the fields are initialized with the DataField string,
> which will not be valid to the Mask rule.
>
> Or am i wrong?
The Value property of masked fields is their content without the
mask; e.g., if the mask is "###-##-####" and the control displays
"123-45-6789", the control's Value is simply "123456789"; its
MaskValue will be "123-45-6789". This way masks do not interfere with
the Value-centric processing of data bound controls.
> I'll try to understand the datanav framework insides to see what is
> causing the problem...
> Any help would be great....
Something is indeed wrong. I added a mask to a textbox on the Edit
page, yet is was one of the SelectTextBox controls on the Select page
that was throwing the _autofit error.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
_______________________________________________
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/dabo-users/[EMAIL PROTECTED]