Subject Betr.: Re: [IBO] Idea for new functionality in IBO.
Author Martijn Hoedeman
Hi Geoff,

I've got a version running at the moment but I doubt it'll be something
for general distribution. Let's wait for Jason to get back and see what he thinks
about including this.

Martijn Hoedeman
OPG-Medico R&D

>>> "Geoff Worboys" <geoff@...> 05-07-01 03:56 >>>
> I was just thinking, wouldn't it be very handy to have a
> IB_button-object(TbitBtn or so) that you can link to a
> datasource and use the state of that datasource to
> activate/visualise the button?
> What do you think this ??

I like the idea in general - in fact I already have my own button
control that enables/disables itself according to the state of the
datasource. I setup mine so that I could select from a list of
defined actions to save having to write code to do what I want. In
retrospect I think it would have been better to simply use TIB_*
action definitions.

Note that your "listenstate" needs to be a set of dataset states. eg:
[dssEdit, dssInsert]

Such a control that was written more generically (mine is based on my
own button control so would not be good for general distribution)
would be a good neat to the TIB_* control suite.

Geoff Worboys
Telesis Computing

Your use of Yahoo! Groups is subject to