Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Manually REPLACEing in a VCX Methods field
Message
From
07/11/2005 16:51:03
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
Miscellaneous
Thread ID:
01065807
Message ID:
01066206
Views:
14
> don't believe either one of you. *g*
Well, that's okay :-)

One more try to convince you:

1. methods and objcode in sync. methods content:
PROCEDURE Load
* the load event
ENDPROC
PROCEDURE Init
* the init event
ENDPROC
The source code of init is "* the init event" = bytes 56 to 74 (including CRLF).

2. manually change methods memo without changing objcode and no recompile. methods content:
PROCEDURE Load
* the load event
* is now longer
ENDPROC
PROCEDURE Init
* the init event
ENDPROC
Now what's at byte 56 to 74? It's "PROCEDURE Init". And that shows up in the editor when editing the init method...

3. another manual change of the methods memo to:
PROCEDURE Load
* the load event
* is now
ENDPROC
PROCEDURE Init
* the init event
ENDPROC
The Editor now shows
URE Init 
* the
as the init method...

If I clear out ObjCode, THEN the editor shows nothing, THEN VFP gives up...

Maybe you'd believe me (us <g>), if I could find the informations in ObjCode memo and modify it so the init method is shown in the load event and vice versa?

Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform