Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you address a class in a classlib from a form?
Message
De
14/10/1997 14:37:39
 
 
À
14/10/1997 14:33:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00054494
Message ID:
00054501
Vues:
35
>>>I have a toolbar called mytoolbar in a classlib called myclasslib
>>>I want to make my toolbar invisible.
>>
>>It doesn't matter what is class name and even library name. However it does matter how you called the object (name property) instanciating from the class. This name should be used in reference, e.g. if toolbar 'tbMain' is part of formset, you use Thisformset.tbMain.Hide
>
>thanks Ed - Actually, I am in a stand alone form and I want to
>set visible = .f. to a toolbar that is part of a formset.

In this situation your problem is to reference formset. Rresumably it will work using:
frsMain.tbMain.Visible=.f. && I assume that you started formset DO FORM form1 NAME frsMain LINKED
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform