>Does your toolbar accept form reference as a parameter?
yes --I could change it if necessary... but it takes the name of the calling form as a parameter...
>Seems like yes, in this case: this.oMyForm.MyMethod() should work, I believe...
The problem with that, is 'omyform' is out of scope. remember the myform.(the calling form) is the one that called the toolbar...
So from a click in a button on the toolbar this.omyform.mymethod() is going down.. not up the chain. I think I need to go up. to the calling form...
Thanks.
Bob
>>thisform.addproperty("ot",createobject("mytoolbar","omyform"))
>>the toolbar class accepts the parameter,(omyform), and sets the property of the toolbar corretly, giving it a refrence..
In the beginning, there was a command prompt, and all was well.