Welcome! Log In Create A New Profile

Advanced

show direction using graphic symbol

Posted by Hans60 
Hans60
show direction using graphic symbol
June 15, 2009 11:04AM
I like to display the runway direction and the wind as a vector using a graphic display like this...



How can I do this using a graphic display. It should work on PPC . Any Help , hints appreciated!

HW = Headwind
XW = cross wind
RWY = Runway direction

//
PROCEDURE xWind()
EDT_HW= EDT_WindSpeed*Cos(EDT_WindDir-EDT_RWY)
IF EDT_HW >-1 THEN
EDT_HW..Color=LightGreen
ELSE
EDT_HW..Color=LightRed
END

EDT_XW=EDT_WindSpeed*Sin(EDT_WindDir-EDT_RWY)
IF EDT_XW >-15 THEN
EDT_XW..Color=LightYellow
END

Thanks
Hans




Edited 1 time(s). Last edit at 06/15/2009 11:36AM by Hans60.
Arie
Re: show direction using graphic symbol
June 15, 2009 11:25AM
Hans,
have a look at the WinDev 12\Examples\Training\WD Curve Drawing

or \WinDev 14\Examples\Complete examples\Sales Management\ which contains a clock-template. The hands of a clock are drawn here. Looks very much like your compass.

Arie
Hans60
Re: show direction using graphic symbol
June 15, 2009 11:35AM
Ok I will, thanks !
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: