Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Renaming a Class Library
Message
From
23/02/2008 18:08:02
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
23/02/2008 10:28:23
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01295642
Message ID:
01295764
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform