Subject Re: [IBO] TIB_Label
Author Geoff Worboys
> When a dataset has been prepared, the IB_Label doesn't display
> the value from FieldsDisplayLabel. The AutoLabel of IB_Edit
> displays the right value after preparing the dataset. Is it
> possible to implement this feature in IB_Label ?

AutoLabel can be much more dynamic because it actually part of the
Edit control. The edit control has its own DataLink and gets notified
of all changes to the dataset. I specifically chose NOT to add a
datalink to IB_Label to keep overheads to a minimum - and I would much
rather keep it this way.

I have been using IB_Label (actually my earlier version of it) in
production applications for some time. Since I usually prepare my
datasets as a form is openned (and so the display gets repainted as it
is shown), I have never had a runtime problem. Certainly at
designtime it is less than perfect, but I have been willing to live
with that in order to keep overheads down.

If you are having runtime time problems, may I suggest one of two
possibilities...

* Use AutoLabel (is there any reason why you dont?)

* In the AfterPrepare handler, invalidate the form.

Geoff Worboys
Telesis Computing