Re: [DUG] BDE on Windows Server 2003

2009-06-09 Thread Richard Vowles
If you go to the registered users download, you should see it there. 2009/6/9 John Bird johnkb...@paradise.net.nz Can the installer be extracted from the D2007 disk? (Unfortunately I don't have mine with me). -- --- Richard Vowles, Technical Advisor Developers Inc Ltd web.

[DUG] Detecting screensaver

2009-06-09 Thread John Bird
Does anyone know a reliable way to detect if the screensaver is on? The way I have found references to on the web SystemParametersInfo(SPI_GETSCREENSAVERRUNNING, 0, @ATScreenSaverOn, 0); Note this is documented as Windows 95 only, which I am guessing why it doesn't work (XP/Vista) The only

Re: [DUG] Detecting screensaver

2009-06-09 Thread Paul
I'm using SystemParametersInfo(SPI_GETSCREENSAVEACTIVE, 0, @ATScreenSaverOn, 0); It works on Vista here Paul - Original Message - From: John Bird johnkb...@paradise.net.nz To: NZ Borland Developers Group - Delphi List delphi@delphi.org.nz Sent: Tuesday, June 09, 2009 7:30 AM Subject:

[DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy Coulter
Hi All. One thing that ticks me off with Delphi 2007 is when I say add a button to the form then double click on it (at design time) to add some code to the event, the event procedure seems to end up is a random location. I am sure its not really random, but its a pain. I am so used to previous

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy North
There is no option to change this behaviour. On Wed, Jun 10, 2009 at 8:34 AM, Jeremy Coulterjscoul...@gmail.com wrote: Hi All. One thing that ticks me off with Delphi 2007 is when I say add a button to the form then double click on it (at design time) to add some code to the event, the event

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy Coulter
thats mental !! Its such a pain in butt ! Anyone know the logic behind why it was changed? Jeremy On Wed, Jun 10, 2009 at 10:39 AM, Jeremy North jeremy.no...@gmail.comwrote: There is no option to change this behaviour. On Wed, Jun 10, 2009 at 8:34 AM, Jeremy Coulterjscoul...@gmail.com

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Leigh Wanstead
I think that you can use modelmaker code explorer to sort your procedure in the unit. This way they are not random. ;-) Have a nice day Regards Leigh www.smootharm.com -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz]on Behalf Of Jeremy

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Alister Christie
This something that has never bothered me, until now - thanks Jeremy. Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington Jeremy Coulter wrote: Hi All. One thing that ticks me off with Delphi 2007 is when

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy Coulter
oh yeahctrl+G that works too :-) Jeremy On Wed, Jun 10, 2009 at 11:38 AM, Neven MacEwan ne...@mwk.co.nz wrote: As I use Gexperts Ctrl-G to navigate would not bother me, what does bother me though is I cant get the same function in my PHP IDE! Neven This something that has never

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Kyley Harris
Why on earth does it matter where the procedure is put in the file? You don't manually look for your routines do you? I use gexperts still.. and Ctrl-G to type and find routines by name gets me where i want within a couple of seconds even in fifty thousand lines of code.. On Wed, Jun 10, 2009

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy Coulter
Well here is the situation. You add a button, dbl click to add code to the procedure create. Then, because you forget a variable or function name...or whateverand you need to jump to the top of the code to find it, its nice to know I can go ctrl+end to get back to my procedure because it was

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy North
Use bookmarks, easy as! On Wed, Jun 10, 2009 at 11:17 AM, Jeremy Coulterjscoul...@gmail.com wrote: Well here is the situation. You add a button, dbl click to add code to the procedure create. Then, because you forget a variable or function name...or whateverand you need to jump to the top

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy Coulter
yeah thats all and well and I do use them, but personally - I dont like new way the code is added. I dont see any advantage in it. But there maybe a logical reason for it. Maybe someone knows the answer. Jeremy On Wed, Jun 10, 2009 at 1:21 PM, Jeremy North jeremy.no...@gmail.comwrote: Use

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Sean Cross
The events are now added alphabetically. This works fine while the existing methods are in order but seems to become somewhat random once the methods get out of order. Regards Sean Cross CIO Catalyst Risk Management From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread John Bird
OK looks like I need to look at the GE Experts - anyone have a web link (I have D2007) Incidentally I remember hearing once the order of adding button events to the source file was related to class completion - if you start a unit with no procedures they get added in I think alphabetic order.

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
Jeremy I think it will get better, its just a matter of habit, doe you use ctrl-shft up arrow/dn arrow to jump from declaration and back, also there is a setting on ctrl-g to show the proc code so you can use it as window in window HTH Neven Well here is the situation. You add a button, dbl

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy North
On Wed, Jun 10, 2009 at 11:52 AM, John Birdjohnkb...@paradise.net.nz wrote: OK looks like I need to look at the GE Experts - anyone have a web link (I have D2007) Google is your friend. ___ NZ Borland Developers Group - Delphi mailing list Post:

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
John http://www.gexperts.org/ OK looks like I need to look at the GE Experts - anyone have a web link (I have D2007) Incidentally I remember hearing once the order of adding button events to the source file was related to class completion - if you start a unit with no procedures they

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Conor Boyd
Umm John, Google is your friend. http://gexperts.org/ From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Wednesday, 10 June 2009 1:52 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Delphi

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
Jeremy Don't be sarky after all its GExperts not GE Experts which gives a lot of stuff related to General electric having said that GE Experts delphi would get you there On Wed, Jun 10, 2009 at 11:52 AM, John Birdjohnkb...@paradise.net.nz wrote: OK looks like I need to look at the GE

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy North
Hardly sarky. If I wanted to be sarky I would have said jfgi or http://lmgtfy.com/;. Also it was mentioned as GExperts in the thread so a match would have been found very quickly. On Wed, Jun 10, 2009 at 12:08 PM, Neven MacEwanne...@mwk.co.nz wrote: Jeremy Don't be sarky after all its

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Neven MacEwan
fair nuff :-) Hardly sarky. If I wanted to be sarky I would have said jfgi or http://lmgtfy.com/;. Also it was mentioned as GExperts in the thread so a match would have been found very quickly. On Wed, Jun 10, 2009 at 12:08 PM, Neven MacEwanne...@mwk.co.nz wrote: Jeremy Don't be

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread John Bird
I know Google - mainly I was wanting to check that people here knew there is a good D2007 version available. Of the ones listed, 1.32 (D2007) 1.33 Beta 1 1.33 beta 2 (for D6-d2009) Which ones would you guys who have used it recommend for D2007? Any gotchas or things to watch out for? John

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Conor Boyd
I thought that was fair enough. ;-) It had already been referred to elsewhere in the discussion as GExperts. To be brutally honest, I would expect most Delphi developers to have heard of GExperts; it's been around since 2001. -Original Message- From: delphi-boun...@delphi.org.nz

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Jeremy North
Use a beta if you're willing to contact them with any issues you find and won't get upset if issues arise, otherwise use the latest stable version. Stable versions are generally very good. On Wed, Jun 10, 2009 at 12:26 PM, John Birdjohnkb...@paradise.net.nz wrote: I know Google - mainly I was

Re: [DUG] Delphi 2007 Question

2009-06-09 Thread Conor Boyd
I have 1.33B2 installed for both D2007 and RAD Studio 2009. No problems to report. C. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Wednesday, 10 June 2009 2:26 p.m. To: NZ Borland Developers Group - Delphi List

Re: [DUG] Detecting screensaver

2009-06-09 Thread John Bird
I have seen that variant, but from what I saw this detects the screensaver is set, not that it is active? From the D7 win32 help: SPI_GETSCREENSAVEACTIVE Determines whether screen saving is enabled. The pvParam parameter must point to a BOOL variable that receives TRUE if enabled, or FALSE

Re: [DUG] Detecting screensaver

2009-06-09 Thread Conor Boyd
Wouldn't surprise me if the preview button doesn't exhibit the same behaviour. Screensavers have to be written to respond explicitly to being run in preview mode (they basically have to parent themselves to the window handle of the preview window which is passed to them when they're executed in

Re: [DUG] Detecting screensaver

2009-06-09 Thread Conor Boyd
Re-reading this, I may have been getting confused between the little preview window and hitting the preview button. Regardless, it still wouldn't surprise me if a screensaver running from the Preview button doesn't exhibit the same behaviour. For example, when I hit the Preview button on my work

Re: [DUG] Detecting screensaver

2009-06-09 Thread John Bird
This time I let the screen saver kick in properly, the SystemParametersInfo(SPI_SCREENSAVERRUNNING does not work as far as I can see... I found more references http://www.answers.com/topic/systemparametersinfo SPI_SCREENSAVERRUNNING Windows 95 only: Used internally; applications should not

Re: [DUG] Detecting screensaver

2009-06-09 Thread Dave O'Brien
Have a look at this... http://support.microsoft.com/kb/318781 or http://support.microsoft.com/kb/315725 -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Wednesday, 10 June 2009 4:40 p.m. To: NZ Borland Developers