PRB: SearchForm from Wizstyle.vcx Displays Behind Desktop Form (141394)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q141394 SYMPTOMS
If the Desktop property of a form is set to true (.T.) and either the
txtbtns, picbtns, or verttxtbtns classes from the Wizstyle.vcx Visual
Class Library are added, the SearchForm will be displayed behind that form
whenever the Find button is clicked.
CAUSE
The purpose of setting the Desktop property of a form to true is to allow
that form to be contained anywhere on the Windows Desktop. Therefore, the
main Visual FoxPro window will be in the background behind the form.
When the Find button of the txtbtns, picbtns, or verttxtbtns class of
Wizstyle.vcx is clicked, this creates an instance of the SearchForm class,
also of Wizstyle.vcx. The Desktop property of SearchForm is false (.F.),
indicating that it is to run within the main Visual FoxPro window.
Therefore, it will be displayed behind a form with a Desktop property of
true (.T.).
RESOLUTION
Either of the following resolutions can be used:
- Keep the desktop property of the created form as false (.F.).
-or-
- Modify the SearchForm class of the Wizstyle.vcx Visual Class Library to
have its Desktop property changed from false (.F.) to true (.T.). This
causes the SearchForm to be displayed on top of the Desktop form.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB141394 |
---|
|