delphi savediglog¶à´Î±£´æÎÊÌâ
ÎÒÔÚÓÃmainmenu²Ëµ¥¿Ø¼þºÍsavediglog¿Ø¼þÉèÖñ£´æÎļþ¶Ô»°¿òʱ£¬ËäÈ»Äܹ»Ë³Àû±£´æÎļþ£¬µ«ÊÇÎÒ¶ÔÒѾ±£´æ¹ýµÄÎļþ½øÐÐÔٴα£´æµÄʱºò£¬²¢²»ÄܺͺܶàÈí¼þÒ»ÑùÖ±½Ó±£´æ£¬¶øÊÇÈÔÈ»µ¯³ö±£´æ¶Ô»°¿ò£¬¶øÎÒ²»ÏëËü´ò¿ª£¬¶øÊÇÖ±½Ó±£´æ¡£Òª²»È»ÕâÑùµÄ»°±£´æÓëÁí´æΪûÇø±ðÁË¡£
×îºÃ»¹ÄÜʵÏÖ±£´æ¹ýÎļþ£¬±£´æ°´Å¥Îª»ÒÉ«£¬ÓиĶ¯ÔÙ±äÁÁÕâ¸ö¹¦ÄÜ£¬Ë»áдÕâ¶Î´úÂ룬»òÕßÓÐʲô·½·¨£¬½Ì½ÌÎÒ¡¡¡¡¼±
Ç°ÃæÄã˵µÄ£¬ÄǵÃÄã×Ô¼ºÅжϣ¬µ±±£´æ¹ýÎļþºó£¨¾ÍÊÇ»ñµÃÁËÓû§Ñ¡ÔñµÄ±£´æ·¾¶ºÍÎļþÃû£©¾Í²»ÒªÔÚµ¯³ö±£´æ¶Ô»°¿ò£¬¶øÊÇÖ±½Ó±£´æÎļþÁË¡£
¾ßÌå´úÂëÊÇʲô°¡£¬»¹Óеڶþ¸ö¹¦ÄÜÔõôʵÏÖ°¡
sFile := SaveDialog1.filename;
if not fileexists(sFile) then
begin
if SaveDialog1.Execute then
begin
... ...
end;
end else begin
//Ö±½Ó±£´æ
end;
3Â¥µÄлÁË£¬²»¹ýÌáʾ³ö´íÎÒÔÀ´µÄ´úÂëÊÇ£º
procedure TForm1.Save1Click(Sender: TObject);
begin
if SaveDialog1.Execute then
wb1.Lines .SaveToFile(SaveDialog1 .FileName);
end;
ÒªÊÇÓÃÄãÕâ¸öÔõôÓÃ
Äã±£´æµÄÎļþÕýÔÚʹÓá£
End_rbody_60447841//-->
¸Ã»Ø¸´ÓÚ2009-10-19 10:44:48±»¹ÜÀíԱɾ³ý
¶ÔÎÒÓÐÓÃ[0]
¶ª¸ö°åש[0]
ÒýÓÃ
¾Ù±¨
¹ÜÀí
TOP
newfang
(MIC)
µÈ¡¡¼¶£º
#7Â¥ µÃ·Ö£º3»Ø¸´ÓÚ£º2009-10-16 09:35:43
Â¥Ö÷Òâ˼²»¾ÍÊDz»Ïëÿ´Î¶¼µ¯³ö±£´æ¶Ô»°¿òÂð£¿
ÄǾÍÅжÏÒª±£´æµÄÎļþÊÇ
Ïà¹ØÎÊ´ð£º
ÈçÌâ¡£
¸Ð¾õÈçºÎ£¿½»Á÷Ï¡£
ûÓÐÑо¿¹ý£¬ºÇºÇ
ÓÐɶÑо¿Í·£¿
ÄǸö¶«Î÷£¬ÊǸö¼¦Àߣ¬£¬Ã»ÓÐʲôÒâ˼£¬·¢ÏÖ£¡£¡
ÓÃÀ´×öB/S¼Ü¹¹µÄMISϵͳµÄ»°Ó¦¸Ã¿ÉÒÔÌá¸ß½çÃ濪·¢µÄЧÂÊ°É£¿
ÒòΪ²»ÊìϤDelphi £ ......
delphiÈçºÎÏòAccessÊý¾Ý±íÖÐ×Ô¶¨Òå×Ö¶Î?È»ºóÏÔʾµ½DBGridÖÐ
ÔõôûÈËÀíÎÒѽ
·Ö·Ö߯ÉÙßÖ£¬Ò»°ãÈ˶¼ÀÁµÃ½øÀ´¡¡*^_^*
SQL
creat table TableName(ID Counter Primary Key,FieldName varchar(20))
ADOQue ......
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
&n ......
²¿ÃÅȱһµ½Á½¸öDelphi¿ª·¢ÈËÔ±,¾Ý˵×öDelphiºÍC++µÄ¶¼²»ºÃÕÐ,¹«Ë¾ÓÐÒâÕÒÍâ°üÈËÔ±.±¾ÈËÓе㲻̫ÀÖÒâ,Èç¹û·¹ýµÄÅóÓÑ,×Ô¼ºÐèÒªÌø²Û»òÓÐÅóÓÑÐèÒªÌø²ÛµÄ,·½±ãµÄ»°,¿ÉÒÔ·¢¸öÕ¾ÄÚ¶ÌÐÅ,»ò¼ÓQQ 83039548,×¢Ã÷ÇóÖ°/ÍƼö,лл. ......
RT
ÓÃDelphiµÄÔ½À´Ô½ÉÙÁË
Èý¹úÒªÌø²ÛÁË£¿
ÊÇ°¡£¬ÂíÉϲ»¾Íµ½´«ËµÖеġ°½ðÈýÒøÊ®¡±ÁËÂð£¿
ÒýÓÃ
Èý¹úÒªÌø²ÛÁË£¿
¶÷
È¥ÕÒÀ¸´°É~~ËûÕýÔÚÕÐÈËÄØ£¿ºÇºÇ~~
ÕÐƸdelphi¹¤³Ìʦ--¹¤×÷µØµã£º± ......