Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Change a bunch of baseclasses to a new class?
Message
From
05/10/2005 07:26:00
 
 
To
05/10/2005 06:20:58
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 7 SP1
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01056173
Message ID:
01056190
Views:
20
Hi BB

DOH! Of course - frigged the .scx table many times in the past, but forgot about if for this case! Even got a HackForms application from Rick Schummer esp. for doing such as this!

I'd thought there may be a "legal", elegant way of doing this via a VFP function/process

Thanks a lot

Terry

>Make a copy of the form (all files SCX and SCT), open form as table:
>
>USE MyForm.SCX
>SET FILTER TO UPPER(ALLTRIM(Class)) == "COMMANDBUTTON"
>REPLACE ALL ClassLoc WITH "..\lib\my_vcx.vcx" && Relative path to your visual class library
>GO TOP
>REPLACE ALL Class WITH "MyButtonClassName"    && The real name of the class you build
>
>not tested at all just make sure you have old form somewhere else.
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Reply
Map
View

Click here to load this message in the networking platform