Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving class
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00629004
Message ID:
00629962
Vues:
8
>>>Hello,
>>>
>>>When I programmatically change a property or a method of a class, how can I automatically save the changes?
>>
>>How are you 'programatically' changing the items? Is Ctrl-S what you are looking for (in the IDE)?
>
>I do the following:
>
EDITSOURCE("AppContr.VCX", 0, "AppContr")
>WITH _VFP.Objects[1].Objects[1].Objects[1]
>	*-- Now I assume that this is the only object here.
>	.ShortAppName = ALLTRIM(THIS.txtShortName.VALUE)
>	.AppNumber = ALLTRIM(STR(THIS.txtNumber.VALUE,10,2))
>	.AppVersion = "1.00"
>	.AppName = ALLTRIM(THIS.txtLongName.VALUE)
>ENDWITH
>Now what's missing is the saving and closing of the class designer.

KEYBOARD "{CTRL+W}" might work.
My blog
My consulting page
My home page

Member of the Trim Your Auto-Quote Campaign!
What's another word for thesaurus?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform