image image Home   About   Downloads   Support   Links   Contact  
image

IntraWeb
» Feature Matrix
» What's new in IntraWeb
» Blog
» Downloads
» Test Releases
» IntraWeb for Free

Resources
» Atozed Purchase Point
» IntraWeb Demos
» Documentation
» Bundled Key Request
» FAQ
» Articles
» Books
» Support
» Archived Versions

What others say
» Case Studies
» Magazine Reviews
» User Quotes






Copyright
2002 - 2012
Atozed Computer
Software Ltd.

image
Buy Online   Download Support  FAQ
Atozed Home  »  IntraWeb  »  IntraWeb Bugs

Disabling a TIWTimer in a Async event allows its events to execute once more

7/29/2009

Bug Description:

When you disable a TIWTimer in a Async event, the TIWTimer events will be executed at least once more.

Affected Browsers:

All

Workaround:

Check if the IWTimer is enabled before executing your code.

procedure TIWForm1.IWTimer1AsyncTimer(Sender: TObject; EventParams: TStringList);
begin
if IWTimer1.Enabled then
IWLabel1.Caption := IWLabel1.Caption + '0';
end;

procedure TIWForm1.IWButton1AsyncClick(Sender: TObject;
EventParams: TStringList);
begin
IWTimer1.Enabled := not IWTimer1.Enabled;
end;


<< Previous Entry  Next Entry >>


Comments:

-- No Comments --

Post a comment