Apr 9, 2007 #1 swim Programmer Jul 1, 2002 22 US Hi, Any one knows how to code for PCs clock synchronization? Thanks a lots! Swim
Apr 21, 2007 #2 Ante0 Programmer Apr 19, 2007 98 SE If you by Syncronizing mean making an app that shows current time, then make a new Application. Put a Label and a Timer on it. then use this to make label1 syncronize with your PC's time: procedure TForm1.Timer1Timer(Sender: TObject); begin Label1.Caption := TimeToStr(Time); end; end. Also remember to set Timer1's Enable to True, unless you want to make a button to enable it Hope this is what you want! //Ante0 Upvote 0 Downvote
If you by Syncronizing mean making an app that shows current time, then make a new Application. Put a Label and a Timer on it. then use this to make label1 syncronize with your PC's time: procedure TForm1.Timer1Timer(Sender: TObject); begin Label1.Caption := TimeToStr(Time); end; end. Also remember to set Timer1's Enable to True, unless you want to make a button to enable it Hope this is what you want! //Ante0