|
![]() North Biased Compass Control |
|
Download NorthCompass.ocx Visual Studio Control
Unlike a compass in the real world, a north-biased compass has a fixed card and a moving needle. Therefore this control is useful for showing bearings instead of headings. You may set the control's Properties to change the colors of the tick marks, the length of the tick marks, the style of the indicator (line or dot), and of course also use the Night Property or Twilight Property. |
|
The IndicatorStyle Property may be used to change the indicator from a line (Value "0") to a dot (Value "1"). The IndicatorColor Property sets the color of the indicator. |
|
The Night Property color scheme matches the same as the other crontrols in the control suite, as does the Twilight Property. You may also remove the bearing label with the ShowPrimaryLabel Property to False , or change the font size with the PrimaryFontSize Property. |
|
There are two ways to set the bearing: by using the
cHeading Property and/or the
HDT Method. Degrees may be added that
are greater than 359, and the control will modulus the
sum (for example, a heading of 370 will reduce to a heading of 10).
Several NMEA devices provide True Heading ($..HDT) sentences. (For example many GPS receivers will send $GPHDT sentences.) You may pass these sentences to the Compass Control via the HDT Method. |
|
Events:
Resize Methods:
HDT Properties:
cHeading Error Codes
0 - No Current Error |
|
|
NMEA Sage Home Page
The Banded Compass Control |
|