![]() In VB6 the mouse cursor is replaced by the rectangular outline of the control being dragged, whereas in converted VB.NET application a default icon is used. OLEStartDrag) will fire.įrom the end users’ perspective, an important difference is what they see when they initiate a drag operation and the DragIcon property is Nothing. Only after this point all events that are related to drag-and-drop – e.g. The drag operation begins only when the mouse cursor is moved outside the source control’s border.the TextBox control), because dragging with the left button would change the text selection. Supporting the mouse button is necessary for controls that can contain editable text (e.g. ![]() an automatic drag-and-drop operation can be initiated by pressing the either the left or the right mouse button and then dragging (VB6 only supports the left button).When the drag-and-drop operation is initiated automatically – which happens always when using “classic” drag-and-drop and can happen with OLE drag-and-drop when the OLEDragMode property is set to 1-vbOLEDragAutomatic – there are a couple important differences from VB6: Starting with version 1.20, “classic” drag-and-drop is also supported. VB Migration Partner fully supports OLE drag-and-drop features.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |