Welcome
Guest
, you are in:
<root>
•
Anmelden
CP Wiki
Navigation
¶
CP Solutions
Startseite
domizil+
Startseite
Administration
Administration
Neue Seite
Alle Seiten
Kategorien
Navigations-Pfade
Datei Manager
Neuer Benutzer
Suche im wiki
»
Zurück
Globale Methoden
Modified on 11/02/2010 17:11
by CPALES
Categorized as
Plattform
#'''Alphanumerische''' #*[functionChr|function Chr(i: integer): char] #*[functionCompareText|function CompareText(const S1, S2: string): Integer] #*[functionCopy|function Copy(s: string; from, count: integer): string] #*[functionDecodeB64|function DecodeB64(aValue: string): string] #*[functionEncodeB64|function EncodeB64(aValue: string): string] #*[functionExplode|function Explode(const cSeparator, vString: String): Array of String] #*[functionImplode|function Implode(const cSeparator: String; const cArray: Array of String): String] #*[functionLength|function Length(S: string): Integer] #*[functionPos|function Pos(SubStr: String; s: string): string] #*[functionStringReplace|function StringReplace(const S, OldPattern, NewPattern: string; Flags: TReplaceFlags): string] #*[procedureFinalize|procedure Finalize (const aArray: Array of String)] #*[functionFastCompareText|function FastCompareText (const S1, S2: string): Integer] #*[functionGetToken|function GetToken (const Text: String; const Delimiter: Char; const Position: integer): String] #*[functionHowManyToken|function HowManyToken(const Text: String; const Delimiter: Char): Integer] #*[functionStrToBool|function StrToBool(Value: String): boolean] #*[functionBoolToStr|function BoolToStr(Value: Boolean): string] #*[functionUtf8Encode|function Utf8Encode(const Value: String): String] #*[functionUtf8Decode|function Utf8Decode(const Value: String): String] #*[functionQuotedStr|function QuotedStr(const S: string): string] #*[functionCopyFromClipboard|function CopyFromClipboard: string] #*[procedureCopyToClipboard|procedure CopyToClipboard(const value: string)] #'''Datum, Zeit''' #*[functionWeekOf|function WeekOf(const AValue: TDateTime): Word] #*[functionMonthOf|function MonthOf(const AValue: TDateTime): Word] #*[functionYearOf|function YearOf(const AValue: TDateTime): Word] #*[functionEndOfTheMonth|function EndOfTheMonth(const AValue: TDateTime): TDateTime] #*[functionEndOfTheYear|function EndOfTheYear(const AValue: TDateTime): TDateTime] #*[functionEndOfTheWeek|function EndOfTheWeek(const AValue: TDateTime): TDateTime] #*[functionDayOf|function DayOf(const AValue: TDateTime): Word] #*[functionDateOf|function DateOf(const AValue: TDateTime): TDateTime] #*[functionDayOfTheWeek|function DayOfTheWeek(const AValue: TDateTime): Word] #*[functionDayOfTheWeekToString|function DayOfTheWeekToString(const AValue: Integer): string] #*[functionEndOfAMonth|function EndOfAMonth(const AYear, AMonth: Word): TDateTime] #*[functionStartOfAMonth|function StartOfAMonth(const AYear, AMonth: Word): TDateTime] #*[functionIncMilliSecond|function IncMilliSecond(const AValue: TDateTime; const ANumberOfMilliSeconds: Longint = 1): TDateTime] #*[functionIncSecond|function IncSecond(const AValue: TDateTime; const ANumberOfSeconds: Longint = 1): TDateTime] #*[functionIncMinute|function IncMinute(const AValue: TDateTime; ANumberOfMinutes: Longint = 1): TDateTime] #*[functionIncHour|function IncHour(const AValue: TDateTime; const ANumberOfHours: Longint = 1): TDateTime] #*[functionIncDay|function IncDay(const AValue: TDateTime; const ANumberOfDays: Integer = 1): TDateTime] #*[function incWeek|function IncWeek(const AValue: TDateTime; const ANumberOfWeeks: Integer = 1): TDateTime] #*[functionIncMonth|function IncMonth(const Date: TDateTime; NumberOfMonths: Integer = 1): TDateTime] #*[functionIncYear|function IncYear(const AValue: TDateTime; const ANumberOfYears: Integer = 1): TDateTime] #*[functionDateToInteger|function DateToInteger(const Date: TDateTime): Integer] #*[functionIntegerToDate|function IntegerToDate(const Date: Integer): TDateTime] #*--function string_to_time(aStr: string; var aTimeStr: string; var aMinutes: Integer): boolean-- #*--min_to_string(aMinutes: Integer): string-- #*[functionFormatDateTime|function FormatDateTime(const Format: string; DateTime: TDateTime): string ] #*[functionEncodeDate|function EncodeDate(Year, Month, Day: Word): TDateTime] #*[procedureDecodeDate|procedure DecodeDate(Date: TDateTime; var Year, Month, Day: Word)] #*[functionIsLeapYear|function IsLeapYear(Year: Word): Boolean] #*[functionDaysInMonth|function DaysInMonth(const AValue: TDateTime): Word] #*[functionEaster|function Easter(const iYear: Integer): TDateTime] #'''Zahlen''' #*[functionisinteger|function isinteger(st:string): boolean]{BR} #*[functionisfloat|function isfloat(st:string): boolean]{BR} #*[functionVarIsEmpty|function VarIsEmpty(const V: Variant): Boolean]{BR} #*[functionVarIsNull|function VarIsNull(const V: Variant): Boolean]{BR} #*[functionPower|function Power(const Base, Exponent: Extended): Extended]{BR} #*[functionRoundTo|function RoundTo(const AValue: Double; const ADigit: Integer): Double]{BR} #*[functionCeil|function Ceil(const X: Extended):Integer]{BR} #*[functionFloor|function Floor(const X: Extended): Integer]{BR} #*[functionDoubleToStr|function DoubleToStr (const Value: Double): string) ]{BR} #*[functionCurrToStr|function CurrToStr (const Value: Currency): string) ]{BR} #*[functionStrToCurr|function StrToCurr(const Value: String): Currency) ]{BR} #*[functionStrToDouble|function StrToDouble(const Value: String): Double) ]{BR} #*[functionIntToBool|function IntToBool(aInt: Integer): boolean) ]{BR} #*[functionBoolToInt|function BoolToInt(aBool: Boolean): Integer) ]{BR} #'''Dateien''' #*[procedure ReadClientFolder|procedure readClientFolder(aPath: string; aListView: TnetListView)]{BR} #*[functionExtractFilePath|function ExtractFilePath(aFileName: string) : string]{BR} #*[functionExtractFileName|function ExtractFileName(aFileName: string) : string]{BR} #*[functionExtractFileExt|function ExtractFileExt(aFileName: string) : string]{BR} #*[functionfileexists|function fileexists(aFileName: string): boolean]{BR} #*[functiondirectoryexists|function directoryexists(aDir: string): boolean]{BR} #*[procedure UploadFile|procedure UploadFile(aServerPath, aFilename: string)]{BR} #*[functionRenameFile|function RenameFile(const OldFile: String; const NewFile: String): boolean]{BR} #*[functionDeleteFile|function DeleteFile(const Filename: String): boolean ]{BR} #*[functionDeleteDir|function DeleteDir(const Directory: String): boolean ]{BR} #*[functionCreateDir|function CreateDir(const Directory: String): boolean ]{BR} #*[functionCopyFile|function CopyFile(const OldFile: String; const NewFile: String): boolean ]{BR} #*[functionSetFileReadOnly|function SetFileReadOnly(const Filename: String; const ReadOnly: boolean) ]{BR} #*[functionShellExecute2|function ShellExecute2(aFileName: string; aParams: string) ]{BR} #*[functionPrintTiff|function PrintTiff(const FileName: string) ]{BR} #*[functionPrintTiffEx|function PrintTiffEx(const FileName: string; const PrinterName: String) ]{BR} #'''Dialoge''' #*[functionconfirm_dlg|function confirm_dlg(atext: string):integer]{BR} #*[proceduremessage_dlg|procedure message_dlg(atext: string)]{BR} #*[functioncolor_dlg|function color_dlg(aOldColor:TColor): TColor]{BR} #*[functionInput_Query|function Input_Query(const ACaption, APrompt:string; Var Value: string): boolean]{BR} #*[ExecEditorMailMerge|function ExecEditorMailMerge(aTable: TRPCTable): Integer]{BR} #*[function SelectRecord|function SelectRecord(aTable: TRPCTable; aSearchString, aSearchFields, aShowFields: string): Integer]{BR} #*[function SelectRecord2|function SelectRecord2(aTable: TRPCTable; aSearchString, aSearchFields, aShowFields: string; aPreSelectField, aPreSelectString: string): Integer]{BR} #*[procedureprintActiveDialog|procedure printActiveDialog(ZoomPercent: Integer)]{BR} #*[functionselect_multiple_dlg|function select_multiple_dlg(aKeys, aValues, aSeparator, valuesCaption, valuesSelectedCaption: string; aQuoteResult: boolean; var aResultKeys: string; var aAllSelected: boolean): Integer]{BR} #'''Allgemeine''' #*[functionget_global_value|function get_global_value(aName: string): Variant]{BR} #*[functionloadform|function loadform(aName: string): integer]{BR} #*[functionfindForm|function findForm(const aName: string): Integer]{BR} #*[proceduresendmail|procedure sendmail(aReceiver, aSubject, aBody: string)]{BR} #*[proceduresendmail2|procedure sendmail2(aReceiver, aSubject, aCopyTo, aBlindCopyTo, aBody: string)]{BR} #*[procedurereaddata|procedure readdata(aTables: Variant){BR}] #*[functionwritedata|function writedata(aTables: Variant): integer]{BR} #*[procedure Setglobal|procedure setglobal(aName: string; aValue: Variant)]{BR} #*[function Getglobal|function getglobal(aName: string): Variant]{BR} #*[functiongetCompanyTable|function getCompanyTable: TRPCTable]{BR} #*[functionnewguid|function newguid: string]{BR} #*[functionusername|function username: string]{BR} #*[functionuserid|function userid: string]{BR} #*[functionprimarygroupid|function primarygroupid: string]{BR} #*[functionprimarygroupname|function primarygroupname: string]{BR} #*[functionsystemdbfull|function systemdbfull: string]{BR} #*[function Stripped|function stripped(Line: integer): boolean]{BR} #*[functionloadimageasbase64|function loadimageasbase64(ainitfolder: string; amaxsize:integer; var adata,aext: string): boolean]{BR} #*[procedurebase64topicture|procedure base64topicture(apic: tfrxpictureview; aext, adata: string)]{BR} #*[function RandomPassword|function RandomPassword(PLen: Integer): string]{BR} #*[function RandomWord|function RandomWord(dictSize, lngStepSize, wordLen, minWordLen: Integer): string]{BR} #*[functionloadRes|function loadRes(aValue: Variant): string]{BR} #*[WriteIni|WriteIni - und ReadIniRoutinen im NetFrame]{BR} #*[printReport2|printReport2 - drucken mit einmaliger Druckaufforderung]{BR} #*[CurrentUserHasPermission|CurrentUserHasPermission- Ermittlung der Userrechte]{BR} #*[CurrentUserIsInGroup|function CurrentUserIsInGroup :Boolean - Ermittlung der Gruppenzugehörigkeit]{BR} #*[ComponentCount|function ComponentCount : Integer - Ermittlung der Componenten eines Formulars oder Panels]{BR} #'''System''' #*[procedureShellExecute|procedure ShellExecute(aFileName: string)]{BR} #'''Programm Ablauf''' #*[procedureAbort|procedure Abort]{BR} #*[functionAddr|function Addr (const Class: TObject): integer']{BR} #*[procedureRaiseLastException|procedure RaiseLastException ]{BR} #*[functionGetLastException|function GetLastException: String]{BR} #*[functionGetLastExceptionClass|function GetLastExceptionClass: String]{BR} #'''Varianten''' #*[functionVarIsFilled|function VarIsFilled(const V: Variant): Boolean]{BR} #*[functionVarIsError|function VarIsError(const V: Variant): Boolean]{BR} #*[functionVarIsArray|function VarIsArray(const V: Variant): Boolean]{BR} #*[functionVarVarIsStr|function VarIsStr(const V: Variant): Boolean]{BR} #*[functionVarIsNumeric|function VarIsNumeric(const V: Variant): Boolean]{BR} #*[functionVarIsFloat|function VarIsFloat(const V: Variant): Boolean]{BR} #*[functionVarIsEmptyParam|function VarIsEmptyParam(const V: Variant): Boolean]{BR} #*[functionVarArrayHighBound|function VarArrayHighBound(const V: Variant; const Dim: Integer): Integer]{BR} #*[functionVarArrayLowBound|function VarArrayLowBound(const V: Variant; const Dim: Integer): Integer]{BR} #*[functionVarToStr|function VarToStr(const V: Variant): String]{BR} #*[functionVarToDateTime|function VarToDateTime(const V: Variant): TDateTime]{BR} #*[functionVarArrayOf|function VarArrayOf(const Values: array of Variant): Variant]{BR}
ScrewTurn Wiki
version 3.0.1.400. Some of the icons created by
FamFamFam
.