Subject | Checkbox states |
---|---|
Author | Çağatay Tengiz |
Post date | 2002-01-16T23:15:29Z |
Hi to list,
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 SBT_KUR_VAR)
:
SBT_KUR_VAR=BOOLEAN=T,F
and bound a tib_grid to this tib_query. What I am expecting is the checkbox
which appears on grid must have only two states : Checked and not checked.
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 of
null and they confuse it with checked state.
What am I missing?
Best regards
Cagatay Tengiz
cagatay.tengiz@...
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Tengiz Engineering & Consultancy
www.tengiz.net
Phone : +90 232 388 07 01
Fax : +90 232 373 42 63
Kazim Karabekir Cad. No:47/B 35040
Bornova - Izmir / TURKEY
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
_________________________________________________________
Do You Yahoo!?
Get your free @... address at http://mail.yahoo.com
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 SBT_KUR_VAR)
:
SBT_KUR_VAR=BOOLEAN=T,F
and bound a tib_grid to this tib_query. What I am expecting is the checkbox
which appears on grid must have only two states : Checked and not checked.
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 of
null and they confuse it with checked state.
What am I missing?
Best regards
Cagatay Tengiz
cagatay.tengiz@...
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
Tengiz Engineering & Consultancy
www.tengiz.net
Phone : +90 232 388 07 01
Fax : +90 232 373 42 63
Kazim Karabekir Cad. No:47/B 35040
Bornova - Izmir / TURKEY
~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-~-
_________________________________________________________
Do You Yahoo!?
Get your free @... address at http://mail.yahoo.com