Thread View: borland.public.cppbuilder.internet.web
2 messages
2 total messages
Started by PK
Sat, 28 Jan 2006 07:49
How do I fire an ActionItem every 1 sec
Author: PK
Date: Sat, 28 Jan 2006 07:49
Date: Sat, 28 Jan 2006 07:49
12 lines
1245 bytes
1245 bytes
Hi! I am doing a web server appn. I wish to fire one of my ActionItems every 1s. I have used a TTimer and set the interval to 1000. However, I am at a loss on how exactly to make the ActionItem (call it, 'RegularItem') fire every 1s. Please advice me on the properties/methods which I need to invoke on my TWebDispatcher or TActionItem to fire the particular ActionItem. Thanks. PK
Re: How do I fire an ActionItem every 1 sec
Author: Hans Galema
Date: Sun, 29 Jan 2006 10:26
Date: Sun, 29 Jan 2006 10:26
17 lines
1499 bytes
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.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads