Thanks, your message got me to thinking. and I played arround with the _vfp object. which seems to be everpresent. What I think I can do is use that, with the activeform propertity, and get the class name from that..... is this what you intended ? (I have never yet used the _vfp object. I just wanted to make sure that I am going in the direction you are pointing.
Thanks
Bob Lee
>What I do is store an object reference to my toolbars in a property of my global app object [goApp]. Then when I need it, I just call a ToolbarShow() method of goApp. When it needs to disappear, I call a ToolbarHide() method in my goApp object. You can tie this to a form property as well, and put the ToolbarShow() in the Activate of your base form class, and ToolbarHide() in the Deactivate.
>
>>I have made a generic toolbar class , <snip>
In the beginning, there was a command prompt, and all was well.