Unit mstrlist

Classes

TmStrList -

Functions

Types

ShortDateTime_FormatArray
TLSortType

Constants

Variables


Functions


Types


ShortDateTime_FormatArray=array[1..10] of {7 is enough, but 3 extra delimiters are allowed}
                                 record which:char;
                                        faktor:LongInt;
                                 end;
26.1.1997: Bug in RestoreOrderInGroups fixed} {Version 2.2b, 26.1.1997, PostCardWare, Albrecht Mengel, mengel@stat-econ.uni-kiel.de See mStrList.txt If you have problems/ideas with mStrList, please feel free to email me **** Bugfix: When ampm is in DateTimeFormat, an error occured, if there was no time entry in data found. **** CHANGED: TMSortType -> TLSortType, soString -> sString, ... , soDate -> sDate ****** This was important, otherwise mStrGrid Users should manually include mStrList to their USES list, when using setting mStrGrid1.KeyType values. Sorry! (The compiler will warn you) If needed you can typecast list.KeyType:=TLSortType(grid.KeyType) or grid.KeyType:=TMSortType(list.KeyType). I'll hold TMSortType and TLSortType compatible. New Properties for sorting dates: DateTimeFormat:string; (Reasons for: 1. I former used the internal DateTime format, but there are simply too much crashes, when the date encountered is not valid 2. The setting of the global ShortDateFormat has no influence on the interpretation, so mStrList interprets selv and is sensible to the own DateTimeFormat.) When sorting dates, they are interpreted in the kind as DateTimeFormat is set to. Default is the value of ShortDateFormat+' '+LongTimeFormat. See mStrList.txt for more description {$R-
TLSortType = (sString,sStringCaseSensitive,sNumeric,sDate);
7 is enough, but 3 extra delimiters are allowed

Constants


Variables