ACC2: Modal Behavior Disabled By Restore, Minimize, & Maximize (158939)
The information in this article applies to:
This article was previously published under Q158939
Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
If you set the Modal property of a form to Yes, the modal behavior of the
form is partially disabled if you use the Minimize, Maximize, or Restore
actions or methods on the form.
RESOLUTION
After you use Minimize, Maximize, or Restore, reset the Modal property of
the form. In the following examples, replace <FormName> with the name of
your modal form:
In a Macro
Macro Name Action
--------------------
Test1 Restore
SetValue
Test1 Action Arguments
---------------------------------
SetValue:
Item: Forms![<FormName>].Modal
Expression: True
In Access Basic Code
DoCmd Restore
Forms![<FormName>].Modal = True
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access
version 2.0. This problem no longer occurs in Microsoft Access
version 7.0.
REFERENCES
For more information about the Modal property of forms, search for
"Modal," and then "Modal Property" using the Microsoft Access Help menu.
For more information about the Restore, Minimize, or Maximize commands,
search for "Restore," and the "Restore Action," or "Minimize," and then
"Minimize Action," or "Maximize," and then "Maximize Action," using the
Microsoft Access Help menu.
Modification Type: | Major | Last Reviewed: | 7/1/2002 |
---|
Keywords: | kbbug kbusage KB158939 |
---|
|