View Single Post
  #3 (permalink)  
Old 08-16-2008, 03:20 PM
wolfgang wolfgang is offline
Knows the basics
 
Join Date: Apr 2007
Location: Steinheim, Germany
Posts: 74
Default Clock?

Hi,
first: Erel was faster.

Try this
Code:
Sub Globals
	i = 0
	a = 0
End Sub

Sub App_Start
	Form1.Show
	Form1.ForeLayer = true
	Form1.Circle (120,120,100,cYellow)
	Timer1.Enabled = true
End Sub

Sub Timer1_Tick
	Form1.FErase(40,40,200,200)
	a = i / 180 * cPI
	Form1.FLine(120,120,120 + 80 * Sin(a),120 - 80 * Cos(a),cRed)
	i = i + 6
End Sub
May be this simple code can help you.
__________________
Thanks for all
wolfgang
___________________
Desktop: Dual Core 3.0 GHz, XP SP3
Device: IPAQ 3970 WM 2003, Asus 632N WM5, HTC 3650 Cruise
GPS: Clip-on Bluetooth, Navman 3000
Reply With Quote