🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #884

Re: How do I fire an ActionItem every 1 sec

#884
From: Hans Galema
Date: Sun, 29 Jan 2006 10:26
17 lines
1499 bytes
PK wrote:

> I wish to fire one of my ActionItems every 1s.
> I have used a TTimer and set the interval to 1000.

Then the timer will fire every second.

> However, I am at a loss on how exactly to make the ActionItem
> (call it, 'RegularItem') fire every 1s.

In the TTimer eventhandler you can do what you want. If you
want that one of the actions in your TActionList is triggered,
and you do not know how to do that, then you have a VCL components
using problem which should be asked in
borland.public.cppbuilder.vcl.components.using.

Hans.
Technical Details
Message-ID: <43dc9826$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <43db300d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,4dac470edaf8448f
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 29 Jan 2006 11:26:10 +0100
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.web
Subject: Re: How do I fire an ActionItem every 1 sec
References: <43db300d$1@newsgroups.borland.com>
In-Reply-To: <43db300d$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 145.98.201.248
Message-ID: <43dc9826$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1138530342 145.98.201.248 (29 Jan 2006 02:25:42 -0700)
Lines: 17
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail