Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug/Bad Behavior SubClassing, How to Corrupt a class!
Message
From
30/06/2004 09:55:39
Emanuele Bonin
EB Soluzioni Informatiche
Tezze S/B, Italy
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Title:
Bug/Bad Behavior SubClassing, How to Corrupt a class!
Miscellaneous
Thread ID:
00919001
Message ID:
00919001
Views:
39
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.
Next
Reply
Map
View

Click here to load this message in the networking platform