Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Global replacement based on new subclassed PageFrame
Message
De
17/09/2004 04:34:20
 
 
À
17/09/2004 03:46:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00943228
Message ID:
00943236
Vues:
23
>I think you actually could continue using the old names, although I agree that self-explaining names might be easier to read and maintain.

I wish, I could. In fact, page name is editable in pageframe ( so I may assign Page1 ) but it reverses back to MyPage1 upon saving.


>
>You could make an own tool / code for that particular scenario.
>Maybe (make a few backups first and then) do something like
>
>FOR EACH oFile IN _vfp.ActiveProject.Files
>    IF INLIST(oFile.Type, 'V','K') && forms and vcx-libs only
>        USE (oFile.Name)
>        REPLACE ALL methods WITH STRTRAN(....) FOR ... etc.
>
>

Thanks for the suggestion, but the problem mainly with other columns such as Parent and Properties


Name = "PageFrame1"
Page1.Caption = "Hit List"
Page1.Name = "Page1"
Page2.Caption = "Browse"
Page2.Name = "Page2"



inside scx/vcx which probably may be changed using your approach.

Michael
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform