Subject | Re: [IBO] Catching actions from TIB_UpdateBar |
---|---|
Author | Harald Klomann |
Post date | 2001-04-23T09:57:14Z |
Freddy,
do like this
procedure TfrmX.UpdateBarBeforeAction(Sender: TObject);
begin
if (Sender As TIB_UpdateBar).FocusedButton = ubCancel then ...
end;
Regards Harald
Freddy Holst Christensen wrote:
do like this
procedure TfrmX.UpdateBarBeforeAction(Sender: TObject);
begin
if (Sender As TIB_UpdateBar).FocusedButton = ubCancel then ...
end;
Regards Harald
Freddy Holst Christensen wrote:
>
> Hey
>
> I want to catch the different action the user can select by pressing the buttons
> in a TIB_UpdateBar, and are landed by BeforeAction event of TIB_UdateBar.
>
> But using dynamic_cast, I haven't succed in finding the correct syntax.
>
> Have anyone tried this, and if so how?
>
> I'm using BCB5.
>
> Thanks in advance.
>
> Regards
> Freddy