You could just check if the button is enabled before you execute the process, like this:
procedure Button1.OnClick(Sender: TObject);
begin
if Button1.Enabled = true then
begin
Button1.Enabled:= false;
... Do the process required, it takes some seconds
Button1.Enabled := true;
end;
end;
I was just wondering, how would one go about loging in to an OSCAR server, the one AIM uses, with a working screen name and password?
Delphi 7, Windows XP.
Sorry, but I had another question:
When making an MDI Form and the MDI Childs. How do you prevent the MDI Child windows from opening when the MDI Form loads?
Hi, I'm new to these forums and have only been using Delphi 7 for about one week.
Most of the time, I have been able to find solutions to my problems, but this time I'm stuck. I do not know how to use the TNotifyEvent, like use it as a procedure.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.