DELPHIÓû§µÇ¼·½°¸
3.2 Óû§µÇ¼·½°¸
ÔÚ½øÈëÒ»¸öϵͳʱ£¬±ØÐëÏÈÔڵǼ´°ÌåÖÐÊäÈëÕýÈ·µÄÓû§ÃûºÍÃÜÂë²ÅÄܽøÈë¡£ÕâÑù¿ÉÒÔÈ·±£ÏµÍ³µÄ°²È«ÐԺͱ£ÃÜÐÔ£¬µÇ¼´°ÌåµÄÖÆ×÷°´ÕÕϵͳµÄ´óС¼°Óô¦£¬¿ÉÒÔ·ÖΪ²»Í¬µÄµÇ¼´°ÌåÑùʽ£¬ÔÚϵͳµÚÒ»´ÎµÇ¼ǰ£¬Ê×ÏÈÒª¶Ô²Ù×÷Ô±ÐÅÏ¢½øÐÐÏàÓ¦µÄÉèÖᣱ¾½Ú½«¶ÔµÇ¼´°Ìå¼°²Ù×÷Ô±¹ÜÀí´°ÌåµÄÖÆ×÷¹ý³Ì½øÐÐÏêϸµÄ˵Ã÷¡£
3.2.1 ¼òµ¥Óû§µÇ¼
¼òµ¥Óû§µÇ¼£¬ÊÇÖ¸ÔڵǼ´°ÌåÖÐֻͨ¹ýÓû§Ãû¼°ÃÜÂë½øÐеǼ£¬Óû§µÇ¼ºó¿ÉÒÔ¶ÔϵͳÖеÄÊý¾Ý½øÐÐÈÎÒâ²Ù×÷¡£ÕâÊÇ×î¼òµ¥µÄµÇ¼·½Ê½¡£
1£®·½°¸·ÖÎö
ÔڵǼ´°ÌåÖУ¬ÊäÈëÓû§ÃûºÍÃÜÂ룬µ¥»÷È·¶¨£¨»òµÇ¼£©°´Å¥£¬ÏµÍ³½«ÔÚÊý¾Ý±íÖвéÕÒÓÐÎÞÏàͬµÄ¼Ç¼£¬Èç¹ûÓÐÔò½øÈëÖ÷´°Ì壻Èç¹ûûÓÐÔò¸ø³ö´íÎóÌáʾ¡£ÏÂÃæ¸ø³ö¼òµ¥Óû§µÇ¼µÄÁ÷³Ìͼ£¬Èçͼ3.3Ëùʾ¡£
ͼ3.3 ¼òµ¥Óû§µÇ¼Á÷³Ìͼ
ÔÚÖÆ×÷¼òµ¥Óû§µÇ¼·½°¸Ê±£¬Ö÷ÒªÓÐÒÔϼ¸¸öÄѵ㣺
£¨1£©ÔõÑùÔÚÓû§Êý¾Ý±íÖжÔÓû§Ãû¼°ÃÜÂë½øÐÐÌí¼Ó»òÐ޸ġ£
£¨2£©ÈçºÎÔÚÌí¼ÓÓû§Ãûʱ£¬ÌáʾÓû§ÃûÒѾ´æÔÚ¡£
2£®ÊµÊ©¹ý³Ì
ÔÚ¿ª·¢Ò»Ð©Ð¡Ð͵ij¬ÊйÜÀíÈí¼þʱ£¬ÒòΪ³¬Êеķ¶Î§½ÏС£¬²»ÐèҪʹÓÃȨÏÞÀ´ÖÆÔ¼Óû§£¬Õâʱ¾Í¿ÉÒÔʹÓüòµ¥Óû§µÇ¼·½°¸¡£ÏÂÃæÒÔÒ»¸öСÐͳ¬ÊÐΪÀý£¬½éÉܼòµ¥µÇ¼·½°¸µÄÖÆ×÷¹ý³Ì¡£
ʵÀýλÖ㺹âÅÌ\mr\3\3.2\3.2.1\01
±¾·½°¸ÊµÏֵļòµ¥µÇ¼´°Ì壬Èçͼ3.4Ëùʾ¡£´°ÌåÖÐÒªÓÐÓû§Ãû¼°ÃÜÂëµÄÊäÈëÎı¾¿ò£¬ÎªÁËʹÊäÈëµÄÃÜÂë´¦ÓÚ±£ÃÜ״̬£¬½«ÃÜÂëÎı¾¿òÖеÄ×Ö·ûÓÓ*”À´±íʾ¡£µ±Óû§ÃûºÍÃÜÂëÕýȷʱ£¬µ¥»÷“È·¶¨”°´Å¥£¬½«½øÈëÖ÷´°Ìå¡£
ͼ3.4 ¼òµ¥µÇ¼´°Ìå
ÔÚÖÆ×÷µÇ¼´°ÌåÇ°£¬Ê×ÏÈÒªÔÚÊý¾Ý¿âÖÐÖÆ×÷Ò»¸öÓû§±í£¨tb_Briefness_User£©£¬¸ÃÊý¾Ý±í¼Ç¼Á˱¾ÏµÍ³µÄºÏ·¨Óû§Ãû¼°ÃÜÂë¡£tb_Briefness_UserÊý¾Ý±íµÄ¹ØϵͼÈçͼ3.5Ëùʾ¡£
ͼ3.5 tb_Briefness_UserÊý¾Ý±íµÄ¹Øϵͼ
ÔÚÉè¼Ætb_Briefness_UserÊý¾Ý±íʱ£¬ÎªÁËÄܹ»¶ÔÌí¼ÓµÄÓû§Ãû½øÐÐ×Ô¶¯Åźţ¬¿ÉÒÔ½«Êý¾Ý±íÖеÄID×Ö¶ÎÉèΪÊý×ÖÐÍ£¬²¢½«±êʶÉèΪ“ÊÇ”£¬ÕâÑù£¬ÔÚÌí¼Ó¼Ç¼ʱ£¬¾Í»áÔÚID×Ö¶ÎÖÐ×Ô¶¯Ìí¼Ó±àºÅ£¬Óû§ÃûºÍÃÜÂ붼ÊÇÒÔ×Ö·û´®ÐÍʽ½øÐжÁÈ¡µÄ£¬½«ÆäÉèÖóÉ×Ö·ûÐÍ¡£
ÔÚÖ÷´°ÌåÖпÉÒÔµ÷ÓÓ²Ù×÷Ô±¹ÜÀí”´°Ìå¶ÔÓû§µÄÏà¹ØÐÅÏ¢½øÐб༣¬Èçͼ3.6Ëùʾ¡£
ͼ3.6 ²Ù×÷Ô±¹ÜÀí
³ÌÐò¸÷´°ÌåÖÐÏà¹Ø×é¼þ˵Ã÷£¬Èç±í3.2Ëùʾ¡£
±í3.2 &n
Ïà¹ØÎĵµ£º
Ò»¡¢Formatº¯ÊýµÄÓ÷¨
FormatÊÇÒ»¸öºÜ³£Óã¬È´ÓÖËƺõºÜ·³µÄ·½·¨£¬±¾ÈËÊÔͼ¶ÔÕâ¸ö·½·¨µÄ°ïÖú½øÐÐһЩ·Ò룬ÈÃËüÓÐÒ»¸öÍêÕûµÄ¸Åò£¬ÒÔ¹©´ó¼Ò²éѯ֮Óãº
Ê×ÏÈ¿´ËüµÄÉùÃ÷£º
function Format(const Format: string; const Args: array of const): string; overload;
ÊÂʵÉÏFormat·½·¨ÓÐÁ½¸öÖÖÐÎʽ£¬ÁíÍâÒ»ÖÖÊÇÈý¸ö²ÎÊýµÄ£¬Ö ......
function ListFiles(Dir: String):TStrings;
var
FSearchRec: TSearchRec;
FileList: TStrings;
FindResult: Integer;
begin
if Dir[length(Dir)]<>'\' then Dir:=Dir+'\';
FileList :=TStringList.Create;
FindResult:=FindFirst(Dir+'*.*,faAnyFile+faDirectory,FSearchRec);
while FindRes ......
ÒÔÏÂÊÇÔÚÍøÉÏÊÕ¼¯µÄһЩ¶ÔÎÞÀàÐͲÎÊýµÄ˵Ã÷.¸öÈËÀí½âÎÞÀàÐͱäÁ¿¾ÍÊÇÒ»¸öÖ¸Õë.
ÏóDelphiÖÐfunction Read(var Buffer; Count: Longint): Longint; override;ÏóBufferÕâÑùûÓÐÀàÐ͵IJÎÊý¾¿¾¹Ó¦¸ÃÔõô¸ø²ÎÊý£¿£¿£¿£¿
Õâ˵Ã÷BufferÊÇͨ¹ýµØÖ··½Ê½´«µÝµÄ£¬Ò»°ã˵À´Ö» ......
====================================================
Delphi²Ù×÷ÎļþµÄÒ»°ã²½Ö裺
1£©¹ØÁªÎļþ£º
AssignFile(var F; FileName :string)£»
2£©³õʼ»¯Îļþ£º
Append(var F :Text);
//ֻд£¬ÓÚÎļþ×îºó×·¼ÓÊý¾Ý
Reset(var F [; RecSize :Word]);   ......
ÒÔÏÂÊÇtest.htmÒ³µÄÄÚÈÝ
Ê×Ïȶ¨ÒåÒ»¸ö²å¼þ¶ÔÏó
<object id="Mapupload" name="Mapupload" width="0" height="0" classid="clsid:045FA9B9-B373-4D4C-AE76-128A19A4B6AE">
</object>
<script type="text/javascript">
//´Ëº¯Êý´ò¿ªactivexform´°Ì岢Ϊactiv ......