Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object not cantained in form (Menu)
Message
 
À
20/11/1997 15:08:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00061435
Message ID:
00061580
Vues:
27
>I have a form and a tool bar showing.
>
>When I go to the menu (which was displayed before the form and
>tool bar were put up) I get the message :
>"Object is not contained in a Form"
>
>After getting this message the oApp object is gone.

It would be better if I knew the version of the toolbar that you were using, however, let me take a stab at it. In the 3.0 version of the toolbar, you had to make the toolbar part of a formset. This formset had to be instantiated before you open another form in the formset.

I've found in the newer version that I no longer need to do that. I can include the toolbar right on the form, however, because of a bug, you need to add the imagelist for the toolbar by code in the forms init method.

Doing it this way I have been successful and have not received the error message that you are indicating.

DJ :o)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform