Subject | Re: [IBO] TIB_ComboBoxEnh alignment |
---|---|
Author | Geoff Worboys |
Post date | 2014-11-01T01:38:21Z |
Hi Luiz,
cprmlao@... [IBObjects] wrote:
it's probably redundant, but I'd have to re-check the VCL code
in D7+.
mistake in Enh v3 (it wasn't published in v2). All properties
accessible from the column attributes are supposed to come only
from the column attributes. (For example that's the way it
works for EditMask, CharCase, MaxLength and so on.)
What you suggest would be possible, but was not the intention.
I would prefer to unpublish Alignment ... do you have any
particular reasons for wanting published that can't be easily
satisfied with the IBO column attributes?
--
Geoff Worboys
Telesis Computing Pty Ltd
cprmlao@... [IBObjects] wrote:
> Mr Geoff,No, just testing for change. I can't remember why I bothered,
> At Telesis_IB_ComboBoxEnh.pas, I see the next code:
> if FDisplayCol <> nil then
> begin
> case FDisplayCol.CharCase of
> ......
> if Alignment <> FDisplayCol.Alignment then ------->testing for empty?
it's probably redundant, but I'd have to re-check the VCL code
in D7+.
> Alignment := FDisplayCol.Alignment;Actually, publishing the Alignment property is, I think, a
> Even when the FDisplayCol.Alignment is empty , I lose the
> design time alignment setting to Tib_ComboboxEnh.
> What do you think of testing for empty FDisplayCol.Alignment
> before to change the design time alignment?
mistake in Enh v3 (it wasn't published in v2). All properties
accessible from the column attributes are supposed to come only
from the column attributes. (For example that's the way it
works for EditMask, CharCase, MaxLength and so on.)
What you suggest would be possible, but was not the intention.
I would prefer to unpublish Alignment ... do you have any
particular reasons for wanting published that can't be easily
satisfied with the IBO column attributes?
--
Geoff Worboys
Telesis Computing Pty Ltd