Hi Dragan,
I think your code could make a nice FAQ. Anyway, I'm glad that I could help.
>>Take aslo look at
Developer-defined Btn(s) on Standard VFP toolbar Thread #
611029.
>
>This works. I've had problems with the .prg being locked during testing, so I've given it a temp name and made it vanish with the toolbar... in the end. Here's my modification of your and Zlatin's code:
>
>Works great so far - thanks for nudging me in the right direction.
--sb--