Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOUND A BUG - Code being Moved
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
FOUND A BUG - Code being Moved
Divers
Thread ID:
00830011
Message ID:
00830011
Vues:
63
VFP is moving code!!
Occurs in both VFP7 and VFP8

Steps to reproduce:

1. Create a classlib called "Test" with a label in it called "lblTest"
2. Add a method called "Clicked"
3. Make the Click event (not Clicked) hidden and add this line of code:
This.Clicked()
Close the class designer, and

1. Create a form
2. Drag a lblTest onto the form
3. Double Click the label and in the Clicked method add:
WAIT WINDOW "Label Clicked"
4. Run and verify the wait window fires


Next
1. Reopen the Class and make the Click event Public
2. Close the class designer
3. Re-Open the form and the Label's code widow

Code had been moved from Clicked to Click

I get the same result even if I use some other method name other
than Clicked.
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform