Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active-X controls in multi page form
Message
De
28/07/1997 10:54:30
 
 
À
27/07/1997 18:42:26
Renato De Giovanni
Via Fractal Information Systems
São Paulo, Brésil
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00041633
Message ID:
00041934
Vues:
38
VFP3 had 'leaky' pageframe most notibly with the outline control. The 'fix' that seems to be the least hassle is to make the control zero dimensions when leaving the page and redimensioning it in the acitivate method for the page. I haven't seen this in VFP5 yet but it's easy enough to build into a subclasses pageframe when using OCX controls.

Now that I'm writting this I recall that this also happened with the GraphServer smartHelp OCX and we applied the same "fix"; 0 height and width when off page/proper height adn width in page activate.

HTH
Gary


>>>Hi Jeff,
>>>
>>>I've also seen this problem using the outline control into a pageframe when I was working with Vfp 3.0b.
>>>
>>>I remember that I've solved it by creating a container class with the outline included into it. Then, instead of adding directly an outline control to the page, I added this container. The container being an intermediate between the page and the outline seemed to eliminate this problem...
>>>
>>>HTH
>>>
>>>Renato
>>
>>Wow ,thanks. I did place an ole container on the page and then add the calendar control to the container, but problem still occurred. Can you think of anything else you may have done in addition to the container? Because of your success I will test this method again, and doublecheck all options.
>
>Well, I remember that I've created a class (vcx file) with two objects: the Container and the Outline into the Container. Then I added this class into the page, I didn't add a Vfp Container base class (that one from the standard classes). That's the only thing I can think about now. Don't know if it'll solve your problem because you're using a different ActiveX control...
>
>Good Luck!
>
>Renato
Gary
Helping Make Ideas Reality
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform