delphi WITH DOµÄÎÊÌâ
procedure TForm2.Button1Click(Sender: TObject);
var
i:integer;
begin
SetLength(a,200);
for I := 0 to 199 do
begin
A[i]:=Tedit.Create(self);
with A[i] do
begin
Parent:=self;
AutoSize:=False;
Height:=(ClientHeight-button1.Height-20)div 10;
Width:=ClientWidth div 20;
Top:=(i div 20)*a[i].Height;
Left:=(i mod 20)*a[i].Width;
Text:=inttostr(i+1);
end;
end;
end;
procedure TForm2.Button2Click(Sender: TObject);
var
i:integer;
begin
SetLength(a,200);
for i := 0 to 199 do
begin
a[i] := TEdit.Create(self);
a[i].Parent := self;
a[i].AutoSize := False;
a[i].Height := (ClientHeight-Button1.Height-20)div 10;
a[i].Width := ClientWidth div 20;
a[i].Top := (i div 20)*a[i].Height;
a[i].Left := (i mod 20 )*a[i].Width ;
a[i].Text := inttostr(i+1);
end;
Ïà¹ØÎÊ´ð£º
ÒÑÖªPython ÖУº
s = unicode("²âÊÔ", "gb2312")
s = u'\u6d4b\u8bd5'
print s
²âÊÔ
ÔÚDelphiÀïÃæÈçºÎ½«\u6d4b\u8bd5ÕâÑùµÄ»¹Ô³ÉGb2312µÄºº×ÖÄØ£¿
ÕÒµ½¸ö·½·¨
......
ÎÒÔÚÄ£¿éÀï×Ô¶¨ÒåÁËÒ»¸öº¯Êý:stradd()
¿ÉÊÇÔÚadoquery1.sql.add('select stradd(author) from book');
ʱÌáʾstradd䶨Òå...
Õâ¸öÎÊÌâÓÐʲô°ì·¨¿ÉÒÔ½â¾öµÄÂð? ·Ç³£¸Ð¼¤!
(ÔÚA ......
Delphi ÏñÍö¹úµÄÄÏËΣ¬ÊÔÎÊÕâÓïÑÔ»¹ÓÐǰ;Âð£¿
Win32¿ª·¢²»ÈçC#£»
ÃæÏñ¶ÔÏñ¿ª·¢²»ÈçJAVA£»
ϵͳ¿ª·¢²»ÈçVC++6.0£»
ÄÜÓÃÐÔ²»ÈçVB6.0£»
²»Ö§³ÖWeb¿ª·¢¡£¡£¡£
³ö¸öDelphi 2010Ãâ·ÑÒ»Äê»áÓÐÈËÓÃÂð£¿
......
ÎÒ°²×°µÄÊÇÆóÒµ°æ¡£¡£¡£
ÎÒÎÊÏ£¬ CTRL+×ó¼ü Äܲ鿴 windows.pas Âð£¿
¾ÍÊÇ ½Ó¿ÚÀïµÄwindows¡£
µ±È»¿ÉÒÔ,CTRL+×ó¼üµã»÷Interface²¿·ÖµÄWindows¾Í¿ÉÒÔÁË
ɶɶÆóÒµ°æ£¿È¥°²×°Ä¿Â¼¿´¿´libÎļþ¼ÐÏÂÓÐÃ»Ó ......
ÏëʹÓÃdelphi×Ô¶¯Éú³É¡°ÄêºóÁ½Î»+Ô·Ý+ËÄλ±àºÅ¡±µÄÁ÷Ë®ºÅ
ÏÖÐÂÔöµÚÒ»Ìõ¼Ç¼µÄʱºòÄÜÉú³É
µÚ¶þÌõµÄʱºòÁ÷Ë®ºÅµÄ×îºóһλ¾ÍûÁË
´ó¼Ò°ïæ¿´¿´ÎҵĴúÂë´íÔÚÄÄÀï
Delphi(Pascal) code:
procedur ......