Hello!
Well, to clarify this:
In a Listview the first column's data is stored in the "Caption" property,
and the following columns are stored in the "SubItems" list. Because of
this the SortColumn is different from the subitems index.
Concerning the absolute pathname problem itself, it would be possible to
use relative pathnames, but to do that safely also in case of source files
in different directories a function for mapping absolute to relative
pathnames has to be used. I think there is such a function either in the
Win32 API or in the VCL, have to take a look at this...
__
/homas
On 4 Jun 2002 at 22:41, Romain Lecorbeiller wrote:
> This part of my mail is false.
>
> //*******************************************
> > If it's right I find something strange in the source file
> "TFilesFrame.cpp".
> > Line 55 in function "GetFilePath" which help in the construction of
> > "cmdline" :
> >
> > "item->SubItems->Strings[6] + item->Caption;"
> >
> > item->SubItems->Strings[6] is not relative with path but with Conflict.
> >
> > item->SubItems->Strings[7] is relative with path ?
> >
> >
> >
> > (see line 456 of "TFilesFrame.cpp"
> >
> > case 0: caption = "Name"; break;
> >
> > case 1: caption = "Revision"; break;
> >
> > case 2: caption = "Options"; break;
> >
> > case 3: caption = "Status"; break;
> >
> > case 4: caption = "Sticky Tag/Date"; break;
> >
> > case 5: caption = "Date"; break;
> >
> > case 6: caption = "Conflict"; break;
> >
> > case 7: caption = "Path"; break;
> >
> > )
> //*******************************************
>
>
>
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
>
> _______________________________________________
> borcvs-support mailing list
> bor...@li...
> https://lists.sourceforge.net/lists/listinfo/borcvs-support
>
_\\|//_
///|\\\
----oOO---(_)---OOo------------------------<http://www.bleier.at>----------
"For Sale: Parachute. Only used once, never opened, small stain."
|