PRB: Form's Visible Property Does Not Respect Modal WindowType (138921)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
This article was previously published under Q138921 SYMPTOMS
When using <formobject>.visible to display a form having WindowType=1
(modal), the modal attributes are not applied to the form; you can click
to move off the form, and program execution continues.
CAUSE
Setting the Visible property of the form does not apply modal attributes
to the form.
WORKAROUND
Instead of using the Visible property of the form to display it, use the
Show method. The Show method properly applies modal attributes to the
form.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 2/11/2000 |
---|
Keywords: | kbprb kbprogramming KB138921 |
---|
|