Hi Horia,
Have you tried playing with the Win32 API-function SetWindowPos?
Greetz,
Peter
Message
From: delphi-en (AT) yahoogroups (DOT) com
[mailto:delphi-en (AT) yahoogroups (DOT) com] Behalf horiatu (AT) pathcom (DOT) com
Sent: Friday, July 01, 2005 2:01 PM
To: delphi-en (AT) yahoogroups (DOT) com
Subject: [delphi-en] Z
I need to change the Z of the main form.
The form supports BringToFront or SendToBack, however I need to send the main
form one unit back only at a time, i.e. if Z position is 23,
I need to make it
22.
The need is to unhide a child form (dynamically created,) and displayed with Show, which may go behind the main form; in this situation I need a menu item or a short-cut to move the main form back and unmask the child form. SendToBack move it too much (I usually have 20 forms from different applications on my desktop.)
Any ideas?
Horia
Home page:
To unsubscribe: delphi-en-unsubscribe (AT) yahoogroups (DOT) com
Yahoo! Groups Links
Home page:
To unsubscribe: delphi-en-unsubscribe (AT) yahoogroups (DOT) com
Yahoo! Groups Links
<*To unsubscribe from this group, send an email to:
delphi-en-unsubscribe (AT) yahoogroups (DOT) com