Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I hack/modify methods column of vcx?
Message
De
17/04/2002 23:29:20
 
 
À
17/04/2002 22:41:34
Bob Tracy
Independent Consultant
Driftwood, Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00646138
Message ID:
00646165
Vues:
19
Bob,

I finally figured out what is up. The class browser or designer puts a chr(13) + chr(10) after each line. I guess just chr(13) by itself is ok too?

But when I go into the class designer after issuing my code, characters in the methods are all messed up, all over the place, with no apparent pattern, although the text I entered is there, 'sort of'.

However, if I issue compile class , everything gets fixed! I don't know what the compile does in this case, or what the mechanics are, but it works.

Thanks so much for your help!!


>David,
>
>I went into my app and added a quick second method following the example I sent earlier. Here's the results clipped directly from the VCX:
>
>PROCEDURE Init
> WITH THIS
> DIMENSION .aCompanionCtls[1]
> .cClassName = 'employee'
> .cFormName = 'frmemployee'
> .cFKName = 'fk_employees'
> ENDWITH
>ENDPROC
>PROCEDURE Test
>SET SAFETY OFF
>ENDPROC
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform