Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global replacement based on new subclassed PageFrame
Message
De
17/09/2004 01:58:27
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Global replacement based on new subclassed PageFrame
Divers
Thread ID:
00943228
Message ID:
00943228
Vues:
80
I do have a project with subclassed controls library and where PageFrame was added prior to VFP8. So it didn't have MemberClass property in VFP7 and it is empty in VFP8. There are form templates in another library and just forms based on templates which use this PageFrame subclass and usually names are
this.PageFrame1.Page1
this.PageFrame1.Page2

I decided to change this PageFrame subclass and make MemberClass non-empty containing subclassed Page which is named let's say MyPage ( surely I cannot name it as a base class Page again ). I am trouble now with this project because neither "Gofish" from download section nor "Tools/Code references/replace" are able to change all occurences of
"PageFrame1.Page" to "PageFrame1.MyPage" in a project in a code and properties.

Error examples :

*** d:\inbound_dev\classes\uiblocks.vcx, hier2book.showmarked, 2:
*** WITH this.pageFrame1.page2.book.items -> WITH this.pageframe1.mypage2.book.items
*** ERROR: Error encountered during replacement


*** d:\myproject\forms\myform.scx, fgridhtml3book, 16:
*** Pageframe1.Page1.hitlist.Left = 0 -> pageframe1.mypage1.hitlist.Left = 0
*** REPLACEMENT NOT SUPPORTED

Any ideas would it be possible somehow overcome that and make the global replacement? Or it would be better to keep this project as it is now.

Thanks
Michael
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform