Board index » delphi » Navigator button capture ?

Navigator button capture ?

Is there a way to store which button of the navigator was last used ?
i.e. if last option was + (insert) ...

Thanks
Fred

 

Re:Navigator button capture ?


Quote
fredk <sya...@interlog.com> wrote:
> Is there a way to store which button of the navigator was last used ?
> i.e. if last option was + (insert) ...

DBNavigator's OnClick has two parameters, the second one being the button
effectively pressed. Just trap and store it...

Have fun!

Jasper

Re:Navigator button capture ?


Quote
fredk wrote:

> Is there a way to store which button of the navigator was last used ?
> i.e. if last option was + (insert) ...

> Thanks
> Fred

place a tNavigateBtn variable in the forms declaration
use the navigators onclick event which passes a var named
Button:tNavigateBtn

Other Threads