Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 259371 - Last Review: October 16, 2002 - Revision: 1.1
BUG: ActiveX Controls Are Disabled
This article was previously published under Q259371
An
ActiveX control cannot be manipulated visually if the form containing the control has scrollbars and is part of a modal formset.
There are two known workarounds:
- Set the WindowStyle property of the formset to 0 (modeless.)
- Set the ScrollBars property of the form to 0 (none).
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Steps to Reproduce Behavior
- Create a form. From the Form menu in the Form Designer, use the Create Form Set option to create a FormSet for the form.
- Set the WindowType property of the formset to "1 - Modal."
- Add an ActiveX control such as the MS Date and Time Picker or the Calendar control to the form.
- Set the ScrollBar property of the form to one of the following:
- "1-Horizontal"
- "2-Vertical"
- "3-Both"
- Run the form and click on the ScrollBar property of the ActiveX control.
Note that the control behaves as if it is disabled. The click of the control does not fire and nothing can be selected in the control.
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
| kbbug kbctrl kbpending KB259371 |
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate