This may be a red herring - but are you using the Win Xp themes component?, because if using this it uses a different version of the standard Win controls, and I read somewhere (cannot find the reference - might have been Zarko on Delphi.About.com) that the only component where there was a known Delphi VCL problem in compatibility was with ListView.
If so you could try turning of the Win Xp themes and see if it behaves? Related - I noticed that some effects (Alphablend) had to be turned off for Windows 2003 TS as they do not support the later versions of the controls and some of the XP effects.... Even though the Windows version number is 5.2 (XP is 5.1) John -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Colin Fraser Sent: Monday, 13 March 2006 12:23 p.m. To: 'NZ Borland Developers Group - Delphi List' Subject: [DUG] Delphi 2006 Listview problem Hi all, Not sure if I would call it a bug or an 'added feature', but lots of our list views in Delphi 2006 now have a problem as follows: Many columns have been set to width '-2' at design time and runtime (or ColumnHeaderWidth), which at run time, expands to the width of the column/data in the column. In Delphi 2006, when setting -2 it instantly sets the width of the column to match the design time column width. When changing the column header or adding list view items, the column header remains the same size as it did at design time... which is usually way to small, and is different behaviour to Delphi 2005. Digging further, it appears that READING the Width property of a column actually changes behaviour of the code... don't read the width, and the column sizes correctly, read the width, and the column incorrectly sizes... seems they added some code to the list view column get width function!! Not sure if anyone has come across this, or has any quick solutions (other than adding in 'Width := ColumnHeaderWidth' in all the hundreds of places that would need it... :-)) Regards, Colin ############################################################################ ######### Attention The information in this email and in any attachments is confidential. If you are not the intended recipient then please do not distribute, copy or use this information. Please notify us immediately by return email and then delete this email from your computer. Any views or opinions presented are solely those of the author. This email has been scanned for Viruses and Content and cleared by NetIQ MailMarshal ############################################################################ ######### _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi __________ NOD32 1.1440 (20060312) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com _______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
