Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Utility Download
Message
 
 
À
13/07/2001 09:10:39
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00530170
Message ID:
00530202
Vues:
14
>>>I'm pretty sure I saw mention of a utility for moving classes around and working with the libraries, but I can't seem to find it in the download section. Anyone know what I'm talking about? I seem to have hacked (to pieces) a couple of my class libraries and I'm hoping this will help work out some of the subsequent issues. Thanks!
>>>
>>>Regards, Renoir
>>
>>Renoir,
>>The Class Browser that comes with VFP is decent at doing things like this. In addition, if you want to modify it, the source should be available in the Tools\XSource directory (XSOURCE.ZIP) under your VFP directory.
>>
>>HTH.
>
>Larry,
>
>Unfortunately I'm getting a 'container not found' error on a couple of my classes when I try to modify them in a project or use the browser. This is due entirely to my extensively modifying the vcx to try and change some things. I was hoping there was a utility to work with the vcx to help get things cleared up. Barring that, are there any faq or articles that discuss how things should be organized in the vcx? I'm specifically looking for stuff that would help define how the records should be for a container and the objects within the container.
>
>Renoir

You can generate a report on the structure of your forms and class libaries using the following:

use home()+'\Filespec\60scx'
report form (home()+'\Filespec\60scx1') preview

As for containership, the container records wrap all objects contained in it. The first record in the group is the container itself. The nex N records are the records for the conatined objects. The last record in the group is the "footer" record for the container. It needs to be ther in order for VFP to know when to stop the container definition.

Check out the Parent field for the offending objects. You may have inadvertently changed class definition and it may be as simple as resetting it.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform