Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Delphi TTimer tutorial
Old 02-11-2007, 12:54 PM Delphi TTimer tutorial
Skilled Talker

Posts: 58
Trades: 0
How to use the TTimer in Delphi

Introduction:
Well this is a simple tutorial, but its very important if you want to programm delphi.
First I didnt know how to use this TTimer in Delphi, but then I found out that it is very important to learn if you want to make great programs.
And this is only the first tutorial im going to make these days. Im planning to make many tutorials very soon. Now back to the TTimer thingy.

Needs: Basic understanding in Delphi, You need to know the object inspector etc.

How to find TTimer? Its under the "System" in your Delphi Compiler. Add this on your form. Like this:



Now look at the Object Inspector, you'll see this:


The "interval" means how many seconds eg. you should wait or something like that. 1000 means 1 second. So if you type 5000 it means 5 seconds, get it? good

Now try to type 10000 in the interval box. And double click on the TTimer you just added. Now the code will show.

In the code try to add this:

Code:
  Showmessage('You just created your first application with TTimer!')
After 10 seconds a pop-up will appear. This means you created your first application with TTimer!

Created by: ProgMania
Created for: Www.ProgMania.dk
ProgMania is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 02-13-2007, 02:57 AM Re: Delphi TTimer tutorial
Average Talker

Posts: 15
Location: Australia.
Trades: 0
Just a comment. Languages like visual basic and delphi aren't good coding practice. If you ever get into serious programming you will realize you should of started off with a better language for coding practice. Alot of people comment on delphi and visual basic as "sloppy coding languages" and "they provide bad coding practice.
__________________
Who Cares? Obviously Not You People.
Pwnz_You is offline
Reply With Quote
View Public Profile Visit Pwnz_You's homepage!
 
Old 02-13-2007, 03:06 AM Re: Delphi TTimer tutorial
professor's Avatar
Super Talker

Posts: 135
Trades: 0
I am using delphi for network programming using indy components. ANd its amazing. It depends how much do you know about that language. If you are good at vb you can make your application easily in vb, and if I know delphi I can make quick applications in delphi.
__________________
For All your programming and designing needs
professor is offline
Reply With Quote
View Public Profile
 
Old 02-13-2007, 06:20 AM Re: Delphi TTimer tutorial
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
Quote:
Originally Posted by Pwnz_You View Post
Just a comment. Languages like visual basic and delphi aren't good coding practice. If you ever get into serious programming you will realize you should of started off with a better language for coding practice. Alot of people comment on delphi and visual basic as "sloppy coding languages" and "they provide bad coding practice.
Garbage.

You can turn out "sloppy coding" in any language
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 02-13-2007, 07:48 AM Re: Delphi TTimer tutorial
Skilled Talker

Posts: 58
Trades: 0
Yeah I agree with Chrishirst. If you know alot of eg. Delphi then you can create everything you want
ProgMania is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Delphi TTimer tutorial
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15447 seconds with 12 queries