Tom Crone 0 Posted October 3 I'm using Delphi 11.3 CE. I get a EClassNotFound error TSpinEdit not found. I assume I need to add something to my uses statement? I tried VCL.samples.spin (that's were the help file says TSpinEdit is). When I tried Lazarus and got a TButton not found, I wasn't surprised, but ... Share this post Link to post
Remy Lebeau 1401 Posted October 3 (edited) 9 minutes ago, Tom Crone said: I'm using Delphi 11.3 CE. I get a EClassNotFound error TSpinEdit not found. Is TSpinEdit present on the Component Palette? Is the "Embarcadero Sample Components" package ($(BDS)\bin\dclsmp280.bpl) installed in the IDE in the "Component | Install Packages..." dialog? 9 minutes ago, Tom Crone said: I assume I need to add something to my uses statement? I tried VCL.samples.spin (that's were the help file says TSpinEdit is). That is the correct unit. Edited October 3 by Remy Lebeau Share this post Link to post
Tom Crone 0 Posted October 4 There is a Samples entry in the same 'bar' as 'Standard', 'System", 'Dialogs', etc. and it shows TSpinEdit; that is where I got it to put on my form. I just deleted the TSpinEdit from the form and replaced it; it then gave a TSaveDialog not found, so I deleted and replaced that too. It now complies. Any idea why? Share this post Link to post
Remy Lebeau 1401 Posted October 4 1 minute ago, Tom Crone said: I just deleted the TSpinEdit from the form and replaced it; it then gave a TSaveDialog not found, so I deleted and replaced that too. It now complies. Any idea why? Your project was likely missing the relevant package references. Recreating the components updated the project. Share this post Link to post
Tom Crone 0 Posted October 4 Thank you! I don't understand why replacing the controls got the package references, when placing them the first time didn't, but now I know something to try. Share this post Link to post