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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement