GoDiagram Web Reference
AddSelectionHandles Method (GoText)

Implement a custom selection indicator if BackgroundOpaqueWhenSelected is true.
Syntax
'Declaration
 
Public Overrides Sub AddSelectionHandles( _
   ByVal sel As GoSelection, _
   ByVal selectedObj As GoObject _
) 
public override void AddSelectionHandles( 
   GoSelection sel,
   GoObject selectedObj
)

Parameters

sel
selectedObj
Remarks
When BackgroundOpaqueWhenSelected is true, selecting this object will cause the background to be shown; unselecting will make the background transparent again. This produces the effect of highlighting the text when selected, if the text normally has a transparent background and the BackgroundColor is a suitable highlight color. Changes to the TransparentBackground property are not recorded by the GoUndoManager.
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

GoText Class
GoText Members
Base Implementation in AddSelectionHandles

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback