Subject Re: [IBO] IB_Checkbox and grayed state
Author Marco Menardi
--- In IBObjects@yahoogroups.com, Christian G├╝tter <news@g...> wrote:
> Hi Adrian,
>
> > How can I prevent the IB_ComboBox from displaying in the grayed
state when
> > the dataset enters the insert state.
> [...]
> > I would expect it to default to blank (or unticked), as the
default value is
> > `F' when a new record is inserted, but instead it defaults to
`Null' which
> > is the grayed state.
>
> you have to tell your IB_Query which default value it should use.
> Double-click your IB_Query component, open the query and then take a
> look at the "Field properties" tab. Select the "ContactTypeVendor"
> field at left and then type "F" in the edit box "Default Value" at
> right. Then IBO will be using "F" as default value when you insert
> a new record.
>
> Cheers,
>
> Christian

I have to add the suggestion to have a look at the "tech sheet" named
"RAD with IBO" that explains some tricks about how to save a lot of
time and efforts thanks to some possibilities the fabolous native IBO
components provide, i.e. in this case specific the default values in
the connection component and for the Firebird DOMAINS (so valid for
all the fields, whatever query they are, of the same domain).
regards
Marco Menardi