An simple B++Builder error!

When I write a C++Builder application, I remove the event OnClick of a label and delete OnClick function then I recompile the source code again. It make an error "Link external error with OnClick function.....".

How can I remove this error?
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

daohailamConnect With a Mentor Commented:
Delete OnClick Event function in header file

Probably you did not clear OnClick property in Object Inspector (Events tab)
nhhoangAuthor Commented:
I said "I removed the event OnClick" that mean I  clear OnClick property in Object Inspector. And even though I deleted that label, C++Builder 3.0 compiler still reported above error
Tommy HuiEngineerCommented:
Did you try a rebuild all of everything? Perhaps a module that was previously compiled still thinks that there is an OnClick property.
All Courses

From novice to tech pro — start learning today.