Functions and properties in Delphi

xiaoxiao2021-03-14  205

name

Types of

Description

A Department

Abort

function

Accidents caused by abandoning ABS

function

Absolute value function addexitproc

function

Add a process to the end of the runtime library, addR

function

Returns the address of the specified object AdjustLineBreaks

function

Adjust the line separator of the given string to a CR / LF sequence align

Attributes

Enables controls in a part of the window Alignment

Attributes

Control tag text location Allocmem

function

Assign a given size block on the stack. Allowgrayed

Attributes

Allow a grayscale to choose AnsicompareStr

function

Comparison string (case sensitive) AnsicompareText

function

Comparison string (in case case) ANSILOWERCASE

function

Convert characters to lowercase ANSIUPPERCASE

function

Convert characters to uppercase Append

function

Open existing file Arctan in additional ways

function

Lee cut function assignfile

function

Give the file variable to an external file name Assigned

function

Is the test function or process variable is empty autosize

Attributes

Automatic control label size

B

Backgroundcolor

Attributes

Bevelinner background

Attributes

Inner box mode of the control box Bevelouter

Attributes

Outside frame of the control box BevelWidth

Attributes

Fractional frame width block of the control box BlockRead

function

Read one or more records in the variable Blockwrite

function

Write one or more records from the variable BorderStyle

Attributes

Border type Borderwidth

Attributes

Boundary width BREAK

command

Termination for, While, Repeat Cycle BRUSH

Attributes

Brush

C-department

CAPTION

Attributes

Label text Content Changefileext

function

Change the suffix chDIR

function

Change the current directory checked

Attributes

Determine check box to select the status CHR

function

Returns the character closefile of the specified number

command

Close Open File Color

Attributes

Color columns for labels

Attributes

The number of columns of the display CompareStr

function

Comparison string (case sensitive) Concat

function

Merger string Continue

command

Continue for, While, Repeat's next loop COPY

function

Returns a string of a string COS

function

Cosord function CTL3D

Attributes

Whether there is 3D effect Cursor

Attributes

Mouse pointer to move into the shape

D department

Date

function

Returns the current date DateTimetOfileDate

function

Convert Delphi's date format to DOS DateTimetostr

function

Convert date time format to string DateTimetostring

function

Convert the datetime format to string DateTostr

function

Convert date format to string dayofweek

function

Return to the value of the week DEC

function

Decrease variable value decodedate

function

Decompose the date format as an annual month Decodetime

function

Decompose the time format to time, minute, second, milliseconds delete

function

Remove substrings from strings Deletefile

command

Delete file Diskfree

function

Returns the size of the remaining disk space Disksize

function

Returns the capacity of the specified disk Dispose

function

Free release of the space occupied by Dynamic Variables DISPOSESTR

function

Release string in memory space in the stack Ditherbackground

Attributes

Dragcursor with colors of background colors or reduced by 50% Dragcursor

Attributes

When the mouse presses the time mark Dragmode

Attributes

Mode DROPDOWNCOUNT

Attributes

The number of display data items

E Department

Editmask

Attributes

Edit mode enabled

Attributes

Whether to make the label to open state encodedate

function

Complete the day and month into date format encodetime

function

Time, minute, second, millisecond synthesized as time format endmargin attribute

Last edge EOF

function

Whether there is a type or non-type file test to the file tail eoln

function

Return to the line of the text file ERASE

command

Delete external files Exceptaddr

function

Return to the current unexpected address Exclude

function

Remove some elements from the collection ExceptObject

function

Returns the current unexpected index EXIT

command

Exit Exp from the current statement block

function

Index function expandfilename

function

Returns a string extendedSelect that contains absolute path

Attributes

Whether it allows a selection mode, True, MultiSelect is meaning EXTRACTFILEDIR

function

Return Drive and Path ExtractFileExt

function

Returns the suffix of the file ExtractFileName

function

Return to file name ExtractFilePath

function

Returns the path to the specified file

F Department

FILEAGE

function

Returns the file already existing FILECLOSE

command

Close the specified file filecreate

command

Establish new file fileDatetodatetime with the specified file name

function

Convert DOS's date format for Delphi Date FileExists

function

Check if there is filegatattr

function

Returns the properties of the file FilegetDate

function

Back DOS Date Time Mark FileOpen

command

Open the specified file Filepos with the specified access mode

function

Returns the current pointer position of the file FileRead

command

Read filesearch from the specified file

command

Search for specified files in the catalog Fileseek

function

Change file pointer FileSetattr

function

Set file properties FileSetDate

function

Set file DOS date time tag FileSize

function

Returns the size of the current file FileWrite

function

Write the specified file FillChar

function

Fill the number of consecutive bytes with the specified value

command

Terminate FindFirst / FindNext Sequence Findfirst

command

Search for the specified file name and attribute search directory FindNext

command

Returns the next entry FLOATTODECIMAL that matches the file name and attribute

function

Convert floating point numbers to decimal number FloatTostrf

function

Convert floating point numbers to string floattostr

function

Convert floating point numbers to string floattotext

function

Convert a given floating point number to a decimal number of floattotextfmt

function

Convert a given floating point number to a decimal number of Flush

function

Refresh the content of the buffer to the output text file in the output of FMTLOADSTR

function

Load string FMTSTR from the program's resource string table

function

Format a series of parameters that returns Font in parameter result

Attributes

Set font format

function

Format a series of parameters and return to Pascal string FormatBuf

function

Format a series of parameters forMatdateTime

function

Format the date and time formatfloat with the specified format

function

Specify floating point digital format FRAC

function

Returns the decimal part of the parameter freemem

function

Release the space occupied by a given size

G

Getdir

function

Returns the current directory of the specified drive GetHeapStatus

function

Returns the current state of the memory manager getMem

function

Establish a dynamic variable of a specified size and point the pointer to getMemoryManager

function

Returns the entry point GLYPH of the memory manager

Attributes

Image on the button

H

Halt

command

Stop the execution of the program and return to the operating system Hi

function

Return to the high address bit of the parameter High

function

Returns the upper limit of parameters hint

Attributes

Tip information

I

Int

function

Return to the integer part of the parameter Include

function

Add elements into the collection insert

function

Insert the subtrunch INTTOHEX function in the string

Convert integer to hexadecimal number INTOSTR

function

Convert the integer to a string iResult

function

Returns the latest I / O operation completion status isvalidIdent

function

Test strings are valid identifiers Items

Attributes

Node displayed by default

K

Kind

Attributes

Placement style

L

LargeChange

Attributes

Maximum change value Layout

Attributes

Image layout Length

function

Returns the dynamic length of the string LINES

Attributes

Default display LN

function

Natural logarithmic function LO

function

Returns the low address of the parameters LoadStr

function

Load Character Resources from Application Executable Files LowerCase

function

Turn a given string to lowercase LOW

function

Return the lower limit of the parameter

M part

Max

Attributes

Maximum maxlength

Attributes

Maximum length min

Attributes

Minimum MKDir

command

Establish a single catalog MOVE

function

From the source to the target copy byte MultiSelect

Attributes

Allows several data items at the same time

N

Name

Attributes

The name of the control

function

Establish a new dynamic variable and set a pointer variable to point him newstr

function

Assign a new string now on the stack

function

Returns the current date and time

O

ODD

function

Is the test parameter is an odd number onactivate

event

Trigger OnClick while moving onto the form

event

Click Form or Component to trigger ONDBLCLICK

event

Double-click the form or component to trigger OnCloseQuery

event

Users try to close the form to trigger OnClose

event

Oncreate triggered after the form is closed

event

Trigger onDragDrop when the form is created

event

Trigger OnDragover at the end of the mouse drag and drop

event

Some other controls have moved from him to trigger OnMousedown

event

Trigger ONMOUSEUP when pressing the mouse button

event

Trigger ONMOUSEMOVE when the mouse button is released

event

Trigger onhide when moving mouse

event

Trigger onKeyDown when hiding the form

event

Trigger onKeyPress while pressing a key key

event

Toned onkeyup when pressing a single character button on the keyboard

event

Trigger onPaint when you release a key on the keyboard

event

There is a new part on the form to trigger OnResize

event

Re-adjusting the form size trigger onshow

event

Immediately triggering ORD before the form is actually displayed

function

The order of the return order OUTLINESTYLE

Attributes

Type OutofMemoryError

command

OutofMemory accident

P

PageIndex

Attributes

Page Index Pages

Attributes

Page paramcount

function

Returns the number of parameters pass to the program on the command line parametr

function

Returns the specified command line parameter PEN

Attributes

Paint brush set PI

function

Return the circumference rate PIPICTURE

Attributes

Show image pictureclosed

Attributes

Set the Closed bitmap PictureLeaf

Attributes

Set the Leaf bitmap Pictureminus

Attributes

Set up minus bitmap PictureOpen

Attributes

Set Open bitmap PicturePlus

Attributes

Set Plus bitmap POS

function

Search the sub-string PRED in the string

function

Returns previous parameters

R part

Random

function

Return a random function randomize

function

Initialize the built-in random number generator read with a random number

function

For formatted files, read one file component into variables; text files, read one or more values ​​to one or more variables Readln

function

Execute the READ process, then jump to the file next to the READONLY

Attributes

Read-only properties Reallocmem

function

Assign a dynamic variable rename

function

Renamed external files renamefile

function

Rename Reset on files

function

Open existing file Rewrite

function

Create and open a new file RMDir

function

Delete empty subdirectory Round

function

Renal value RUNERROR

function

Stop procedure

S department

Scrollbars

Attributes

Rolling bar status seek

function

Move the current pointer of the file to the specified component, seekeof

function

Back to file end status SeeKeoln

function

Returning the end of the file ended SELECTEDCOLOR

Attributes

Select color setMemoryManager

function

Set the entry point setTextBuf for the memory manager

function

Specify the text file to specify the I / O buffer Shape

Attributes

Displayed shape showexception

function

Show unexpected message with address SIN

function

Sinusoidal function SIZEOF

function

Number of bytes occupying parameters Smallchange

Attributes

Minimum change value sorted

Attributes

Whether it is allowed to sort SQR

function

Square SQRT

function

Square root function Startmargin

Attributes

Start Edge State

Attributes

Control Current Status STR

function

Convert value to string stralloc

function

Assign the maximum length -1 buffer Strbufsize to the string ended with NULL

function

Returns the maximum number of characters stored in the character buffer allocated by Stralloc

function

Adding a string to another string and returns a merge string strComp

function

Compare two strings strcopy

function

Copy a string to another string STRDISPOSE

function

Release string on the stack STRECOPY

function

Copy a string to another string and return a result of the pointer Strend of the string tail.

function

Returns pointer Stretch

Attributes

Automatically adapt to the size of the control STRFMT

function

Format a series of parameters Stricomp

function

Compare two strings (not case sensitive) STRINGTOWIDECHAR

function

Convert ANSI string to Unicode string strlcat

function

Attach characters in a string to another string and return to the merge string strlcomp

function

Compare two string strlcopy with maximum length

function

Copy 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 that contain pointers in the target buffer Strlicomp

function

Compare two strings with maximum length (case sensitive) strlower

function

Convert the characters in the string to lowercase Strmove

function

Copy the characters in a string to another string Strnew

function

Assign a string StrPas on the stack

function

Convert String with NULL to the string of the Pascal class STRPCOPY

function

Copy the string of the Pascal class to a string ended with NULL STRPLCOPY

function

The maximum length string from the Pascal class is copied to the string of strings ending with NULL STRPOS

function

Returns a string in another string first appearance pointer STRSCAN

function

Returns the pointer Strascan in the last character in the string

function

Returns the first character in the string Strtodate

function

Convert strings to date formats StrtodateTime

function

Converting strings to date / time format STRTOFLOAT

function

Convert a given string to floating point number STRTOINT

function

Convert strings to integer startdef

function

Convert strings to integer or defaults STRTOTIME

function

Convert strings to time format Strupper

function

Convert characters in the string to uppercase STYLE

Attributes

Type Selection Suce

function

Returns the parameter SWAP

function

High and low address of exchange of parameters

T part

Tabs

Attributes

Tag each item Tabindex

Attributes

Tag index text

Attributes

Show text TextTOFLOAT

function

Converting strings (completed in NULL) to floating point numbers TIME

function

Returns the current time Timetostr

function

Convert the time format to a string TRIM

function

Delete the space and control character Trimleft from the front guide and tail from a given string

function

Remove the first space from a given string and control character Trimright

function

Delete the space and control character trunc from a given string

function

Intercede the real value to Truncate

function

Cut the content after the current file location

U Department

UnselectedColor

Attributes

Unchecked color Upcase

function

Convert characters to uppercase Uppercase

function

Getting a given string to uppercase

V-department

VAL

function

Convert strings to integer value VararrayCreate

function

Establish variant of VarrRaydimcount with a given boundary and dimension

function

Returns the dimension of the given change VararrayHighBound

function

Returns the upper bound of a given variant number of dimensions VARARRAYLOCK

function

Lock a given variant array VararraylowBound

function

Returns the lower bound VARARRAYOF for the number of dimensions of the given variant

function

Returns the array element of the specified variant Vararrayredim

function

Adjust the size of the variant of Vararrayunlock by changing the upper limit

function

Unlock the specified variant array VaraSType

function

Convert variants to the specified type VARCASE

function

Convert variants to the specified type and save him VARCLEAR

function

Clear the specified variant varcopy

function

Copy the specified variant to the specified variant varformdatetime

function

Returns variants containing the date time VarisArray

function

Test variants are array varisempty

function

Test variants are Unassigned Varisnull

function

Test whether the variant is null varodatetime

function

Convert a given variant into date time Vartype

function

Convert variants to the specified type and save him Visible

Attributes

Visibility for control

W Department

Wantreturns

Attributes

When True, press Enter to generate a carriage return; when False, press Ctrl Enter to generate the carriage return Write

command

For formatted files, write a variable into the file component; write one or more values ​​to the file Writeln

command

Execute the WRITE process, then output a line end sign widecharlentostring

function

Convert ANSI string to Unicode string Widecharlentostrwar

function

Convert Unicode string to ANSI string variable widechartostring

function

Convert Unicode string to ANSI string WideChartostrvar

function

Convert Unicode string to ANSI string variable

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

New Post(0)