Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you address a class in a classlib from a form?
Message
From
14/10/1997 14:37:39
 
 
To
14/10/1997 14:33:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00054494
Message ID:
00054501
Views:
30
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform