Subject | Re: [IBO] Defining field lengths in IBO4 |
---|---|
Author | Geoff Worboys |
Post date | 2001-08-31T01:29:39Z |
> I think that this property should be public,Well: Edit->MaxLength := 35;
> i.e. Edit->SetLength(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 theseThat was why I suggested the ::EM:: mask (eemMaskEnh mode), since this
> _______________________ in the field
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 areAs you can tell by my delayed response, we do have nights - it is just
> on the list in my morning and evening and I live
> in the opposite side of ball.
that both days and the nights seem shorter than they should be :-)
Geoff Worboys
Telesis Computing