Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Pages in a Pageframe
Message
De
01/02/2002 15:04:13
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00614217
Message ID:
00614238
Vues:
30
I 've scaned the events but it's no good
frm1.frame.MouseDown(1, 0, 65, 13)
frm1.Paint()
frm1.frame.page2.Deactivate()
frm1.frame.page1.Activate()
frm1.frame.MouseUp(1, 0, 65, 13)
frm1.frame.Click()
frm1.frame.page1.Click()
frm1.Paint()
frm1.frame.MouseUp(1, 0, 65, 13)
the best is frm1.frame.Click();frm1.frame.MouseDown(1, 0, 65, 13)
;frm1.frame.MouseUp(1, 0, 65, 13).

I heard of somebody that placed a unvisible shape over the pageframes rider but this is cruel to.

Agnes


>>I have a pageframe class where I want to programmatically set the backcolor of the Active page to 1 color and all the inactive pages to another color. IN general this is quite easy. However, I am looking for a way to do this without having to drop all the pages and add my own page subclass that has the code in it. I have tried ActivePage_Assign method in the pageframe, but this does not fire when you click on the various pages. Putting it in the UIEnable of the pageframe does not fire either.
>>
>>Currently, I have a SETPAGE method in the pageframe class, and I just put This.Parent.SetPage() in each of the Page Activate methods. I would like to do something at the PageFrame level that truly traps when the activepage changes and fires my SetPage method.
>>
>>TIA!
>
>Mark;
>
>A shot in the dark. Can you use zOrder to determine which page is on top and assign the backcolor at that point? There are not many options if it can be done at all.
>
>Tom
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform