Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

DelphiÖеÄÈÝÆ÷Àà

 DelphiÖеÄÈÝÆ÷Àà
×÷Õß ³ÂÊ¡
 
´ÓDelphi 5¿ªÊ¼VCLÖÐÔö¼ÓÁËÒ»¸öеÄContnrsµ¥Ôª£¬µ¥ÔªÖж¨ÒåÁË£¸¸öеÄÀ࣬ȫ²¿¶¼ÊÇ»ùÓÚ±ê×¼µÄTList Àà¡£ 
TList Àà
TList Ààʵ¼ÊÉϾÍÊÇÒ»¸ö¿ÉÒÔ´æ´¢Ö¸ÕëµÄÈÝÆ÷À࣬ÌṩÁËһϵÁеķ½·¨ºÍÊôÐÔÀ´Ìí¼Ó£¬É¾³ý£¬ÖØÅÅ£¬¶¨Î»£¬´æÈ¡ºÍÅÅÐòÈÝÆ÷ÖеÄÀ࣬ËüÊÇ»ùÓÚÊý×éµÄ»úÖÆÀ´ÊµÏÖµÄÈÝÆ÷£¬±È½ÏÀàËÆÓÚC++ÖеÄVectorºÍJavaÖеÄArrayList£¬TList ¾­³£ÓÃÀ´±£´æÒ»×é¶ÔÏóÁÐ±í£¬»ùÓÚÊý×éʵÏֵĻúÖÆÊ¹µÃÓÃÏÂ±ê´æÈ¡ÈÝÆ÷ÖеĶÔÏó·Ç³£¿ì£¬µ«ÊÇËæ×ÅÈÝÆ÷ÖеĶÔÏóµÄÔö¶à£¬²åÈëºÍɾ³ý¶ÔÏóËÙ¶È»áÖ±ÏßϽµ£¬Òò´Ë²»ÊÊºÏÆµ·±Ìí¼ÓºÍɾ³ý¶ÔÏóµÄÓ¦Óó¡¾°¡£ÏÂÃæÊÇTListÀàµÄÊôÐԺͷ½·¨ËµÃ÷£º
ÊôÐÔ
 ÃèÊö
 
Count: Integer;
 ·µ»ØÁбíÖеÄÏîÄ¿Êý
 
Items[Index: Integer]: Pointer; default
 Í¨¹ýÒÔ£°Îªµ×µÄË÷ÒýϱêÖ±½Ó´æÈ¡ÁбíÖеÄÏîÄ¿
 
 
·½·¨
 ÀàÐÍ
 ÃèÊö
 
Add(Item: Pointer): Integer;
 º¯Êý
 ÓÃÀ´ÏòÁбíÖÐÌí¼ÓÖ¸Õë
 
Clear;
 ¹ý³Ì
 Çå¿ÕÁбíÖеÄÏîÄ¿
 
Delete(Index: Integer);
 ¹ý³Ì
 É¾³ýÁбíÖжÔÓ¦Ë÷ÒýµÄÏîÄ¿
 
IndexOf(Item: Pointer): Integer;
 º¯Êý
 ·µ»ØÖ¸ÕëÔÚÁбíÖеÄË÷Òý
 
Insert(Index: Integer; Item: Pointer);
 ¹ý³Ì
 ½«Ò»¸öÏîÄ¿²åÈëµ½ÁбíÖеÄÖ¸¶¨Î»ÖÃ
 
Remove(Item: Pointer): Integer;
 º¯Êý
 ´ÓÁбíÖÐɾ³ýÖ¸Õë
 
 
Ãû³Æ
 ÀàÐÍ
 ÃèÊö
 
Capacity: Integer;
 property
 ¿ÉÒÔÓÃÀ´»ñÈ¡»òÉ趨Áбí¿ÉÒÔÈÝÄɵÄÖ¸ÕëÊýÄ¿
 
Extract(Item: Pointer): Pointer;
 function
 Extract ÀàËÆÓÚRemove ¿ÉÒÔ½«Ö¸Õë´ÓÁбíÖÐɾ³ý£¬²»Í¬µÄÊÇ·µ»Ø±»É¾³ýµÄÖ¸Õë¡£¡¡
 
Exchange(Index1, Index2: Integer);
 procedure
 ½»»»ÁбíÖÐÁ½¸öÖ¸Õë
 
First: Pointer;
 function
 ·µ»ØÁ´±íÖеĵÚÒ»¸öÖ¸Õë
 
Last: Pointer;
 function
 ·µ»ØÁ´±íÖÐ×îºóÒ»¸öÖ¸Õë
 
Move(CurIndex NewIndex: Integer);
 procedure
 ½«Ö¸Õë´Óµ±Ç°Î»ÖÃÒÆ¶¯µ½ÐµÄλÖÃ
 
Pack;
 procedure
 ´ÓÁбíÖÐɾ³ýËùÓÐnilÖ¸Õë
 
Sort(Compare: TListSortCompare);
 procedure
 ÓÃÀ´¶ÔÁ´±íÖеÄÏ


Ïà¹ØÎĵµ£º

ʹÓÃDelphiµ÷ÓÃWebServices½Ó¿ÚµÄ¼òµ¥Ó¦ÓÃʵÀý

ʹÓÃDelphiµ÷ÓÃWebServices½Ó¿ÚµÄ¼òµ¥Ó¦ÓÃʵÀý
Delphi´Ó6.0¾Í¿ªÊ¼Ö§³ÖWeb ServicesµÄ¿ª·¢ºÍÓ¦ÓÃÁË£¬±¾ÎÄͨ¹ýʹÓÃDelphi 7.0µ÷ÓÃÐÂÀË·¢ËͶÌÐŵÄWeb Service½øÐжÌÐÅÓ¦ÓóÌÐò¿ª·¢ÕâһʵÀýÏêϸµÄ½éÉÜÔÚDelphiÖÐÈçºÎ¿ª·¢»ùÓÚWeb ServicesµÄÓ¦ÓÃϵͳ¡£
µÚÒ»²½£¬×¼±¸¹¤×÷£¬Á˽âÐÂÀ˶ÌÐÅWeb Service¡£ÐÂÀË·¢ËͶÌÐŵÄWeb Serviceµ ......

Delphi Excel to Sql Server

 unit Unit1;
interface
uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls, Grids, DBGrids, DB, ADODB,comobj, OleServer,
  ExcelXP;
type
  TForm1 = class(TForm)
    ADOConn: TADOConnection;
& ......

Delphi¹ØÁªÎļþÀ©Õ¹Ãû

unit unitMain;
interface
uses
Registry, shlobj,
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls, ExtCtrls;
type
TExtForm = class(TForm)
ledExtension: TLabeledEdit;
ledAssocApp: TLabeledEdit;
GetAssocApp: TButton;
AssocTh ......

Delphi»ù´¡¿ª·¢¼¼ÇÉ(1)

http://developer.51cto.com/art/200510/7205.htm
[DELPHI]ÍøÂçÁÚ¾Ó¸´ÖÆÎļþ
uses shellapi;
copyfile(pchar('newfile.txt'),pchar('//computername/direction/targer.txt'),false);
[DELPHI]²úÉúÊó±êÍ϶¯Ð§¹û
ͨ¹ýMouseMoveʼþ¡¢DragOverʼþ¡¢EndDragʼþʵÏÖ,ÀýÈçÔÚPANELÉϵÄLABEL:
var xpanel,ypanel,xlabel,yla ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ