Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extra classes - where should we save them?
Message
From
09/06/2009 14:03:07
 
General information
Forum:
Visual FoxPro
Category:
Visual ProMatrix
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01404595
Message ID:
01404756
Views:
30
This message has been marked as a message which has helped to the initial question of the thread.
>>>I saved them in ProCtrls for now - if I instantiate a new object of this class in run-time - would the library be automatically (by the framework) be in set classlib or I have to specify it in run-time?
>>
>>Doesn't really matter what you call it. For consistency, I call mine pvkAppNameCtrls or pvkGenericCtrls, since I always preface my custom PEMs with pvk --- this way they "float" to the same place in the property list.
>>
>>You don't need to set classlib to proctrls separately, it is automatically linked into all VPM apps.
>
>I understand about ProCtrls, but if I put them into the separate library - do I have to set classlib to it explicitly somewhere in the code?

Yes. I actually modified the base proforms form (FORM_) Load() -method so that it gets linked in automatically without me having to think about it. I don't think it matters, but I check first if the classlib is linked, and if not, I'll link it. (as in: IF ! 'PVKSG10CTRLS' $ UPPER(SET('CLASSLIB'))...)

Pertti
Pertti Karjalainen
Product Manager
Northern Lights Software
Fairfax, CA USA
www.northernlightssoftware.com
Previous
Reply
Map
View

Click here to load this message in the networking platform