Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VMP Toolbars
Message
De
15/07/2000 11:04:04
 
 
À
15/07/2000 10:52:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Divers
Thread ID:
00392797
Message ID:
00392878
Vues:
9
After I replied I checked and the iatbrinstances property is protected. I changed to public and all is well. I don't understand why you would make a property protected, but I know people do it. Is this a problem?

Thanks
Robert

PS I love VMP 4.0. I don't understand it all but I love what I know.
>That is what I expected but:
>If I look at the properties of custoolbars I see iatbrinstances but when I run the application, I open the watch window and there is no property iatbrinstances for the object otoolbars.
>
>Thanks
>Robert
>>>I have a global toolbar instantiated via the setupcustom method of the application object, just as the documentation describes. My problem is that I have a dropdown combo box in the toolbar and I want to change the value from the current active form. But I do not know what the object reference would be. I can do this interactively by typing:
>>>oMytoolbars = newobject('tbrtmgen','libs\tmfwfrm')
>>>oMytoolbars.show
>>>
>>>oMytoolbars.cboLocation.value = 'abc'
>>>
>>>What do I use in place of "oMytoolbars" when running the application?
>>>TIA
>>>Robert
>>
>>Robert,
>>A reference to any global toolbars can be found in the iatbrinstances array property of oToolbars. If you only instantiate one, then element 1 should have it.
>>
>>HTH.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform