>Hi All
>
>I have a main form (Top Level Form) i was trying to place a
>toolbar in this,but when i run the application the toolbar
>appears in another instance of my application,(two instance of
>my application is created) and my main form appears in another
>instance,how to avoid this.I tried creating config.fpw with screen=OFF
>but then i dont get the toolbar at all.
>
>I am calling the toolbar in the Init event of my main form.
The Init is too early. Put it in the Activate, something like this:
if vartype(thisform.oToptools) # 'O'
SET CLASSLIB TO myclasses
thisform.oToptools = createobject('oMytoolsclass')
RELEASE CLASSLIB myclasses
endif
>
>Second Question.
>
>I dont get the statusbar message in the statusbar which is in my mainform ,how to display my statusbar message in the status bar which I placed in the mainform.Is there any method by which i can show my
>progress bar in the status bar,like internet explorer.?
Yes, use the Activex statusbar control, works fine, with a few details set right.
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.