Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7.0 Wish list
Message
 
 
À
13/01/2000 18:02:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00317511
Message ID:
00318023
Vues:
45
Erik,

>>>I don't think you can do that. What you are designing will need to be reinstatiated. You can't do this on the fly like you want. The class browser is the best and easiest place to do this.
>>
>> Yes, for the classlib. But what about form? Say, I created form based on VFP base form class, but lately I decided to switch to myForm class in myLib. Right now my only actions here could be open .SCX file as a table and modified this file direcly. It's very inconvenient... But I don't want to insist, because there could be hidden problems...
>
>The problems are what Craig is trying to explain. When a form is open in the designer, it is already "created" from its class library. You can't change a child's parents after it is born- even though the form is in design mode, in a sense, it is still alive. The only way to change an object's class is before it's born.

Ok, I can understand that. I just want to say, that it's inconvenient, if we already created form and then decided to change some controls to be instances of some new class. But anyway, I always can do it in a scx file directly, not a big deal...
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform