Mega Search
23.2 Million


Sign Up

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

On Thu, 15 Jan 2015 11:53:12 -0800, Lieven Vandaele
 wrote:

>Hi Bo,
>
>I have uploaded what you need to make new Samples units, also find folder 
>with files you should remove first.
>
>Hope this helps just bring the BPL back to bin folder and the dcu's in the 
>lib folder and the pas in the win32 samples folder( if they are there use 
>the ones you have this ones in attachmentgroup are from d2010.
>Also find there the Bitmaps etc..
>
>
Where did you upload the files? I see no link or such to anywhere I
can retrieve them....

I tried by creating a new package and adding the Spin.pas file to it.
Then I also added the Register procedure to the file and built and
installed this package.
It made the old project load but on the component palette there is no
image etc. But at least it does not immediately kill all my forms with
SpinEdits on.

It would be good to have the complete Samples tab also in D2009 like
in all other versions.

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 12:20 PM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
Hi Bo,

I have uploaded what you need to make new Samples units, also find folder 
with files you should remove first.

Hope this helps just bring the BPL back to bin folder and the dcu's in the 
lib folder and the pas in the win32 samples folder( if they are there use 
the ones you have this ones in attachmentgroup are from d2010.
Also find there the Bitmaps etc..



"Bo Berglund"  wrote in message 
news:709530@forums.embarcadero.com...
> On Thu, 15 Jan 2015 03:23:25 -0800, Alex Belo  wrote:
>
>>Bo Berglund wrote:
>>
>>> What can I do to enable use of TSpinEdit in Delphi 2009?
>>
>>Try finding 'TSpinEdit' in all files in installation dir (and perhaps
>>in system docs&settings directory) to see in what binary file (package)
>>it exists and make sure that 1) this package is installed and 2) it is
>>in 'uses' clause (if component was moved into another system unit).
>
> Do you mean in *all* files below the D2009 installation dir?
> (C:\Programs\CodeGear\RAD Studio\6.0)
> That is 5300 files in 116 folders, and many of them are probably
> binary files...
>
> Or do you mean some subdirectory and some specific file types?

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

> On Wed, 14 Jan 2015 23:11:52 -0800, Jeff Overcash (TeamB)
>  wrote:
> 
> > Bo Berglund wrote:
> >> What can I do to enable use of TSpinButton in Delphi 2009?
> > 
> > The samples package was not installed by default in D2009 IIRC.
> > 
> > Look in hte source\win32\samples directory I think it should be
> > around there.  That is where the files ar4e in D2010, I don't have
> > D2009 handy to verify it there.
> 
> I found a file Spin.pas in the location you gave, but there is no dpk
> file that makes it possible to get it onto the component palette....

Add it using my component installer:
http://rvelthuis.de/programs/compinstall.html

That will select or create a package.
-- 
Rudy Velthuis        http://www.rvelthuis.de

"Friends applaud, the Comedy is over." 
 -- Ludwig von Beethoven, dying words

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 5:32 AM EST
From: Rudy Velthuis (TeamB)
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
On Wed, 14 Jan 2015 23:11:52 -0800, Jeff Overcash (TeamB)
 wrote:

>Bo Berglund wrote:
>> What can I do to enable use of TSpinButton in Delphi 2009?
>
>The samples package was not installed by default in D2009 IIRC.
>
>Look in hte source\win32\samples directory I think it should be around there. 
>That is where the files ar4e in D2010, I don't have D2009 handy to verify it there.

I have tried the following:
1) I added the path to the Spin.pas file to the global browsing path
   as $(BDS)\source\Win32\Samples
   -> Did not work

2) I added the same path to the global library path
   -> Did not work

3) I added Spin to the uses clause of the form
   -> Did not work

1..3 resulted in a dialog where I was asked to remove references to
TSpinEdit

4) I tried to copy the package dclsmp100.bpl from D2007 into my D2009
installation and add it as a package.
   -> Resulted in an access violation

So, exactly how does one go about activationg the TSpinEdit in the
D2009 environment if the Spin.pas file has been located??

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 5:10 AM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
On Thu, 15 Jan 2015 03:23:25 -0800, Alex Belo  wrote:

>Bo Berglund wrote:
>
>> What can I do to enable use of TSpinEdit in Delphi 2009?
>
>Try finding 'TSpinEdit' in all files in installation dir (and perhaps
>in system docs&settings directory) to see in what binary file (package)
>it exists and make sure that 1) this package is installed and 2) it is
>in 'uses' clause (if component was moved into another system unit).

Do you mean in *all* files below the D2009 installation dir?
(C:\Programs\CodeGear\RAD Studio\6.0)
That is 5300 files in 116 folders, and many of them are probably
binary files...

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

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

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

Try finding 'TSpinEdit' in all files in installation dir (and perhaps
in system docs&settings directory) to see in what binary file (package)
it exists and make sure that 1) this package is installed and 2) it is
in 'uses' clause (if component was moved into another system unit).

--
Alex

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 3:23 AM EST
From: Alex Belo
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
On Wed, 14 Jan 2015 23:11:52 -0800, Jeff Overcash (TeamB)
 wrote:

>Bo Berglund wrote:
>> What can I do to enable use of TSpinButton in Delphi 2009?
>
>The samples package was not installed by default in D2009 IIRC.
>
>Look in hte source\win32\samples directory I think it should be around there. 
>That is where the files ar4e in D2010, I don't have D2009 handy to verify it there.

I found a file Spin.pas in the location you gave, but there is no dpk
file that makes it possible to get it onto the component palette....

In fact the Spin.pas file does not look like other component source
files I have looked at. For example it does not contain a register
procedure, which all of the other component source files I have looked
at contain.
In D2007 it looks like the samples palette tab is installed from
dclsmp100.bpl, which of course is missing from D2009.

How could I restore the full functionality of the Samples tab in
D2009?

When I installed D2009 a few days ago I deselected certain components
I did not think I needed, for example the Interbase related stuff.
Could I have deselected a component that actually did contain the
package where TSpinEdit is part?

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 15-Jan-2015, at 12:36 AM EST
From: Bo Berglund
 
Re: TSpinEdit in D2009???  
News Group: embarcadero.public.delphi.ide
Bo Berglund wrote:
> 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?

The samples package was not installed by default in D2009 IIRC.

Look in hte source\win32\samples directory I think it should be around there. 
That is where the files ar4e in D2010, I don't have D2009 handy to verify it there.

-- 
Jeff Overcash (TeamB)
       (Please do not email me directly unless  asked. Thank You)
And so I patrol in the valley of the shadow of the tricolor
I must fear evil. For I am but mortal and mortals can only die.
Asking questions, pleading answers from the nameless
faceless watchers that stalk the carpeted  corridors of Whitehall.
              (Fish)

Vote for best answer.
Score: 0  # Vote:  0
Date Posted: 14-Jan-2015, at 11:11 PM EST
From: Jeff Overcash (TeamB)