Simple Goto Control

Download GotoSimple.ocx Visual Studio Control

This control accepts NMEA sentences via the RMB Method. The control is fully resizable, and it resizes via the Width property: the height will automatically adjust to retain the proper width-to-height ratio. The background color, font color, and compass color are selectable.

Note that this control accepts a Heading Property: the RMB NMEA sentence does not including heading, so that value must come from a different NMEA sentence or some other source.

This image shows the Night Property set to True.

Note that a Heading Property set to -1 will turn off the center arrow: -1 means there is no known heading. The same is true for the Track Property.

This image shows the Twilight Property set to True.
This image shows the ShortCardinals Property set to False.
Events:

GotoCompassError
Arrived

Methods:

RestoreDefaults
RMB

Properties:

ShortCardinals
DistanceUnits
SpeedUnits
BackgroundColor
CompassColor
FontColor
WaypointID
BorderStyle
Heading
Speed
Distance
Track
Night
Twilight

Error Codes

0 - No current error.
1 - Heading must be from -1 to 360 degrees.
2 - Track must be from -1 to 360 degrees.
3 - Speed must be from 0 to 999.
4 - Distance must be from 0 to 10000.
5 - Waypoint ID must be from 0 characters to 12
6 - RMB NMEA sentence appears malformed. It must start with $
7 - RMB NMEA sentence is not a valid $..RMB sentence.
8 - RMB Sentence $..RMB appears malformed.
NMEA Sage Home Page

The Banded Compass Control
The Compass Control
The North Biased Compass Control
The Goto Control
Course and Speed (Ground)
The Position Control
Engine RPM Control
The Rudder Control
The GPS Satellite Health Control
The GPS Satellite Elevation Control
Set and Drift control
The NMEA Talker Control
Depth and Water Temperature Control
The Wind Control
The Cross Track Alarm Control
The Pilot Control
Waypoint Plotter Control
Radar Control
Goto Simple Control