Subject | Re: TIB_Grid and AllowGrayed |
---|---|
Author | mmenaz |
Post date | 2002-04-30T11:32:14Z |
In my domain for booleans I've NOT NULL, so the user can not set the checkboxes to grayed state, and a default value, that is retrieved by my queries (getserverdefaults... and FieldEntryTypes=fetDomainName in the IB_Connection component).
Since you are italian, here my booleans definition you will understand very well ;)
CREATE DOMAIN SINO_DM AS
CHAR(1)
DEFAULT 'S'
NOT NULL
CHECK (VALUE IN ('S', 'N'))
and
CREATE DOMAIN NOSI_DM AS
CHAR(1)
DEFAULT 'N'
NOT NULL
CHECK (VALUE IN ('S', 'N'))
Ciao :)
Marco Menardi
Since you are italian, here my booleans definition you will understand very well ;)
CREATE DOMAIN SINO_DM AS
CHAR(1)
DEFAULT 'S'
NOT NULL
CHECK (VALUE IN ('S', 'N'))
and
CREATE DOMAIN NOSI_DM AS
CHAR(1)
DEFAULT 'N'
NOT NULL
CHECK (VALUE IN ('S', 'N'))
Ciao :)
Marco Menardi
--- In IBObjects@y..., "nbertoll" <nicola.bertollo@n...> wrote:
> Can I avoid the grayed status (i.e. AllowGrayed = False) for a field
> wich has the boolean ColumnAttributes checked and is displayed in a
> grid?
> The grid automatically shows a checkbox, but I'm not able to disable
> the grayed status...
>
> Thanks in advance...
>
> Nicola Bertollo
> B&M srl
> ITALY