Immediately after the line
IF goApp.oToolbars.Add(This.cToolbar)
I put WAIT WINDOW "It's been added" WAIT WINDOW loToolbar.Name
then I added ELSE to this IF and WAIT WINDOW "It's not been added"
When run from source code, I see 2 WAIT WINDOWs: It's been added and oiNavToolbar. When run from EXE, I see WAIT WINDOW It's been added and after that no second one.
Greetings Sal, Sounds to me like it is not really getting created. Put a debug mark next to the .ADD() line and follow it through. James Sayer ©2001 James Sayer |