Mark Billig 0 Posted 10 hours ago I have an application where if I rename or remove a component (SpinEdit) I get an error on run. Exception EReadError in module PingFrames.exe at 000BF9E7. Ancestor for 'SpinEdit' not found. The source code can be found at: https://github.com/mbillig02/PingFrames Thanks for any help. Share this post Link to post
Dave Nottage 622 Posted 9 hours ago 11 minutes ago, Mark Billig said: I have an application where if I rename or remove a component (SpinEdit) I get an error on run. You have several TSpinEdit components in that application. Which one(s) are you renaming? Share this post Link to post
Mark Billig 0 Posted 8 hours ago The one named just 'SpinEdit'. It is in PingFrameUnit.pas Share this post Link to post
aehimself 404 Posted 1 hour ago Did you use the Delphi IDE to rename or remove the component? For a component to be streamed properly you need 3 things (4 if counting the obvious): - Component descriptor in .pas (MyComponent: TSpinEdit) - Unit in Uses list, before the component (usually Interface) - Component descriptor in .dfm (MyComponent: object/inherited MyComponent: TSpinEdit) These have to exist in your frame and all of it's ancestors. When I had this error, it was usually one of the above. Share this post Link to post