Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Hacking SCX's.....Page1 on Pageframe renamed
Message
De
23/07/2008 09:31:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Hacking SCX's.....Page1 on Pageframe renamed
Divers
Thread ID:
01333415
Message ID:
01333415
Vues:
49
I have hacked a fairly robust form with multi-page pageframe which contains another multipage pageframe. I changed the classes and classloc of every contained object to point to a different classlib. I did this for an entire directory of SCX's but only the ones with pageframes are giving me problems. If I modify anything on my forms after they are hacked the references to Page1 in the Pageframe entry are already named with the name given to them in that entry...

ie..

pagHousehold.FontBold = .T.
pagHousehold.Caption = "Household"
pagHousehold.PageOrder = 2
pagHousehold.ForeColor = 0,0,170
pagHousehold.Name = "pagHousehold" *** this is the problem as Page1 is really Page1 before it is renamed?
Page2.FontBold = .T.
Page2.Caption = "Clients"
Page2.PageOrder = 3
Page2.ForeColor = 0,0,170
Page2.Name = "pagClients"
Page3.FontBold = .T.
Page3.Caption = "Search"
Page3.PageOrder = 1
Page3.ForeColor = 0,0,170
Page3.Name = "pagSearch"


setting them back to Page1 instead of pagHousehold lets me edit my form once. After saving it reverts to code above and i again get an error on loading it.

Im fairly sure this has a simple solution and someone has seen it before... Any help is greatly appreciated.


Thanks,

Mike Mitchell
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform