SDG Toolkit

Mouse.RelativeTo Property

Gets or sets the control that all of the X, Y and Location coordinates are relative to

public System.Windows.Forms.Control RelativeTo {get; set;}

Remarks

This function makes all of the cursor coordinates relative to a particular part of the screen. This function allows a user to make their coordinates relative to a particular control.

Example

C# Eg., sdgManager1.Mice[0].RelativeTo = this;

See Also

Mouse Class | Sdgt Namespace