[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== Controlling the Z-index of controls (OpenInsight 32-bit Specific) ==== === At 24 AUG 2003 11:43:27PM Andrew M Matthews wrote: === {{tag>"OpenInsight 32-bit Specific"}} Hi all, Is there anyway I can control the Z-index of a control? Ie, if two control occupy the same area, can I control which control is at the fore, and which control is at the back? What I am trying to do is make static textboxes appear on top of a group box border, but the border shows through, which is annoying. Has anyone had this problem, or can anyone suggest a solutions? Cheers, Andrew Matthews iTMS Software ---- === At 25 AUG 2003 08:59AM Donald Bakke wrote: === Andrew, [i]Is there anyway I can control the Z-index of a control? Ie, if two control occupy the same area, can I control which control is at the fore, and which control is at the back?[/i] This doesn't always work as expected but try this code: hWnd=Get_Property(Control, "HANDLE") BringWindowToTop(hWnd) ; * WinAPI command dbakke@srpcs.com [url=http://www.srpcs.com]SRP Computer Solutions, Inc.[/url] [img]http://www.srpcs.com/srpicon1.gif[/img] [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=CA0EB4B55E135DF885256D8D00147533|View this thread on the forum...]]