Subject | Re: [IBO] DrawCell method query |
---|---|
Author | Lester Caine |
Post date | 2003-02-04T09:14:23Z |
> no my fields are all populated - they are not null boolean Y/N fieldsThis is Delphi stuff isn't it - AsBoolean will return
> I have since found that
> if (IB_Query1.BufferFields[4].AsString='Y') then
> works where
> if (IB_Query1.BufferFieldByName('myboolfield').AsBoolean='Y') then
> does not
true/false not a character?
So
if (BufferFieldByName('myboolfield').AsBoolean) then
> Not sure why... any clues?Historic compatibility ( I think <g> )
> secondly
> what is the difference between using the DrawCell event and the GetCellProps
> event for doing this task?
> Why is there a DrawCell and DrawFocusedCell when you can test for focused
> state in the DrawCell event anyway?
--
Lester Caine
-----------------------------
L.S.Caine Electronic Services