>Hello Ed,
>
>>Yes; save the hWnd of the Form to a Form property (call it nhWnd) introduced at RunTIme, the first time it's actually displayed by:
>
>Thanks, it helped me to keep that form in the top. However, now I have the following problem. If I bring non-modal form to foreground above modal form, then I can close whole app window with x in right upper corner (which is not good). Is there a way to disable X in right upper corner programmatically?
>
Set the form's CLosable property to .F.