Subject | RE: [IBO] TIB_Update Bar |
---|---|
Author | Helen Borrie |
Post date | 2004-11-19T06:00:54Z |
At 04:11 PM 19/11/2004 +1100, you wrote:
propety might be:
MyUpdateBar.VisibleButtons := [ubEdit, ubInsert, ubDelete, ubPost, ubCancel];
Then, you want to hide the Cancel button in some event:
MyUpdateBar.VisibleButtons := [ubEdit, ubInsert, ubDelete, ubPost];
...and so on....
There's a full enumeration of the set in the help text.
Helen
> > > I am trying to programatically set the TIB_UpdateBar propertyThe VisibleButtons property is a set. So a typical setting for this
> > > VisibleButtons on the fly.
> > >
> > > Any help would be appreciated :-)
> >
> > Use the source. Obviously there ought to be some code under
> > the hood working with that property. It's a set property and
> > so you will use set operators.
> >
> > Jason
>
>
>dbupdLogs->Buttons[ubInsert]->Visible = true;
>
>Is the only way I can see it working ?
propety might be:
MyUpdateBar.VisibleButtons := [ubEdit, ubInsert, ubDelete, ubPost, ubCancel];
Then, you want to hide the Cancel button in some event:
MyUpdateBar.VisibleButtons := [ubEdit, ubInsert, ubDelete, ubPost];
...and so on....
There's a full enumeration of the set in the help text.
Helen