Delphi function manual

Source: Internet
Author: User
Tags control characters natural logarithm terminates
Delphi function manual

Handle exceptions caused by the abort Function

ABS function absolute value function

The addexitproc function adds a process to the End Process Table of the runtime database.

The ADDR function returns the address of the specified object.

The adjustlinebreaks function adjusts the row Separator of a given string to the CR/LF sequence.

The align attribute allows the control to be located in a certain part of the window.

The text position of the label of the alignment attribute Control

The allocmem function allocates blocks of a given size on the stack.

The allowgrayed attribute allows a grayscale selection.

The ansicomparestr function compares strings (case sensitive)

The ansicomparetext function compares strings (Case Insensitive)

The ansilowercase function converts characters to lowercase letters.

The ansiuppercase function converts characters to uppercase letters.

The append function opens an existing file by appending it.

Arctan function cotangent Function

The assignfile function assigns an external file name to the file variable.

Whether the assigned function test function or process variable is null

The autosize attribute automatically controls the label size.

Backgrounddi2001.jpg property background color

The beginthread function establishes a thread for memory management in an appropriate way.

Bevelinner attribute Control

Bevelouter attribute Control Box

Bevelwidth attribute controls the width of the outer box of the box

The blockread function reads one or more records to the variable.

The blockwrite function writes one or more records from the variable.

Borderstyle attribute boundary type

Borderwidth attribute boundary width

The break command terminates the for, while, and repeat loop statements.

Brush attribute painter

Caption attribute label text content

The changefileext function changes the file suffix.

The chdir function changes the current directory.

Checked attribute confirmation check box selection status

The CHR function returns the characters of the specified ordinal number.

Closefile command to Close opened files

Color attribute label color

Columns

Comparestr functions compare strings (case sensitive)

Concat functions merge strings

The continue command continues the next loop of for, while, and repeat.

The copy function returns a string of substrings.

Cos function cosine function

Whether the ctl3d attribute has 3D effect

Cursor attribute: The shape after the mouse pointer is moved in

The date function returns the current date.

The datetimetofiledate function converts the Delphi date format to the DOS date format.

The datetimetostr function converts the datetime format to a string.

The datetimetostring function converts the datetime format to a string.

The datetostr function converts the date format to a string.

The dayofweek function returns the value of the week.

Variable value of decimal Function

The decodedate function splits the date format into year, month, and day.

The decodetime function splits the time format into minutes, minutes, seconds, and milliseconds.

The delete function deletes a substring from a string.

Deletefile command to delete an object

The diskfree function returns the size of the remaining disk space.

The disksize function returns the capacity of the specified disk.

The dispose function releases the space occupied by dynamic variables.

The disposestr function releases the memory space of the string in the stack.

Ditherbackgrounddi2001.jpg? Increase or decrease the color of the background color by 50%.

Dragcursor attribute when the mouse clicks the shape of the time mark

Method of pressing the dragmode attribute

The number of data items allowed by the dropdowncount attribute

Editmask attribute editing mode

Enabled attribute indicates whether to enable the label

The encodedate function combines year, month, and day into the date format.

The encodetime function combines time, minute, second, and millisecond into the time format.

Endmargin attribute end edge

The EOF function tests whether a file with or without a type is at the end of the file.

The eoln function returns the row end status of the text file.

Erase command to delete external files

The deletaddr function returns the address that caused the current accident.

The exclude function deletes some elements from the set.

The deletobject function returns the current unexpected index.

The exit command exits from the current statement block immediately.

Exp function exponential function

The expandfilename function returns a string containing an absolute path.

Whether the extendedselect attribute allows the existence of the selection mode. If it is set to true, multiselect makes sense.

The extractfiledir function returns the drive and path.

Extension of the file returned by the extractfileext Function

The extractfilename function returns the file name.

The extractfilepath function returns the path of the specified file.

The fileage function returns the time when the file already exists.

Run the fileclose command to close the specified file.

The filecreate command creates a new file with the specified file name

The filedatetodatetime function converts the DOS date format to the Delphi date format.

The fileexists function checks whether the file exists.

The filegatattr function returns the attributes of a file.

The filegetdate function returns the DOS date and time mark of the file.

The fileopen command uses the specified access mode to open the specified file.

The filepos function returns the current pointer position of the file.

The fileread command reads data from a specified file.

The filesearch command searches the directory for the specified file.

The FileSeek function changes the object pointer.

The filesetattr function sets file attributes.

The filesetdate function sets the file's dos date and time mark.

The filesize function returns the size of the current file.

The filewrite function writes the specified file.

The fillchar function fills the number of consecutive bytes with the specified value.

The findclose command terminates the findfirst/findnext sequence.

The findfirst command searches for directories for the specified file name and attributes.

The findnext command returns the next entry that matches the file name and attribute.

The floattodecimal function converts a floating point number to a decimal number.

The floattostrf function converts a floating point number to a string.

The floattostr function converts a floating point number to a string.

The floattotext function converts a given floating point number to a decimal number.

The floattotextfmt function converts a given floating point number to a decimal number.

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

The fmtloadstr function loads strings from the program's resource string table.

The fmtstr function is used to format a series of parameters. The result is returned using the result parameter.

Font attribute setting font

The format Function Format a series of parameters and returns the Pascal string.

Formatbuf functions format a series of parameters

The formatdatetime function uses the specified format to format the date and time.

The formatfloat function specifies the floating point format.

Fractional part of the parameter returned by the frac Function

The freemem function releases the space occupied by dynamic variables based on the given size.

Getdir returns the current directory of the specified drive.

Getheapstatus: returns the current status of the Memory Manager.

Getmem creates a dynamic variable of the specified size and points the pointer to this

Getmemorymanager returns the entry point of the Memory Manager.

Image on the glyph function button

Halt stops program execution and returns to the Operating System

Hi, return the high address of the Parameter

The upper limit of the high response parameter.

Hint property prompt information

Int returns the integer part of the parameter.

Include add elements to the set

Insert a substring into a string

Inttohex converts an integer to a hexadecimal number.

Inttostr converts an integer to a string

Ioresult returns the latest I/O operation completion status

Isvalidident test whether the string is a valid identifier

Nodes Displayed by default for the items attribute

Kind attribute placement Style

The maximum value of the largechange attribute.

Layout attribute Image Layout

The length function returns the dynamic length of a string.

Lines property default display content

Ln function natural logarithm function

The low address bit of the parameter returned by the lo Function

The loadstr function loads character resources from the executable files of an application.

The lowercase function converts the given string to lowercase.

The lower limit of the parameter returned by the low Function

Max property maximum

Maximum length of the maxlength attribute

Min attribute minimum value

Create a subdirectory using the mkdir command

The move function copies bytes from the source to the target.

The multiselect attribute allows you to select several data items at the same time.

Name of the control

The new function creates a new dynamic variable and sets a pointer

The newstr function allocates a new string on the stack.

The now function returns the current date and time.

Whether the odd test parameter is an odd number

Triggered when the onactivate Event Focus is moved to the form

Onclick event triggered by clicking the blank area of the form

The ondblclick event is triggered by double-clicking the blank area of the form.

Onclosequery event user tries to close form trigger

Triggered only when the onclose event form is closed

Triggered when the oncreate event form is created for the first time

The ondeactivate event is triggered when the user switches to another application.

Ondragdrop event triggered when the mouse-drag operation ends

The ondragover event is triggered by moving other controls from it.

Triggered when the onmousedown event is pressed

Triggered when the onmouseup event releases the mouse key

Triggered when the onmousemove event moves the mouse

Triggered when an onhide event hides a form

Triggered when an onkeydown event is pressed by a keyboard key.

The onkeypress event is triggered when you press a single character key on the keyboard.

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

A new Part Of The onpaint event form is exposed for triggering.

The onresize event is triggered when the form size is adjusted again.

The onshow event is triggered instantly before the form is actually displayed.

Ord returns the ordinal number of the ordinal class.

Outlinestyle attribute type

Outofmemoryerror caused an outofmemory accident.

Pageindex attribute page index

Pages property page

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

The paramstr function returns the specified command line parameter.

Pen attribute painter settings

Pi function returns the circumference pi

Picture attribute display image

Pictureclosed properties set closed bitmap

Pictureleaf properties set leaf bitmap

Pictureminus Property setting minus bitmap

Pictureopen attribute setting Open bitmap

Pictureplus Property setting plus bitmap

The POS function searches for substrings in strings.

The PRED function returns the previous parameters.

The random function returns a random function.

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

The READ function reads a file component to a variable for a formatted file;

Read one or more values from a text file to one or more variables.

The readln function executes the read process and jumps to the next row of the file.

Readonly attribute read-only attribute

Reallocmem function allocates a dynamic variable

Rename function rename external file

Renamefile function rename a file

The reset function opens an existing file.

The rewrite function creates and opens a new file.

The rmdir function deletes empty subdirectories.

The round function rounds an integer value.

The runerror function stops program execution.

Scrollbars attribute scroll bar status

The seek function moves the current pointer of the file to the specified component.

The seekeof function returns the end state of the file.

The seekeoln function returns the row end state of the object.

Select color

Setmemorymanager function set the entry point of the Memory Manager

The settextbuf function specifies the I/O buffer for text files.

Shape

The showexception function displays unexpected messages and addresses.

Sin function sine function

Number of bytes returned by the sizeof Function

Minimum value of the smallchange attribute

Whether sorted attributes allow sorting

Sqr Function Square Function

Square Root function of SQRT Function

Startmargin attribute start edge

Current state of the State Property Control

The STR function converts a value to a string.

The stralloc function assigns a buffer with a maximum length of-1 to the string ending with null.

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

The strcat function attaches a string to the end of another string and returns the merged string.

The strcomp function compares two strings.

The strcopy function copies one string to another.

The strdispose function releases the string on the stack.

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

The strend function returns a pointer to the end of a string.

The stretch attribute automatically adapts to the control size.

The strfmt function is used to format a series of parameters.

The stricomp function compares two strings (Case Insensitive)

The stringtowidechar function converts an ANSI string to a unicode string.

The strlcat function attaches a character in a string to the end of another string and returns the merged string.

The strlcomp function compares two strings with the maximum length.

The strlcopy function copies the characters in one string to another.

The strlen function returns the number of characters in the string.

The strlfmt function is used to format a series of parameters. The result contains a pointer to the target buffer zone.

The strlicomp function compares two strings with the maximum length (Case Insensitive)

The strlower function converts characters in a string to lowercase letters.

The strmove function copies the characters in one string to another.

The strnew function allocates a string on the stack.

The strpas function converts a null string to a Pascal string.

The strpcopy function copies the strings of the Pascal class as null-terminated strings.

The strplcopy function copies the maximum length string of the Pascal class as a null-terminated string.

The strpos function returns a pointer for the first time in another string.

The strrscan function returns the pointer of the last character in the string.

The strscan function returns the pointer with the first character in the string.

The strtodate function converts a string to a date format.

The strtodatetime function converts a string to the date/time format.

The strtofloat function converts a given string to a floating point number.

The strtoint function converts a string to an integer.

The strtointdef function converts a string to an integer or default value.

The strtotime function converts a string to a time format.

The strupper function converts characters in a string to uppercase letters.

Select style attribute type

The suce function returns subsequent parameters.

Swap function switching Parameters

Tabs attribute to mark the content of each item

Tabindex attribute tag Index

Text displayed in the text attribute

The texttofloat function converts a string (in the format ending with null) to a floating point number.

The time function returns the current time.

The timetostr function converts the time format to a string.

The TRIM function removes leading and trailing spaces and control characters from a given string.

The trimleft function removes leading spaces and control characters from a given string.

The trimright function removes trailing spaces and control characters from a given string.

The trunc function truncates a real value into an integer value.

The truncate function truncates the content after the current file location.

Unselectedcolor

Upcase converts characters to uppercase letters

Uppercase converts a given string to uppercase.

The Val function converts a string to an integer.

The vararraycreate function creates a variant array based on the given boundary and dimension.

The vararraydimcount function returns the dimension of a given variant.

The vararrayhighbound function returns the upper bound of the dimension of the given variant array.

The vararraylock function locks a given variant array.

The vararraylowbound function returns the lower bound of the given variant array dimension.

The vararrayof function returns the array elements of the specified variant.

The vararrayredim function adjusts the variation size by changing the upper limit.

The vararrayunlock function unlocks the specified variant array.

The varastype function converts a variant to a specified type.

The varcase function converts a variant to a specified type and saves it.

The varclear function clears the specified variant.

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

The varformdatetime function returns a variant containing the date and time.

Varisarray function test whether the variant is an array

Varisempty function test whether the variant is unassigned

Varisnull function test whether the variant is null

The vartodatetime function converts a given variant to the datetime type.

The vartype function converts the variant to the specified type and saves

Visibility of the visible Property Control

When the wantreturns attribute is true, press the Enter key to generate a carriage return;

If it is false, press Ctrl + enter to generate a carriage return.

The write command writes a variable to a formatted file to the file component;

Write one or more values to a text file

The writeln command executes the write process, and then outputs the end mark of a row.

The widecharlentostring function converts an ANSI string to a unicode string.

The widecharlentostrwar function converts a unicode string to an ANSI string variable.

The widechartostring function converts a unicode string to an ANSI string.

The widechartostrvar function converts a unicode string to an ANSI string variable.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.