Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Toolbars and Top Level Forms
Message
 
 
To
05/08/2000 11:52:42
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00401526
Message ID:
00401564
Views:
17
Dennis did you try your code? That's what I had but I get the toolbar 'behind' the top level form. When you click the toolbar it minimizes the form. Also _Screen.ActiveForm in code in the toolbar returns an error trying to access the form. Thanks

>>Will toolbars not work with top level forms? If not, why? Or am I doing something wrong? Thanks
>
>Hi.
>Toolbar is successfully works with toplevel form.
>Create toolbar class 'clsToolbar'
>Create custom form
>add to form custom oToolbar property
>In form Activate event write code
>
>IF type('THIS.oToolbar')!='O' OR ISNULL(THIS.oToolbar)
> THIS.oToolbar = CREATEOBJECT('clsToolbar')
> THIS.oToolbar.Visible = .t.
>ENDIF
>
>Denis
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform