MoveControl Member Details

MoveControl Public Fields


MoveControl Public Enumerations
CursorState
The types of Mouse-Cursor which can be displayed and used
Remarks:

Members:

Name Value Description
DefaultCursor 0 The Default plain arrow is displayed
NESWCursor 1 The 4-arrowed Size-All Cursor is displayed
MarqState
Lists states of construction of a Marquee
Remarks:

Members:

Name Value Description
None 0 There is no Marquee in use
DrawingMarquee 1 There is a Marquee currently being drawn
MovingControl 2 The Marquee is employed in moving a Control
DeletingMarquee 3 There is a Marquee currently being deleted
MouseState
Lists states of the condition of the Mouse Buttons
Remarks:

Members:

Name Value Description
Absent 0 The Mouse is not over the Region in Question
AllUp 1 The Mouse is over the Region in Question, but all Buttons are Up
LeftDown 2 The Mouse is over the Region in Question, and the Left Mouse-Button is Down
MoveState
Possible states of movement that can be handled by this MoveControl
Remarks:

Members:

Name Value Description
Quiet 0 Nothing going on
Working 1 Movement in process
ReturnControl 2 Program control being passed back from MoveGraph Class


MoveControl Constructors
New
Instantiates MoveControl based on Control being Moved
Public Sub New(ByVal Targ As Control)
Remarks:
Parameters:
ByVal Targ As Control
New
Instantiates MoveControl based on Control being Moved as well as its Parent Control
Public Sub New(ByVal Targ As Control, ByVal Arn As Control)
Remarks:
Parameters:
ByVal Targ As Control
ByVal Arn As Control
New
The plain-vanilla Constructor
Public Sub New()
Remarks:
Parameters:


MoveControl Public Properties
Arena
The Container Control on which the movement occurs Category: Behavior
Public Property Arena() As Control
Remarks:
IndexParameters:
Return Value:
Control
DynaLoc
Dynamically computed Location of the Target Category: Behavior
Public ReadOnly Property DynaLoc() As Point
Remarks:
IndexParameters:
Return Value:
Point
MarqueeState
Records the state of construction of the current Marquee Category: Behavior
Public Property MarqueeState() As MarqState
Remarks:
IndexParameters:
Return Value:
MarqState
MusState
Records the condition of the Mouse Buttons at this time Category: Mouse
Public Property MusState() As MouseState
Remarks:
IndexParameters:
Return Value:
MouseState
PointerState
Records the type of Mouse-Cursor currently displayed Category: Mouse
Public Property PointerState() As CursorState
Remarks:
IndexParameters:
Return Value:
CursorState
StateOfMove
The state of the movement being handled by this MoveControl Category: Behavior
Public Property StateOfMove() As MoveState
Remarks:
IndexParameters:
Return Value:
MoveState
Target
The Control which has its Location changed Category: Behavior
Public Property Target() As Control
Remarks:
IndexParameters:
Return Value:
Control


MoveControl Public Methods
DeleteMarq
Deletes the Marquee when it is no longer needed
Public Sub DeleteMarq(ByVal e As PaintEventArgs)
Remarks:
Parameters:
ByVal e As PaintEventArgs
Return Value:
Void
DrawMarq
Draws the Marquee based on the DynaLoc Property
Public Sub DrawMarq(ByVal e As PaintEventArgs)
Remarks:
Parameters:
ByVal e As PaintEventArgs
Return Value:
Void
InitializeDynaLoc
Used to re-initialize Dynaloc
Public Sub InitializeDynaLoc()
Remarks:
Parameters:
Return Value:
Void


MoveControl Public Operators


MoveControl Public Events