Re: [DUG] Move mouse to ListItem
The help does seem to get better - I've been finding it useful in Delphi XE. There is probably more documentation than ever before, but Delphi is so much bigger than it use to be. I think the depth of the coverage is not as good as it use to be and I still come across stuff that's not documented at all. Alister Christie Computers for People Ph: 04 471 1849 Fax: 04 471 1266 http://www.salespartner.co.nz PO Box 13085 Johnsonville Wellington On 8/03/2011 7:42 p.m., David O'Brien wrote: It would be nice if there was some decent help in D2009. It is pitiful; Quite often no more than a brief class description without even the file it is declared in. And takes 30+ seconds to load on my machine the first time... I hardly ever use it, Google is better... Don't know if 2010 is any better. I used to have a link to the D5 help, which was much better. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Tuesday, 8 March 2011 6:20 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] Move mouse to ListItem Listitem.Position does work after all. I hadn't tried it due to the documentation. Checking the code, reading the Position is fine for vsReport items but setting the Position is only supported for vsSmallIcon vsIcon. The doc isn't clear in that respect. Ross. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jolyon Smith Sent: Tuesday, 8 March 2011 4:06 PM To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] Move mouse to ListItem I wonder if the issue discussed in this thread might be relevant: http://social.msdn.microsoft.com/Forums/en-CA/vcgeneral/thread/ff2381fd- 2783 -431e-ba86-ccdf269d7722 (LVM_GetItemPosition can be broken in report/list view on Vista/Win7 depending on manifest. TListItem.Position uses LVM_GetItemPosition, rather than GetItemRect) -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of David O'Brien Sent: Tuesday, 8 March 2011 15:48 To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Move mouse to ListItem I'm using 2009... -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Tuesday, 8 March 2011 2:08 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] Move mouse to ListItem I did mean vsReport. Perhaps this was changed in later Delphi versions. My D7 documentation says. Note: Position has no effect unless the list view has a ViewStyle of vsIcon or vsSmallIcon. But I'll try it. Cheers. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of David O'Brien Sent: Tuesday, 8 March 2011 8:51 AM To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Move mouse to ListItem ListView.Items[i].GetPosition appears to work in vsReport view, or are we talking another view? -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Monday, 7 March 2011 6:49 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] Move mouse to ListItem This doesn't work in detailed view which I'm using. Cheers. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of David O'Brien Sent: Monday, 7 March 2011 12:56 PM To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Move mouse to ListItem ListView.Selected.GetPosition? Returns a TPoint. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Ross Levis Sent: Friday, 4 March 2011 5:16 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: Re: [DUG] Move mouse to ListItem I plan to use that function, but need the x,y of the selected list item first. Jolyon's suggestion of ListView_GetItemRect looks to be heading in the right direction. Cheers. -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Todd Sent: Friday, 4 March 2011 5:03 PM To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Move mouse to ListItem Pos := Control.ScreenToClient(Mouse.CursorPos); On a keyboard shortcut I want to move the mouse to the start of the currently selected item in a listview. I know how to move the mouse but I'm not sure how to get the x,y position of the selected item in relation to the listview. Any ideas? Cheers. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to
Re: [DUG] Delphi Starter Edition
Hi Malcolm, Looking through the feature matrix, I was not sure, can Delphi Starter connect to an MySql database on local or other server please? Paul On 31 January 2011 21:06, Malcolm Groves malcolm.gro...@embarcadero.com wrote: http://www.embarcadero.com/products/delphi/starter Cheers Malcolm Malcolm Groves Senior Director, Asia Pacific and Japan Embarcadero Technologies http://www.embarcadero.com Phone: +61 416 264 204 Skype: malcolmgroves CONFIDENTIALITY NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Delphi Starter Edition
Yes and No. Starter Edition does not include DBExpress, only InterbaseExpress so you cannot use DBExpress to talk to MySQL. As the name suggests, you can only use InterbaseExpress with Interbase databases. However, you can still of course use ADO, ODBC or 3rd party DB Connectivity libraries (just not 3rd party DBExpress drivers), just as you always had this option with BDE versions of Delphi that did not include (and prevented the use of) SQL Links drivers for client/server DB's or DBExpress versions of drivers that did not include (and prevented the use of) the equivalent DBExpress drivers. So yes, you can use MySQL with Delphi Starter, but you'll have to use ADO or some other MySQL component library to do it. But no, Starter edition does not come with *anything* in the box that will enabled you do to this as easily as you could with Interbase. (note: it doesn't even include dbGO, but you can still use ADO directly or using some other ADO wrapper library) -Original Message- From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Paul A Norman Sent: Wednesday, 9 March 2011 16:11 To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Delphi Starter Edition Hi Malcolm, Looking through the feature matrix, I was not sure, can Delphi Starter connect to an MySql database on local or other server please? Paul On 31 January 2011 21:06, Malcolm Groves malcolm.gro...@embarcadero.com wrote: http://www.embarcadero.com/products/delphi/starter Cheers Malcolm Malcolm Groves Senior Director, Asia Pacific and Japan Embarcadero Technologies http://www.embarcadero.com Phone: +61 416 264 204 Skype: malcolmgroves CONFIDENTIALITY NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Move mouse to ListItem
I found a link on the list here where you could download the Delphi 2009 help files as .CHM which I did and added to the tools menu. Fast loading and useful - worthy addition to the D2007 help. I also have the D7 help in the tools menu too. Maybe someone has the link, I will try to find it later - at present I am trying to collar an engineer to look at a retaining wall to tell me if it is about to collapse onto the house or not... John ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Delphi Starter Edition
Hi Paul ZEOS certainly connects to MySql. Todd. Looking through the feature matrix, I was not sure, can Delphi Starter connect to an MySql database on local or other server please? Paul On 31 January 2011 21:06, Malcolm Groves malcolm.gro...@embarcadero.com wrote: http://www.embarcadero.com/products/delphi/starter Cheers Malcolm Malcolm Groves Senior Director, Asia Pacific and Japan Embarcadero Technologies http://www.embarcadero.com Phone: +61 416 264 204 Skype: malcolmgroves CONFIDENTIALITY NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Conditionally change name of output exe
That is what automatic build products are for. Finalbuilder is my choice. Winner of another jolt award this year. Made with delphi and c# (not that it really matters) On 09/03/2011 3:58 PM, Ross Levis r...@stationplaylist.com wrote: Is there any facility to change the name of the exe file when compiling a project? (D7) I use the same source for 2 similar programs and use a conditional define to change the behaviour. It would be nice to not have to rename the EXE manually after every compile. Cheers. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Conditionally change name of output exe
Thanks for that. I decided instead to copy the dpr and rename it. I should be able to manage that ok. Cheers. From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of Jeremy North Sent: Wednesday, 9 March 2011 6:08 PM To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Conditionally change name of output exe That is what automatic build products are for. Finalbuilder is my choice. Winner of another jolt award this year. Made with delphi and c# (not that it really matters) On 09/03/2011 3:58 PM, Ross Levis r...@stationplaylist.com wrote: Is there any facility to change the name of the exe file when compiling a project? (D7) I use the same source for 2 similar programs and use a conditional define to change the behaviour. It would be nice to not have to rename the EXE manually after every compile. Cheers. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Conditionally change name of output exe
Hi, I had just composed an answer suggesting using Build Configurations and Post-Build events, when I re-read your message and saw the D7 :-) I think your own solution of copying and renaming the .DPR is by far the easiest - my only suggestion is make sure that each project has it's own unit output directory, so you don't accidentally mix different compile settings when changing projects. Cheers, Alistair. On 9 March 2011 17:57, Ross Levis r...@stationplaylist.com wrote: Is there any facility to change the name of the exe file when compiling a project? (D7) I use the same source for 2 similar programs and use a conditional define to change the behaviour. It would be nice to not have to rename the EXE manually after every compile. Cheers. ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Conditionally change name of output exe
Hi Alistair, On 9 March 2011 17:17, Alistair Ward alist...@fred.gen.nz wrote: Hi, I had just composed an answer suggesting using Build Configurations and Post-Build events, when I re-read your message and saw the D7 :-) Don't hold back :) I'm sure those of us who use a more recent version of Delphi could benefit from your wisdom! Cheers, Colin ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
Re: [DUG] Conditionally change name of output exe
http://docwiki.embarcadero.com/RADStudio/en/Build_Configurations_Overview http://docwiki.embarcadero.com/RADStudio/en/Configuration_Manager http://docwiki.embarcadero.com/RADStudio/en/Creating_and_Modifying_Build_Configurations http://docwiki.embarcadero.com/RADStudio/en/Option_Sets_Overview#Modifying_a_Build_Configuration_by_Applying_an_Option_Set_by_Value There are also build event topics which can be viewed on the wiki. The last version (of Delphi) shipped with a copy of Finalbuilder (only includes actions for Delphi / c++ compilers). I think it was in the Enterprise edition. On Wed, Mar 9, 2011 at 5:35 PM, Colin Johnsun colin.a...@gmail.com wrote: Hi Alistair, On 9 March 2011 17:17, Alistair Ward alist...@fred.gen.nz wrote: Hi, I had just composed an answer suggesting using Build Configurations and Post-Build events, when I re-read your message and saw the D7 :-) Don't hold back :) I'm sure those of us who use a more recent version of Delphi could benefit from your wisdom! Cheers, Colin ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe ___ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe