Subject | Re: [IBO] Behaviour of TIB_UpdateBar |
---|---|
Author | stanw1950 |
Post date | 2004-05-25T15:50:07Z |
--- In IBObjects@yahoogroups.com, Helen Borrie <helebor@t...> wrote:
I have always seen Paul's behavior (edit button always enabled) and
thought that it was standard. Now you appear to say that it can be
made to go disabled (which would be more logical) by setting the
update bar ReceiveFocus and the data source AnnounceFocus properties
to true. I tried that and the edit button still remains enabled (and
the key links of the tib_query are set). Is there anything else you
can think of to make the edit button become disabled until the post
or cancel buttons are clicked? Thanks.
Stan Walker
> At 04:45 PM 25/05/2004 +0200, you wrote:button is
> >Hello Salavatore,
> >
> > > All of this works fine and I can update the three fields, but I
> > > detect the erratic behaviour of the UpdateBar. The Update
> > > always enabled, even when it should not, that's to say when Ihave
> > > already clicked it and I am already in edit mode.behaviour.
> >
> >That the Update button always stays enabled is the standard
> >Myself I can click it repeatedly without problem - nothinghappens, I
> >just stay in Edit mode. I don't get the error you reportedhop
> >(Transaction already started).
>
> That's strange. I use the focusing feature, of course; but I can
> around a form with multiple datasets that might or might not be inedit
> mode and the buttons all work appropriately to the current state ofthe
> focused dataset. IOW, if I click into a control where I havealready
> edited something in the dataset, the edit button shows grayed out.If I
> shift to another dataset, where nothing has been touched, the editbutton
> appears "live".Helen,
>
> Helen
>
>
>
>
> >Greetings,
> >Paul Vinkenoog
> >
> >
I have always seen Paul's behavior (edit button always enabled) and
thought that it was standard. Now you appear to say that it can be
made to go disabled (which would be more logical) by setting the
update bar ReceiveFocus and the data source AnnounceFocus properties
to true. I tried that and the edit button still remains enabled (and
the key links of the tib_query are set). Is there anything else you
can think of to make the edit button become disabled until the post
or cancel buttons are clicked? Thanks.
Stan Walker