Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modifing classes
Message
De
26/12/1997 17:18:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
26/12/1997 17:04:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00068012
Message ID:
00068020
Vues:
27
>>Frequently after running a form, when I go to the pj to modify one
>>of the classes used in the form (or the form class itself) I get the
>>error "cannot modify class in use" (syntax may be wrong). I spent
>>many hours trying to figure out where it was in use, but then
>>discovered that I can modify a sub-class of the forbidden class, then
>>then forbidden class can be modified.
>>
>>Example:
>>
>>run client.spx
>>modify class frmBase --- error
>>modify class frmData --- subclass of frmBase used by client.spx
>>close frmData
>>modify class frmBase --- works fine now
>>
>>What am I missing?
>>
>>TIA
>
>Correction
>
>Example:
>
> run client.spx
> close client.spx
> modify class frmBase --- error
> modify class frmData --- subclass of frmBase used by client.spx
> close frmData
> modify class frmBase --- works fine now
>
> What am I missing?
>
> TIA
Try using something like list objects when error occurred. This will list the objects and their classes as well.
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform