Subject | Re: [IBO] Defining field lengths in IBO4 |
---|---|
Author | Geoff Worboys |
Post date | 2001-08-31T09:33:28Z |
> Added MaxLength to INT file, recompiled IBO and setTry it in the DataChange event (since you will presumably want to
> the MyField->MaxLength=3
> in StateChanged event, but nothing visible happened.
> I still could enter more characters.
change the maxlength according to the current row properties anyway).
The problem with using StateChange is that it is in StateChange that
IBO does its automatic maxlength reset, so whether or not your setting
"takes" depends on the order of creation of the various datalinks.
Whereas DataChange is called AFTER statechange and so it should give
the desired result (I think :-)
Geoff Worboys
Telesis Computing