Mega Search
23.2 Million


Sign Up

Make a donation  
TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide

Sorry to be a nuisance but now I have moved back into D2009 in order
to unicodify my project that came from D2007. Had GLScene problems in
XE5.

But when I load the project in D2009 I get a pop-up telling me that
the TSpinEdit control is undefined or such and offers to remove or
ignore.
The project has many configuration forms and these are all using
SpinEdits, so I have to get this component back on the palette.
I have googled but get no real answer, only suggestions to create the
same functionality myself by combining a TEdit with a TSpinButton....
Not really possible.

The strange thing is that I have today worked with this project on XE5
with no such problems, TSpinButton is present in the component
palette.

What can I do to enable use of TSpinButton in Delphi 2009?

Vote for best question.
Score: 0  # Vote:  0
Date Posted: 14-Jan-2015, at 10:43 PM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
Bo,

| So the whole thing was caused by a flawed install.....
| Sorry about the noise.

BT, DT, several times.  No need to be "sorry."

Good show with your debugging!  


-- 

   Q 

1.19.1.372  (Q's Broken Toolbar.)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 17-Jan-2015, at 11:10 AM EST
From: Quentin Correll
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
On Wed, 14 Jan 2015 22:43:57 -0800, Bo Berglund
 wrote:

>What can I do to enable use of TSpinButton in Delphi 2009?

Well, I went to Modify, Repair or Uninstall in the RAD Studio 2009
start menu group and selected Modify.
Then I enabled all components I had previously deselected (except
Interbase) and let it run its update.
After this I do have the Samples tab ión my component palette
including SpinEdit!

So the whole thing was caused by a flawed install.....
Sorry about the noise.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jan-2015, at 11:30 PM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
On Fri, 16 Jan 2015 08:35:46 -0800, Malcolm Taylor
 wrote:

>Bo Berglund wrote:
>
>Having read most of this thread and knowing that I used TSpinEdit in a
>number of my projects, I re-opened my old VM containing my D2009 system.
>
>I have TSpinEdit in the Tool Palette under "Samples".
>
>I do not believe I installed it specially or separately. 

OK,
maybe I deselected one too many components when I installed D2009?
I did not need Interbase and I think I also deselcetd some other
seemingly unneccessary item.
Which one could be connected to the samples tab in the component
palette?

OTOH,
since I have now found the solution to the GLScene problem I have gone
back to XE5 with my work and I will probably remain there until it is
done. So the D2009 issues may be rather moot now.
Probably an install mistake by me not wanting to waste too much disk
space.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jan-2015, at 10:18 AM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
Bo Berglund wrote:


> But in D2009 I was hit by the missing TSpinEdit, which is used
> "everywhere" in the application I have to maintain. Apparently they
> have restored TSpinEdit into XE5 (maybe also in some intervening
> versions, I don't know). But in D2009 it is missing..
> 

Having read most of this thread and knowing that I used TSpinEdit in a
number of my projects, I re-opened my old VM containing my D2009 system.

I have TSpinEdit in the Tool Palette under "Samples".

I do not believe I installed it specially or separately. 

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jan-2015, at 8:35 AM EST
From: Malcolm Taylor
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
On Fri, 16 Jan 2015 03:58:10 -0800, David Millington <> wrote:

>> {quote:title=Bo Berglund wrote:}{quote}
>> Sorry to be a nuisance but now I have moved back into D2009 in order
>> to unicodify my project that came from D2007. Had GLScene problems in
>> XE5.
>
>What GLScene problems? If you can solve those, you can stick with the better IDE (the newer one.)

I just mentined GLScene in order to explain why I came back to D2009
from XE5. The problems I have concerning GLScene are discussed in the
graphics subforum.

But that aside, since you ask:
At first GLScene 0.8.2 (which is what the old application uses) could
not be properly installed in XE5, after I fixed the unicode related
problems in the OpenGL12.pas interface file it could in fact be
installed but still would not work, it generates exceptions about the
rendering context.

And I was suspecting that it somehow had to do with changes in the IDE
from D2009 to XE5, so that is why I backed down to D2009 in order to
do my text updates for unicode.
But in D2009 I was hit by the missing TSpinEdit, which is used
"everywhere" in the application I have to maintain. Apparently they
have restored TSpinEdit into XE5 (maybe also in some intervening
versions, I don't know). But in D2009 it is missing..

After some attempts at fixing this I managed to get it somehow
installed so I could get back to the real work.
But sadly, GLScene acts up also in D2009 with the same type of
exceptions...

>XE5 is miles, miles, miles better than D2009, and is worth sticking 
>with. Even better, try XE6 or 7, which are great versions.

I agree that I would rather have all applications updated to XE5 or
XE7 (I just bought an upgrade to XE7 but have not yet used it).
As soon as I can fix the GLScene problem that will be my next task.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jan-2015, at 6:12 AM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
On Fri, 16 Jan 2015 01:21:21 -0800, Markus Humm
 wrote:

>you're asking quite a few VCL etc. related questions here. Asking
>questions is fine, but everything not related to the IDE itsself (e.g.
>shouldn't the IDE do this or that...) are not meant for this group but
>rather for other groups.

Well, this particular thread is about a component that has been part
of the IDE for as long as I can remember but is removed in RAD Studio
2009 (the IDE...).
I only a few days ago installed D2009 for the first time in order to
try to migrate an older application to the unicode world, which
started with D2009.
But at first I tried to do it with XE5 (a later IDE, which I have
already installed a year and a half ago) but ran into difficulties
with GLScene (questions about that are located in the graphics forum).
Note that TSpinEdit was available in XE5, there was no such problem at
all.
But the other problems suggested to me to go back to an older IDE, the
one where unicode was released and the one after the D2007 without
unicode where the application can be fully compiled.

The problem I ask about here seems IDE related, to say the least. 
>
>In case of questions about how to adapt some old libraries to modern
>Delphi versions the 3rd party group or even the RTL group would be
>better and for questions about VCL controls the VCL.components.Using
>would be apropriate imho.

The only old libraries I am concerned with is the GLScene graphics
library and that is being asked about in the graphics subforum...

And my latest thread here about the path settings is surely IDE
related since it is the IDE that constantlöy changes the way library
and search paths are moved around...

Looking back I can see only one thread here that is not really IDE
related, the one about coordinate transformations....

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jan-2015, at 6:02 AM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
> {quote:title=Bo Berglund wrote:}{quote}
> Sorry to be a nuisance but now I have moved back into D2009 in order
> to unicodify my project that came from D2007. Had GLScene problems in
> XE5.

What GLScene problems? If you can solve those, you can stick with the better IDE (the newer one.)

XE5 is miles, miles, miles better than D2009, and is worth sticking with. Even better, try XE6 or 7, which are great versions.

Cheers,

David

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jan-2015, at 3:58 AM EST
From: David Millington
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
Am 15.01.2015 um 07:43 schrieb Bo Berglund:
> Sorry to be a nuisance but now I have moved back into D2009 in order
> to unicodify my project that came from D2007. Had GLScene problems in
> XE5.
> 
> But when I load the project in D2009 I get a pop-up telling me that
> the TSpinEdit control is undefined or such and offers to remove or
> ignore.
> The project has many configuration forms and these are all using
> SpinEdits, so I have to get this component back on the palette.
> I have googled but get no real answer, only suggestions to create the
> same functionality myself by combining a TEdit with a TSpinButton....
> Not really possible.
> 
> The strange thing is that I have today worked with this project on XE5
> with no such problems, TSpinButton is present in the component
> palette.
> 
> What can I do to enable use of TSpinButton in Delphi 2009?
> 

Hello,

you're asking quite a few VCL etc. related questions here. Asking
questions is fine, but everything not related to the IDE itsself (e.g.
shouldn't the IDE do this or that...) are not meant for this group but
rather for other groups.

In case of questions about how to adapt some old libraries to modern
Delphi versions the 3rd party group or even the RTL group would be
better and for questions about VCL controls the VCL.components.Using
would be apropriate imho.

Greetings and good luck with your other questions

Markus

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 16-Jan-2015, at 1:21 AM EST
From: Markus Humm
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
Bo Berglund wrote:

> Do you mean in all files below the D2009 installation dir?
> (C:\Programs\CodeGear\RAD Studio\6.0)

Yes. :)

> That is 5300 files in 116 folders,

Some greep tool will cope with a task in seconds.

> and many of them are probably binary files

Yes, binaries.

> Or do you mean some subdirectory and some specific file types?

Packages.

It can help to find required package if it is not installed for some
reason or give a clue what unit to use if the component was moved into
other package.

It definitely will not help if the component was not shipped in
compiled binaries of your studio version.

--
Alex

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 8:07 PM EST
From: Alex Belo