Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Global replacement based on new subclassed PageFrame
Message
From
17/09/2004 01:58:27
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Global replacement based on new subclassed PageFrame
Miscellaneous
Thread ID:
00943228
Message ID:
00943228
Views:
81
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
Next
Reply
Map
View

Click here to load this message in the networking platform