Subject | Re: [IBO] Autolabel bug or bad behaviour |
---|---|
Author | Geoff Worboys |
Post date | 2001-02-22T06:47:08Z |
> AutoLabel property of IB_Edit or IB_EditEnh:Not so much a bug as something we overlooked.
> a) the "model" sub property let you choose (at design time)
> the same control (itself), hanging Dephi (crash!)
> b) the "model" sub property can be circular, i.e. Control1Ditto.
> has Control2 as model, while Control2 has Control1. No
> problem at design time, I don't know at runtime.
I guess these two are something we should check for in the code. We
will get to them eventually :-)
> c) I want to increase the space between the end of the labelOriginally the label was using a layout of Center - but this caused
> (if left to the control) and the control, or the label and
> the top of the control (if top to the control). The property
> "margin" moves the label left/right if on top, or up/down if
> on the left. This is just the opposite of what should be.
difficulties with Memo controls. So Margin was added so that the
layout could be Top, with a Margin definition provided to allow offset
from the top (for albLeft labels) to give better appearance.
You can achieve additional spacing on the right of the label by adding
a Suffix of one or more spaces. I generally add a suffix of ": "
which gives a nice look to the labels (I think).
We attempted to create the label in such a way as to reduce minimise
the number of published properties - while still providing sufficient
flexibilty.
> (I can not use the "RelativePosition" property because I wantLet me know if the above suggestions do not help and we will try to
> labels being "right aligned" on the left of the controls). I
> think my needs are the right one and there was just an
> inversion on your code.
come up with something else.
Geoff Worboys
Telesis Computing