Subject | Re: [IBO] Aesthetics mistake in the IB_Edit control |
---|---|
Author | Helen Borrie (TeamIBO) |
Post date | 2002-04-12T13:06:57Z |
At 02:21 PM 12-04-02 +0200, you wrote:
are no data from which to read attributes. IBO does not create persistent
TField objects to which you can apply attributes. Once the TIB_Column
objects exist, they acquire the attributes you have defined for them and
the behaviour of the controls is directed by the data.
IsEmpty property and paint the controls accordingly?
Are you writing applications that usually present empty datasets when the
datasets are opened? If so, it would be good coding economy to write your
own descendant controls that react to this condition in the way you prefer.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com
>Hi,An empty dataset is..well...empty. It contains no data. Therefore, there
>
>If I setting my column onto ReadOnly as follows:
>
> FieldsReadOnly.Strings = (
> 'MY_COLUMN=TRUE;NOEDIT;NOINSERT;NOSEARCH')
>
>and ReadOnlyColor = clSilver
>and the table is fully empty and the table is in browse mode
>then the control color switches automatically over to clWindow,
>but in other cases it is good.
>What is the reason of this?
are no data from which to read attributes. IBO does not create persistent
TField objects to which you can apply attributes. Once the TIB_Column
objects exist, they acquire the attributes you have defined for them and
the behaviour of the controls is directed by the data.
>I experienced this problem with the D5, IBO 3.6DiIf it is an aesthetic problem for you, why don't you test your dataset's
>and IB 6.0.1.0 tools.
IsEmpty property and paint the controls accordingly?
Are you writing applications that usually present empty datasets when the
datasets are opened? If so, it would be good coding economy to write your
own descendant controls that react to this condition in the way you prefer.
regards,
Helen Borrie (TeamIBO Support)
** Please don't email your support questions privately **
Ask on the list and everyone benefits
Don't forget the IB Objects online FAQ - link from any page at
www.ibobjects.com