Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming a Class Library
Message
De
23/02/2008 10:28:23
 
 
À
23/02/2008 06:25:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01295642
Message ID:
01295702
Vues:
22
B2 or not B2 ? That is the Pentagonian question.

I think Les Pinter posted this handy code a few years ago.
I still use it and modify it from time to time.
* Make your own classes is seconds
CREATE CLASS mycmd       of MyLib AS CommandButton
CREATE CLASS mylabel     of MyLib AS Label
CREATE CLASS mytext      of MyLib AS TextBox
CREATE CLASS myspin      of MyLib AS Spinner
CREATE CLASS myedit      of MyLib AS EditBox
CREATE CLASS myradio     of MyLib AS OptionGroup
CREATE CLASS mycheck     of MyLib AS CheckBox
CREATE CLASS mycombo     of MyLib AS ComboBox
CREATE CLASS mylist      of MyLib AS ListBox
CREATE CLASS myWireFrame of MyLib AS Shape
CREATE CLASS myFrame     of MyLib AS PageFrame
>>Thanks, but just a bit too late; I already did it manually using HackVCX. Took a while - tedious as all get out - but got through it ok. I never knew that about the class browser. Pretty cool.
>
>Jay,
>
>Just wonderin... why do a whole lot of your questions for help get answered with a preliminary "Thanks, but just a bit too late"?
>
>What does it add to the responder's help that is 'useful'?
>
>
>
>>
>>Those two faces are a blast from the past. Wonder what they are up to now?
>>
>>
>>>See if this helps:
>>>
>>>Re: Renaming a Class Library Thread #135223 Message #140189
>>>
>>>(Always backup first!)
>>>
>>>>You would think this would be easier. I want to rename the library, but the classes within the library do not get updated. I've tried some code I found on Foxite, but it didn't work for all class types. Is there any non-involved way to do this?
I ain't skeert of nuttin eh?
Yikes! What was that?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform