Information générale
Titre:
Global replacement based on new subclassed PageFrame
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement