VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Compass Control

Onmitsu  (1 Submission)   Custom Controls/Forms/Menus   VB Script   Intermediate   Wed 3rd February 2021

Custom Compass control, will show direction or degrees.
Private Sub Text1_Change()
'some basic error checking
If Val(Text1.Text) > 359 Then
Text1.Text = (Val(Text1.Text) - 360)
End If
'call the control
Compass.Value = Text1.Text
End Sub
Easy example of using sin in graphics applications.

Inputs
.Value

Rate Compass Control (5(5 Vote))

Download Compass Control

Compass Control Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters