Subject Re: [IBO] AutoLabel - Bug
Author Geoff Worboys
> I found that AutoLabel wasn't choosing the correct label
> between "FieldsDisplayLabel" and "FieldsGridLabel", always
> showing the label in "FieldsGridLabel"

The problem with your fix is that it is retreiving the FocusControl
width and not the label width. So whether the fix works or not, will
depend on how wide you made the edit control. It is the available
width of the label which should be used - that is where the text will
be drawn.

My guess is that the autosize nature of the label is confusing the
calculations. Are you using the RelativePosition capability to left
justify your labels - or leaving the labels rightaligned?

I will have a play and see what I can come up with.

Geoff Worboys
Telesis Computing