Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two Custom Class Control Questions
Message
De
16/05/2006 19:06:09
 
 
À
16/05/2006 13:21:58
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01122352
Message ID:
01122521
Vues:
15
>1. When I use the addobject method of a custom container class, it will appear behind other objects, example an OLE richtextbox or a grid.
>

That is normal, think of a VFP form as a white wall. What VFP does is paint all its controls and the form background in that wall. Now when you add an ActiveX control, is like hanging a painting on that wall, there is no way to have whats painted in the wall put in front of the painting hanging on the wall.

This happens because the VFP controls are not "real" Windows controls, they are just bitmap representations.

This is good, because you can then have 100 textboxes in a form, and the resource usage is kept low, and the form is not slugish.

Going back to the wall example, its easier and faster to paint 100 textboxes in the wall, than to hang 100 paintings of textboxes on it.

Carlos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform