Create a modeless pop-up form

Create a modeless pop-up form

  1. Create the form. The form can include any combination of controls.

  2. In form Design view, double-click the form selector to open the property sheet for the form.

  3. In the PopUp property box, click Yes.

  4. In the BorderStyle property box, click Thin if you don't want the form to be sizable; otherwise, skip to the next step. If you select the Thin setting, you can move the pop-up form, but you can't size it.

  5. Create a macro or event procedure that opens the form.

    Note   To see an example of an event procedure that displays a modeless pop-up form, click the Build button next to the OnClick property box of the Review Products button on the Suppliers form in the Northwind sample application.

  6. Attach the macro or event procedure to a form or report by specifying the macro name or event procedure as the setting for the appropriate event property. For example, type the name of the macro or event procedure in the OnClick property box of a command button.

Notes