Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Active X

Status
Not open for further replies.

wbehning

Programmer
Nov 14, 2001
47
US
Has anyone expierenced the problem with an Active X control, e.g. DTPicker, not respecting the Zorder property?

I have a DTPicker control, inside a container control, which is used to modify a SQL statement that populates a cursor for a grid. Once the grid's datasource is populated, I resize the grid control so that it covers the SQL modifier controls. But no matter what I do, short of setting the visible property of the DTPicker to false, the DTPicker control is always on top of the Zorder of the form.

Any Ideas?
 


Zorder is well known not to work properly with anything but VFP controls. You activex control is an actual window (in the Windows sense) and VFP controls and forms are just bitmap representations. So the zorder will not function properly. You may have to consider another route.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Thanks for the responses. I guess I'll have to set the visible property in this case.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top