Subject | RE: [IBO] TIB_Update Bar |
---|---|
Author | Daniel Jimenez |
Post date | 2004-11-19T06:22:59Z |
> The VisibleButtons property is a set. So a typical settingI have tried this, as I did see the help text mentioning that it is a set.
> for this 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
>
However, it will not work for me.
dbupdLogs->VisibleButtons = [ubInsert];
As I get compile errors [C++ Error] LogsForm.cpp(60): E2188 Expression
syntax
Also tried:
dbupdLogs->VisibleButtons[ubInsert];
[C++ Error] LogsForm.cpp(60): E2094 'operator+' not implemented in type
'TIB_UpdateBar_ButtonSet' for arguments of type 'TIB_UpdateBar_ButtonType'
:-(((
daniel
____________________________
Comvision Pty. Ltd.
www.comvision.net.au