I have toolbars docking in top level. I didn't do an AddProperty though. I
did an thisform.createobject on my toolbar class
Allen 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Crozier
Sent: 27 June 2006 14:16
To: [EMAIL PROTECTED]
Subject: Docking Toolbar in Top-Level Form

Problem: 
I'm trying to make a top level form in which a toolbar is dockable. 

So Far:
If I create a form which is set as a "Top-Level" with Desktop=.T. and add a
toolbar in the init() of the form as follows:

With This
        .AddProperty("barToolbar")
        .barToolbar=NewObject("Organiser_Toolbar","stdControls")
        .barToolbar.Visible=.T.

        * Bind My Event to the first Toolbar Button
        * This binding fires correctly
        =BindEvent(Thisform.barToolbar.btnOpen,"Click",This,"btnOpen")
        *
Endwith 
*
Return



_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** 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.

Reply via email to