Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Renaming a Class Library
Message
De
23/02/2008 18:08:02
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
23/02/2008 10:28:23
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:
01295764
Vues:
20
>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
>
Neat :). All that's missing is

#define mylib libs\newlib.vcx

and then change the path and/or name as needed.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform