DragMode=Automatic Isn't Supported for the OLE Outline Control

Last reviewed: March 27, 1996
Article ID: Q148775
The information in this article applies to:
  • Microsoft Visual FoxPro for Windows, version 3.0

SUMMARY

Setting the DragMode property to Automatic is not supported for the Outline control.

MORE INFORMATION

This is because DragMode is a property of the whole outline control. If it was set to Automatic, it would create a situation where you would not be able to access the control at all. The mouse click would initiate dragging rather than collapsing and expanding the outline.

You can still use the Ouline control's Drag event with DragMode=Manual to achieve a dragging effect. An example would be to use the PictureDblClick event with a THIS.Drag.

For information on how to set and use manual drag and the drag icon property, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q142392
   TITLE     : FIX: Drag Icon Property Ignored on Outline Control OCX


Additional reference words: 3.00 VFoxWin
KBCategory: kbole
KBSubcategory: FxinteropOcx


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: March 27, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.