About Modal Forms (VBA)
When you define a dialog box as modal in AutoCAD VBA, the user must respond to the
dialog box before any other part of the application is allowed to continue.
No subsequent code is executed until the modal dialog box is closed through either
the Hide or Unload method. This requires that you, as the developer of the application, think carefully
about how and when you implement dialog boxes.
For example, you may have a dialog box that requires the user to select an object
in the AutoCAD drawing. For the user to be able to pick the object from the AutoCAD
Application window, you must hide the form by calling the Hide method. Once the object has been selected you use the Show method to redisplay the form, with all of its data still current, and continue with
other applications are not.
en you define a dialog box as modal in AutoCAD VBA, the user must respond to the dialog box before any other part of the application is allowed to continue.Modal property to specify whether a form or report opens as a modal window. When a form or report opens as a modal window, you must close …Modal property to specify whether a form opens as a modal window. When a form opens as … Access VBA reference Object model Form Object.modal if it requires you to click OK or Cancel before you can switch to another form or dialog box. The About dialog box in Visual …VBA language reference Visual Basic language reference Properties … When the UserForm is modeless, the user can view other forms or windows …form, on the main menu of Microsoft Visual Basic, you can click Insert … A form is referred to as modal if the user cannot access anything from the …modal in the help wizard in the VBA editor …modal …