Subject Re: [IBO] Re: Autolabel bug or bad behaviour
Author Geoff Worboys
> I tell you again that you have had a wonderful idea with
> your autolabel, thanks.

I should point out that it was not my concept. Tobias Gieson wrote
most of the autolabel code - I just donated the code for TIB_Label
(which is used internally by AutoLabel) and helped out so that I could
be sure of getting some features that I wanted.


> I think that you should fix Margin behaviour as soon as
> possible, otherwise a lot of code will be done with a wrong
> property behaviour...

AFAICT there is nothing wrong with the Margin behaviour. The property
does what it is intended to do; It controls the top starting position
of an albLeft label, and the left starting position of an albTop
label. I chose the name "Margin" for the behaviour because the value
should normally reflect the margin of the control itself - so that the
label with align with the control text.

It seems to me that you are looking for a different property - one
that will control the spacing between the label and the control. I am
not entirely convinced that this is necessary. It is already possible
to gain limited control over the spacing using the Suffix property.
Why have two properties when one will suffice?

Perhaps one reason for the additional property is to control the
spacing between an albTop label and the control - although in that
situation RelativePosition will achieve the desired result.


Geoff Worboys
Telesis Computing