Skrim 11 Posted February 19 D12 When I doubleclick in Event OnGetEditText to make an event handler in a stringgrid I get this error. "Property and method MyGridOnGetEditText are not compatible." The event is empty. It had some code earlier, but that is deleted together with its declaration. From Delphi Help file "You are assigning a method to an event property even though they have incompatible parameter lists. Parameter lists are incompatible if the number of types of parameters are not identical. For a list of compatible methods in this form, see the dropdown list on the Object Inspector Events page." Any ideas how to solve this? Share this post Link to post
Lars Fosdal 1793 Posted February 20 Have you compared the code for the event handler method with the declaration in the StringGrid class that has the event property? It sounds really weird that the event handler lost it's code, though. Share this post Link to post