Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to check class toolbar is active or not
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00736261
Message ID:
00736313
Views:
14
in the lostfocus of the form release the toolbar, then when the form is activate create the toolbar, with this aproach you have 1 toolbar for form.

is quick, dont worry about performance, because fox load all to memory.

Regards

>Hi All,
>i have a formset it contains form1 and form2 . (PrivateDataSession , Pessimistic ,bufferMode 5)
>(suitable for Multiser) By this way can ben open multiply form (one of the top of the other).Until this time there is no problem
>
>there is a code formset.form1 loadevent for check if class is loaded or not
>
>IF !"soykan.vcx" $ SET("CLASSLIB")
>SET CLASSLIB TO "LIBS\soykan.vcx" additive
>ENDIF
>
>
>Now main problem when I open 2 or 3 form one of the top of the other appearing normally 2 or 3 toolbar normally . Aliases doesnt mixes cause each formset loads own alias to the toolbar.
>But I wantto show One toolbar on the screen and which form is active own toolbar should appear on the screen . How can i do this ?
>
>TIA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform