We help IT Professionals succeed at work.
Get Started

Delphi 7 SpeedButton causes crash

R_A_Martin asked
Last Modified: 2013-11-23
We have a system which has been using the same TSpeedButtons for the last 5 years.

In testing an update we find that opening and closing (TSpeedButton)  the program has a fatl crash, we have two error logging systems and neither of them catches the issue.

We have tracked it down to the use of TSpeedButton, all the code has been commented out and even just having fmForm.Close in the OnClick event the system still crashes.

Changing to a TBitBtn and we can go in and out of the form 100 times and still no crash.

Any suggestions as what the issue might be, the system has worked fine for a number of years.

We load programatically the glyph but again this code has been OK for a long time.

Watch Question
This problem has been solved!
Unlock 3 Answers and 22 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE