GoDiagram Web Reference
SelectionStarting Event

The event that is raised before a number of objects are selected or de-selected.
Syntax
'Declaration
 
<CategoryAttribute("GoView")>
<DescriptionAttribute("Raised before a number of objects are selected or de-selected.")>
Public Event SelectionStarting As EventHandler
[CategoryAttribute("GoView")]
[DescriptionAttribute("Raised before a number of objects are selected or de-selected.")]
public event EventHandler SelectionStarting
Remarks

This is paired with the SelectionFinished event in order to permit optimizations to skip updating other controls that depend on what is currently selected. You still need to implement ObjectGotSelection and ObjectLostSelection event handlers in order to detect the selection or de-selection of individual objects. Methods such as SelectAll, SelectInRectangle, CopySelection, DeleteSelection, and EditPaste will raise this event before (and the SelectionFinished event after) making changes to the Selection.

These two events are not raised when individual objects are added or removed from the Selection, such as when the user clicks on an object. These two events have been added to allow certain optimizations to be implemented when many ObjectGotSelection and ObjectLostSelection events might occur "at once".

All event handlers for this event should not modify the selection.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GoView Class
GoView Members

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback