Gordon,
I do not know of a way to attach AFL to the existing toolbar UI buttons. I requested being able to do what you ask a long time ago, but it has not happened yet. However, there are many ways to solve the same problem.
It might be easer to answer your question if you describe what you want to make the buttons do.
I use the Parameters Window buttons and on-chart buttons today for many things.
Herman also made routines for on-chart buttons.
We both took very different approaches, but both work.
BR,
Dennis
On Jan 26, 2009, at 11:43 AM, Gordon Rose wrote:
Hi,
Is anyone aware of a way to attach AFL to a toolbar button in AB?
I'd prefer a new toolbar button, and am willing to use win32 coding if there's a way to do it.
Barring being able to do this, I seem to recall a post about using OLE automation to execute blocks of script on demand -- I believe it involved using commentary or notes -- I am going to search to for that and if I find what I think I'm looking for, I'll post the link in this thread.
Regards,
Gordon
|