Subject Re: [IBO] Defining field lengths in IBO4
Author Geoff Worboys
> I think that this property should be public,
> i.e. Edit->SetLength(35);

Well: Edit->MaxLength := 35;

But you must remember that IBO will continue to reset the maxlength
with every statechange (this is required to support the dynamic
columns and to support search mode). So you will have to find an
appropriate place in which input your maxlength reset - probably in
the datachange event.

If you want to try this with TIB_Edit, simply edit IBC_Edit.INT and
add:
property MaxLength;
to the public section. If it does what you want then pass on the
change to Jason to see what he thinks.


> The mask solution doesn't look so nice because of these
> _______________________ in the field

That was why I suggested the ::EM:: mask (eemMaskEnh mode), since this
will not display the underlines. The mask I described will appear and
act very similar to a control without a mask.


> BTW, are there never nights in Autralia? You are
> on the list in my morning and evening and I live
> in the opposite side of ball.

As you can tell by my delayed response, we do have nights - it is just
that both days and the nights seem shorter than they should be :-)


Geoff Worboys
Telesis Computing