Subject Re: [IBO] Datasource state aware button
Author Marc Leclerc
Actualy after looking over my requirements I realized that this would not
help me.

My main form displays summary of larger tables and are read-only. So a
button that follows the state would not have helped me. So I ported and old
componend I have made which simply hooks to a Datasource and publish some of
the datasource event so I can react within the main form to state changes. I
can then set my Edit button to disabled if let say there is no record in the

Once I finish the component I can send it to however would like to have it.

----- Original Message -----
From: "Geoff Worboys" <geoff@...>
To: <>
Sent: Tuesday, March 06, 2001 11:23 PM
Subject: Re: [IBO] Datasource state aware button

> > I currently need a TBitButton that is aware of the state of
> > the Datasource. Before I go on building it I though I would
> > check if anyone had one.
> I am not aware of one.
> Occassionally I have wanted a button that was only Enabled when the
> dataset was in insert and/or edit and/or search mode. Sometimes I
> only want it enabled in browse mode. So a button that allowed you to
> select which states the button was enabled in would be convenient
> sometimes. Is this what you had in mind?
> Geoff Worboys
> Telesis Computing
> Your use of Yahoo! Groups is subject to