Subject Re: [IBO] Catching actions from TIB_UpdateBar
Author Harald Klomann

do like this

procedure TfrmX.UpdateBarBeforeAction(Sender: TObject);
if (Sender As TIB_UpdateBar).FocusedButton = ubCancel then ...

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