Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I hack/modify methods column of vcx?
Message
From
17/04/2002 23:29:20
 
 
To
17/04/2002 22:41:34
Bob Tracy
Independent Consultant
Driftwood, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00646138
Message ID:
00646165
Views:
18
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform