Subject Re: [IBO] searchpanel question
Author Gediminas
agree, that BOOLEAN was a bad choise - changed to BOOL_TYPE:

CREATE DOMAIN BOOL_TYPE AS
SMALLINT
DEFAULT 0
CHECK (VALUE BETWEEN 0 AND 1)
However, check button doesn't appear in IB_Grid
(IndicateBoolean-true;fetDomainName is set;BOOL_TYPE=BOOLEAN=1,0)

So, if I have TIB_RadioBox descendant, how to use it in searchpanel instead
check boxes - make TIB_SearchPanel descendant or there is an option
somewhere else? Simple funny example: there is a questionable choice for
user to set a gender using check box ;)

At 2003.10.06 03:55, you wrote:
>'BOOLEAN' is a bad choice for this domain name, because it is a reserved
>word, soon to be a data type!! Let's say your domain is called D_BOOLEAN
>your ColumnAttributes property should include a line like this:
>D_BOOLEAN=BOOLEAN=1,0
>If you want this to be your standard Boolean interface everywhere, a
>TIB_RadioBox descendant restricted to two buttons seems like a good
>idea. If all of your Booleans are to be handled this way, it would be
>simpler not to have IBO treat them as Booleans but just use the (1,0)
>values directly with the ItemIndex of the RadioGroup.



--/ Gediminas /--
The Truth Is Out There