Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame strange behaviour
Message
De
13/01/2005 13:02:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
PageFrame strange behaviour
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00976857
Message ID:
00976857
Vues:
59
I have a container class that contains a PageFrame.
PageCount=1, but the problems are still the same, when I set PageCount=2.
PageFrame.Height=102.
Page1.BackColor=128,255,128
When I edit the container, the pageframe starts off on Page 1 (normal I assume).

The problem appears when I edit a Subclass or when I run either the Class or Subclass.

Problem:
When I edit a subclass of the container, the pageframe comes up on page 0 and I have to select Page1 in the properties window to get it to show, but the Tab still doesn't show.
I can not find any way to select Page1 inside the Class Designer.
I can not find any way to get the Tab to show.
Also the PageFrame.Height changes from 102 to 106, and cannot be "reset to default".
Also a little bit of the PageFrame is sticking out to the left of Page1 (It's always there, but it's more evident when Page1 is showing, because Page1.BackColor is different and the little bit is the default grey). The little bit does not show up when editing the Container Class, just the subclass. The little bit's height is the same PageHeight, it extends from the bottom of the PageFrame to just below the Tab.

When I run the class or subclass, it comes up on Page 0. If I "Page1.SetFocus()", then Page1 appears without it's Tab. If I manually click where the Tab should be, then the Tab appears.
PageFrame.Height=106 whether the Class or Subclass is running.
Also, the littls bit of hangover appears, whether the Class or Subclass is running.

I've tried deleting the PageFrame from the Container and rebuilding it, but it's still the same.

My next step is to rebuild the entire Container class, but I'm hoping someone has a better idea before I go to that much work.

TIA
Bill Morris
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform