![]() /MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Simple Demo with DataSource./MacControls/Listbox and TableView Demos/ListboxTV drop-in/Flat Only/ListBoxTV Database with DataSource.Returns the point converted to the coordinate system of the receiver. Otherwise, both View and the receiver must belong to the same NSWindow object. ![]() If View is nil, this method instead converts from window base coordinates. View: The view with aPoint in its coordinate system. Point: A point specifying a location in the coordinate system of aView. convertPointFromView(point as NSPointMBS, View as NSViewMBS) as NSPointMBSĬonverts a point from the coordinate system of a given view to that of the receiver. Once the drag is ended or cancelled, the source receives a draggingSessionEndedAtPoint:operation and the drag is complete. When the drag actually starts, the source is sent a draggingSessionWillBeginAtPoint message followed by multiple draggingSessionMovedToPoint messages as the user drags. The caller can take the returned NSDraggingSession and continue to modify its properties such as slidesBackOnCancelOrFail. Returned as Variant to reduce plugin dependencies.Ī basic drag starts by calling beginDraggingSessionWithItems. Returns the dragging session for the drag ( NSDraggingSessionMBS object). It must conform to the NSDraggingSource informal protocol and is typically the receiver itself or its NSWindow object. Source: An object that serves as the controller of the dragging operation. In particular, its mouse location is used for the offset of the icon being dragged. The frame property of each NSDraggingItem must be in the view's coordinate system.Įvent: The mouse-down event object from which to initiate the drag operation. Items: The dragging items (array of variant containing NSDraggingItemMBS objects). Initiates a dragging session with a group of dragging items. beginDraggingSessionWithItems(items() as Variant, e as NSEventMBS, source as NSViewMBS) as Variant
0 Comments
Leave a Reply. |