Delphi function reference manual

zhaozj2021-02-17  53

Name type description

Abort function causes abandonment accident

ABS function absolute value function

The AddExitProc function adds a process to the end of the runtime library.

Addr function returns the address of the specified object

The AdjustLineBreaks function adjusts the threshold of the given string to a CR / LF sequence

The align property enables the control in a part of the window.

Alignment property control tag text location

Allocmem function Assigns a given size block on the stack

ALLOWGRAYED attribute allows a grayscale selection

AnsiCompareStr function comparison string (case sensitive)

AnsicompareText function comparison string (not case sensitive)

AnsilowerCase function converts characters to lowercase

The ANSIUPPERCASE function converts characters to uppercase

The Append function opens existing files in additional ways

ARCTAN functions

AssignFile function gives an external file name to file variables

Assigned function test function or processing variable is empty

AutoSize property automatically controls the size of the label

Backgrounddi2001.jpg Property Background Color

The BeginThread function establishes a thread for memory management in an appropriate manner.

BEVELINNER attribute control box

Bevelouter property control box out of the box

The outer frame width of the bevelWidth property control box

Blockread function reads one or more records to variables

Blockwrite functions written one or more records from the variable

BorderStyle Attribute Boundary Type

Borderwidth property boundary width

BREAK command termination for, while, repeat loop statement

Brush attribute brush

Caption property label text content

ChangefileExt function changes file suffix

ChDIR function changes the current directory

Checked property determines checkbox to check the status

The CHR function returns the character of the specified order

Closefile command closes the open file

Color property tag color

Columns attributes displayed

CompareStr function comparison string (case sensitive)

Concat function merge string

Continue command Continue for, while, Repeat's next loop

Copy function returns a string of a string

COS function cosine function

Is the CTL3D attribute has a 3D effect?

Cursor property mouse pointer moves into the shape

Date function returns the current date

DateTimetOfileDate function Convert Delphi's date format to DOS date format

The DateTimetostr function converts the date time format to a string

DateTimetString function converts the date time format to a string

The DateTostr function converts the date format to a string

Dayofweek function returns the value of the week

Dec function decrement variable value

DecodeDate function decomposes the date format as the year and month

Decodetime function breaks down in time, minute, second, milliseconds

Delete functions remove substrings from strings

Deletefile command delete files

DiskFree functions Returns the size of the remaining disk space

Disksize function Returns the capacity of the specified disk

Dispose function releases the space occupied by dynamic variables

DisposeSTR function release string in memory space in the stack

DITHERBACKGROUNDDI2001.JPG? Gain or reduce the color of the background color or 50%

Dragcursor attribute When the mouse presses the shape of the time

DragMode properties Press mode

DROPDOWNCOUNT attribute The number of display data items

EditMask property editing mode

Is the enabled attribute to make the label open state

EncodeDate functions will be combined in date and month

ENCODETIME function is time, minute, second, millisecond synthesis time format

EndMargin attribute end edge

EOF function is tested by a type or non-type file test to the file

EOLN function returns the end state of the line of text files

ERASE command deletes external files

ExceptAddr function returns the currently unexpected address

Exclude functions remove some elements from the collection

The ExceptObject function returns the current unexpected index

The exit command immediately exits from the current statement block.

EXP function index function

The ExpandFileName function returns a string containing absolute path

If the extendedselect property allows for selecting mode, true, MultiSelect is meaningful.

ExtractFileDir function Returns drive and path

ExtractFileExt function returns the suffix of files

ExtractFileName function returns a file name

ExtractFilePath function Returns the path to the specified file

Fileage function returns the file already existing

FileClose command off the specified file

Filecreate command to create a new file with the specified file name

FileDateTodateTime function converts DOS's date format to Delphi's date format

FILEEXISTS function Checks if the file exists

Filegatttr function Returns the properties of the file

FilegetDate function Returns DOS date time tag for file

FILEOPEN command opens the specified file with the specified access mode

FilePos function returns the current pointer location of the file

FileRead command reads from the specified file

FileSearch Command Searches for specified files in the directory

Fileseek function changes file pointer

FileSetattr function setting file properties

FileSetDate function setting file DOS date time tag

FileSize function returns the size of the current file

FileWrite function writes the specified file

FillChar function fills the number of consecutive bytes with the specified value

FindClose Command Termination FindFirst / FindNext Sequence

Findfirst command Search for the specified file name and attribute search directory

The FindNext Command Returns the next entry with the file name and attribute matching

The FLOATTODECIMAL function converts floating point numbers to decimal number

The FLOATTOSTRF function converts floating point numbers to strings

The FLOATTOSTR function converts floating point numbers to strings

The floattotext function converts a given floating point number into a decimal number

The floattotextFmt function converts a given floating point number to a decimal number

The flush function refreshes the content of the buffer to the output text file.

FMTLOADSTR function loads a string from the resource string table of the program

The FMTSTR function formats a series of parameters, and the result is returned by the parameter result.

Font property set font

Format Function Format a series of parameters and returns a Pascal string

Formatbuf function formatted a series of parameters

The formatDatetime function is formatted and time with the specified format.

FormatFloat function Specifies floating point format

FRAC function Returns the fractional part of the parameter

Freemem function releases the space occupied by the dynamic variable by a given size

GetDir returns the current directory of the specified drive

GetHeapStatus Returns the current state of the memory manager

GetMEM establishes a dynamic variable of the specified size and points the pointer to the location

GetMemoryManager Returns the entry point of the memory manager

Image on the glyph function button

Halt stop program execution and return to the operating system

Hi returns the high address of the parameter

High returns the upper limit of the parameter

Hint attribute prompt information

INT returns an integer part of the parameter

Include adds an element to a collection

INSERT Insert a subtrunch in a string

INTTOHEX converts the integer to a hexadecimal number

INTSTR converts integer to string

iResult Returns the latest I / O operation status

IsValidIdent test string is a valid identifier

Node displayed by the Items property

Kind property placed

LargeChange property maximum change value Layout Attribute Image layout

Length function returns the dynamic length of the string

Lines attribute default display content

LN function natural logarithmic function

LO function returns the low address bit of the parameter

LoadStr function loads a character resource from an application's executable

The LowerCase function becomes a set of strings.

LOW function returns the lower limit of parameters

Max property maximum

MaxLength attribute maximum length

Min property minimum

MKDIR command creates a subscription

Move function from the source to the target copy byte

MultiSelect property allows simultaneous choice of several data items

Name attribute control name

The new function creates a new dynamic variable and sets a pointer variable to him.

The newstr function allocates a new string on the stack

Now function returns the current date and time

ODD test parameters are odd

Trigger on onactivate event focus to the form on the form

OnClick event Click Form Blank Area to trigger

OnDBLClick event Double-click the form blank area trigger

OncloseQuery event user attempts to close the form trigger

OnClose event form is triggered

Oncreate event form is triggered for the first time

ONDEACTIVATE event user switches to another application trigger

OnDragDrop event mouse Drag and drop

Ondragover event has other controls from him to trigger

Trigger when the onmousedown event is pressed

Trigger when the OnMouseUp event releases the mouse button

Trigger when moving the mouse onMouseMove event

Onhide event hides the form to trigger

OnkeyDown events triggered when a keypad is pressed

OnkeyPress events Trigger when pressing a single character button on the keyboard

The onkeyup event is triggered when a key on the keyboard is released.

There is a new part of the onPaint event form to trigger

OnResize event Re-adjust the form size trigger

OnShow event is triggered when the form is actually displayed.

Ord return order number

Outlinestyle attribute type

OutofMemoryError caused OutofMemory accident

PageIndex Properties Page Index

Pages Property Page

The paramcount function returns the number of parameters passing to the program on the command line

Paramstr function returns the specified command line parameters

Pen property brush setting

PI function returns the circularity PI

Picture property display image

PictureClosed property settings a closed bitmap

PictureLeaf Property Setting Leaf Bits

Pictureminus Properties Settings MINUS Bitmap

PictureOpen property Setting Open bitmap

PicturePlus Property Settings Plus Bitmap

POS function Searzer in a string

PRED function returns previous parameters

Random function returns a random function

The randomize function initializes the built-in random number generator with a random number

Read function to format files, read one file component to variables;

For text files, read one or more values ​​to one or more variables

The READLN function executes the READ process, then jumps to the file.

Readonly property read-only attribute

Reallocmem function Assign a dynamic variable

Rename function renamed external files

Renamefile function renames file

RESET function Opens the existing file

The REWRITE function is established and opened a new file

RMDIR function deletes empty subdirectory

The Round function rounds the real value into integer values.

RuNError function stop program execution

Scrollbars property scroll bar status

The SEEK function moves the current pointer of the file to the specified component

SEEKEOF function returns the file end status

SEEKEOLN function returns the end state of the file

SelectedColor property selection color

SetMemoryManager function Sets the entry point of the memory manager

SetTextBuf function gives the text file to specify the shape of the I / O buffer Shape property display

Showexception function displays unexpected messages and addresses

SIN function sinusoidal function

SIZEOF function returns the number of bytes occupying the parameters

SmallChange property minimum change value

Sorted property is allowed to be sorted

SQR function square function

SQRT function square root function

Startmargin property begins the edge

State property control current status

The STR function converts the numerical value to a string

The stralloc function assigns the maximum length -1 buffer to the string ended with NULL

The strbufsize function returns the maximum number of characters stored in the character buffer allocated by Stralloc

The STRCAT function attached a string to another string and returned the merged string

Strcomp function compares two strings

The stropy function copies a string to another string

The strdispose function releases strings on the stack

The strecopy function copies a string to another string and returns the pointer of the result string tail.

Strend function returns a pointer to the tail of the string

Stretch property automatically adapts to the size of the control

Strfmt function formatting a series of parameters

StriComp function compares two strings (not case sensitive)

The StringTowideChar function converts the ANSI string to a Unicode string

The strlcat function attached the characters in a string to another string and returned the merged string

The strlcomp function compares two strings with maximum length

The strlcopy function copies the characters in a string to another string

Strlen function returns the number of characters in the string

Strlfmt function format a series of parameters, which contain pointers to target buffers.

The strlicomp function compares two strings with maximum length (not case sensitive)

The strlower function converts the characters in the string to lowercase

The strMove function copies the characters in a string to another string.

The STRNEW function allocates a string on the stack

The STRPAS function will convert the string of the string ended with NULL to the string of the Pascal class.

The strpcopy function copies the string of the Pascal class to the string ended with NULL

The STRPLCOPY function is copied from the maximum length string of the Pascal class to the end of NULL.

The STRPOS function returns a string in another string first appearance pointer

STRSCAN function returns a pointer to the last character in the string

STRSCAN function returns a first-character pointer in the string

The Strtodate function converts a string into a date format

The StrtodateTime function converts the string to date / time format

The StrtOfloat function converts a given string to floating point numbers

The StrtoinT function converts the string to integer

The StrtointDef function converts strings to integer or default values.

The Strtotime function converts the string into time format

The STRUPPER function converts the characters in the string to uppercase

STYLE property type selection

SuCE function returns a successive parameter

High and low address of SWAP function exchange parameters

Tabs properties tag each content

TabIndex property tag index

Text attribute display text

The TextTOFLOAT function converts the string (the format ended in NULL) into floating point numbers

Time function returns the current time

The Timetostr function converts the time format to a string

Trim function removes spaces and control characters in the leadfire and tail from a given string

TrimLEFT function removes the first space and control character from a given string

Trimright function removes spaces and control characters from the tail from a given string

Trunc function intercepts the real value as an integer value

Truncate function cuts the content after the current file location

UnselectedColor attribute unchecked colors

Upcase converts characters to uppercase

Uppercase becomes uppercase

The VAL function converts the string to the integer value of the VaraRrayCreate function to establish variant arrays by a given boundary and dimension.

VararrayDimcount function returns the dimension of the given change

The VararrayHighBound function returns the upper bound of a given variant number of dimensions

VararrayLock function locks a given variant array

The VaRraylowBound function returns the lower bound of a given change array dimension

Vararrayof function returns an array element for specified variants

The VararrayRedim function adjusts the size of the variant by changing the upper limit.

Vararrayunlock function unlocks the specified variant array

VaraSType function converts variants to the specified type

The Varcase function converts the variant into the specified type and saves him.

VARCLEAR function clears the specified variant

The Varopy function copies the specified variant to the specified variant.

The VarformDateTime function returns a variant that contains the date time

VarisArray function test variant is an array

VariSempty function test variant is unassigned

Varisnull function test variant is null

The VARTODATETIME function converts a given variant into date time

The VARTYPE function converts the variant to the specified type and saves him.

Visible properties control visibility

When the Wantreturns property is TRUE, press Enter to generate a carriage return;

When False, press CTRL Enter to generate a carriage return.

Write command writes a variable to file components in formatted files;

For text files, write one or more values ​​to the file

The Writeln command executes the WRITE process, then output a line end sign

The widecharlentostring function converts the ANSI string to a Unicode string

The WideCharlentostrwar function converts the Unicode string to ansi string variable

WideChartostring function converts Unicode strings to ansi string

WideChartostrvar function converts Unicode string to ANSI string variable

转载请注明原文地址:https://www.9cbs.com/read-28742.html

New Post(0)