Versions des environnements
Network:
Windows 2000 Server
>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
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