Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Hacking SCX's.....Page1 on Pageframe renamed
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
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