Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp50 - SubClassing
Message
De
28/02/1997 08:20:58
 
 
À
28/02/1997 04:31:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00022292
Message ID:
00022372
Vues:
37
>>I have a form created with objects on it. Now
>>I want this form to be subbedclassed from a
>>class (form).
>>Can I do it?
>
>Yes, CHEAT and go into the .SCX file and HACK the file so that it says the form is a subclass and not a base form.
>
>It's DANGEROUS and you should always have a backup...
>
>You need to alter the ClassLoc and Class fields of the .VCX in the record that has the ObjName saying it's the Form (not the dataenvironment).
>Use a RELATIVE path not an absolute path in the ClassLoc so that if you move the project any time - it still works.
>
>I ought to make this part of an article in FoxTalk - it gets asked often.
>
>
>To choose the default class that all forms are based on, use Tools|Options and change the settings on the Forms tab.

Hi Paul...

What kind of editor do I use the hack the .vcx? Notepad does
not work, should I use a hex editor?
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform