Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bug/Bad Behavior SubClassing, How to Corrupt a class!
Message
De
30/06/2004 09:55:39
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italie
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Titre:
Bug/Bad Behavior SubClassing, How to Corrupt a class!
Divers
Thread ID:
00919001
Message ID:
00919001
Vues:
38
Hi All
I discovered a Bug/bad Behaviour subclassing forms.
Following the below istruction is possible to corrupt class:

1) Create a class library with a form containig a pageframe
2) create a second class that derives the first class and add a control on a page of pageframe, so save the class
3) Modifying the second class and change the name of the page where yoiu place the control, so save teh class.
4) try to modify again the second class .... you'll see an error.

Infact the last save don't save correctly the modification of the name of the page, but the control have the right Parent link.

My opion is that the name of the pages should be not modificable.

Any other opinion ?
Thanx in Advance
bye, Emanuele!
In the beginning the Universe was created.
This has made a lot of people very angry and been widely regarded as a bad move.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform