Hi all
I know that some of you are using this tool and am hoping that you might be
able to shed some light on a problem I am having
In the Init() of a form I have the following code and it fails where I have put
the assert statement and I can't fathom what the problem might be:
Local loMainMenu
With This
Set Classlib To ARGCommandBars.vcx
.AddObject("CBM","CommandBarsManager")
If Type( "This.CBM") != "O" Or IsNull( .CBM)
Return .F.
EndIf
.CBM.AttachToScreen = .T.
.CBM.InitCommandBars()
.CBM.HideSysMenu = .T.
loMainMenu = .CBM.CreateCommandBar( 1, "MainMenu")
If VarType( m.loMainMenu) != "O"
Assert .f.
Return .F.
EndIf
EndWith
Any suggestions would be highly appreciated
Paul Newton
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.