Note that there are some explanatory texts on larger screens.

plurals
  1. POA modal form with a parent form as background
    primarykey
    data
    text
    <p>How can I have a black form as a background and some modal forms opened one at a time whose owner is the black form? I need these two to retain their order together (when minimized and maximized) that's why I have chosen the modal form. </p> <p>I have made a simple main form with black background, and opened a form in dialog (modal) form. The main form provides a black background for me and the modal form stays in front of the black background. But when opening new forms, I can't set the owner of new modal form to the aforementioned black form. I have tried passing the black form object and also registering events to no avail.</p> <p>Do you know any mechanism to implement the following scenario:</p> <p>A black form as a background and a series of modal forms opened one at a time in front of the black one in a way that the black form is the owner of every modal form.</p> <p>Thanks</p> <p><strong>Edit</strong></p> <p>Please consider this scenario: I have 3 forms named <strong>frmBlack</strong>, <strong>Form1</strong> and <strong>Form2</strong>. I use <strong>frmBlack</strong> as the <strong>main blacked form</strong>. After placing a button on this form I call the Form1Object.ShowDialog(this). Now suppose that I want to navigate to the third form (Form2), [this means that I must close the Form1Object] I put a button on the second form (Form1) and when this button is pressed I must close the Form1 object and navigate to the Form2Object while its owner in the ShowDialog() function must be set to frmBlack.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload