Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two Custom Class Control Questions
Message
From
16/05/2006 19:06:09
 
 
To
16/05/2006 13:21:58
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01122352
Message ID:
01122521
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform