GoDiagram Win Reference
GetDropdownLocation Method

the Form to be shown
the Control, normally a Button, that causes the drop down form to be shown
Gets a location for a Form brought up by a drop down button
Syntax
'Declaration
 
Protected Overridable Function GetDropdownLocation( _
   ByVal f As Form, _
   ByVal relativeTo As Control _
) As Point
protected virtual Point GetDropdownLocation( 
   Form f,
   Control relativeTo
)

Parameters

f
the Form to be shown
relativeTo
the Control, normally a Button, that causes the drop down form to be shown

Return Value

a Point in screen coordinates
Remarks
Used by color preview buttons and gradient/hatch dropdowns. The X and/or Y value may be negative.
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

GoPropertyUserControl Class
GoPropertyUserControl Members

 

 


© 2015. Northwoods Software Corporation. All Rights Reserved.

Send Feedback