Microsoft KB Archive/259371

= BUG: ActiveX Controls Are Disabled =

Article ID: 259371

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q259371



SYMPTOMS
An ActiveX control cannot be manipulated visually if the form containing the control has scrollbars and is part of a modal formset.



RESOLUTION
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).



STATUS
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 &quot;1 - Modal.&quot; 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:  &quot;1-Horizontal&quot; &quot;2-Vertical&quot;</li> &quot;3-Both&quot;</li></ul>

</li> 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.</li></ol>

Keywords: kbbug kbctrl kbpending KB259371

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.