Subject | Re: [IBO] Checkbox states |
---|---|
Author | Luiz Alves |
Post date | 2002-01-16T23:24:36Z |
Cagatay,
Luiz.
> Hi to list,SBT_KUR_VAR)
>
> I have problem with checkboxes. The problem is I can not prevent to enter
> checkbox to grayed (null) state. Let me explain my situation :
>
> First I declared a domain on my database as :
> CREATE DOMAIN DMN_BOOLEAN CHAR( 1 ) CHARACTER SET WIN1254
> DEFAULT 'F' CHECK (VALUE IN ('T', 'F')) COLLATE PXW_TURK
>
> and used it in many tables for boolean fields
>
> then in my delphi application in tib_query I defined my boolean fields in
> columnattirubutes property as (suppose that my field's name is
> :checkbox
> SBT_KUR_VAR=BOOLEAN=T,F
>
> and bound a tib_grid to this tib_query. What I am expecting is the
> which appears on grid must have only two states : Checked and not checked.of
> But I get three sates checked, not checked and null (the grayed one) and
> this is confusing for my users cause they do not know what is the meaning
> null and they confuse it with checked state.You can set Required Attribute for the column to True.
>
Luiz.