Subject | Re: [IBO] Custom logic (Was: Grid and boolean indicators) |
---|---|
Author | Marcin Bury |
Post date | 2015-04-27T20:15:50Z |
Hi Jason
Would it be a problem to create event handler to do custom logic on
column level?
Regards
Marcin
W dniu 24.04.2015 o 23:07, 'IBO Support List' supportlist@...
[IBObjects] pisze:
Would it be a problem to create event handler to do custom logic on
column level?
Regards
Marcin
W dniu 24.04.2015 o 23:07, 'IBO Support List' supportlist@...
[IBObjects] pisze:
> Hi Marcin,
>
> Sorry for the delay in responding to these questions.
>
> The FBooleanIndicators variable is a global variable in the interface
> section of IB_Grid.pas so you have control of it.
> It is automatically initialized with the default glyphs, but you can
> carefully edit things to suite your preferences.
>
> I added a virtual method to TIB_Connection so that you can have more control
> over boolean values.
> Is it sufficient for you to use your own subclass of this so you can
> override it or do you need an event on TIB_Connection itself so that you can
> just plug in an event handler to do custom logic to return true for your own
> custom boolean values?
>
> Thanks,
> Jason Wharton
> www.ibobjects.com
>
>
> -----Original Message-----
> From: IBObjects@yahoogroups.com [mailto:IBObjects@yahoogroups.com]
> Sent: Tuesday, April 14, 2015 12:37 AM
> To: IBObjects@yahoogroups.com
> Subject: [IBO] Grid and boolean indicators
>
> Hello Jason
>
> Could you consider making FBooleanIndicators object public and
> accessible for other units. Sometimes I need to use own boolean
> indicators and I thought it would be simplier to replace default ones?
>
> There is one thing more regarding boolean fields. At certain moment you
> applied strict checking boolean values for fields 'declared' as boolean.
> What was the purpose for that?
> It was very convenient for me that field.asBoolean was false when the
> value was equal to 'false' value and 'True' otherwise. It allowed me to
> have several 'True' values and one 'False'.
>
> Marcin
>
>
> ------------------------------------
> Posted by: Marcin Bury <marcin.bury@...>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> http://tracker.ibobjects.com - your portal to submit and monitor bug reports
> http://community.ibobjects.com - your portal to purchase and upgrade
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
>
> ------------------------------------
> Posted by: "IBO Support List" <supportlist@...>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more !
> http://tracker.ibobjects.com - your portal to submit and monitor bug reports
> http://community.ibobjects.com - your portal to purchase and upgrade
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
>