DelphiÀàÐÍת»»
Chr ½«Ò»¸öÓÐÐòÊý¾Ýת»»ÎªÒ»¸öANSI×Ö·û
Ord ½«Ò»¸öÓÐÐòÀàÐÍֵת»»ÎªËüµÄÐòºÅ
Round ת»»Ò»¸öʵÐÍֵΪËÄÉáÎåÈëºóµÄÕûÐÍÖµ
Trunc ת»»Ò»¸öʵÐÍֵΪСÊý½Ø¶ÏºóµÄÕûÐÍÖµ
Int ·µ»Ø¸¡µãÊýµÄÕûÊý²¿·Ö
IntToStr ½«Êýֵת»»Îª×Ö·û´®
IntToHex ½«Êýֵת»»ÎªÊ®Áù½øÖÆÊý×Ö·û´®
StrToInt ½«×Ö·û´®×ª»»ÎªÒ»¸öÕûÐÍÊý£¬Èç×Ö·û´®²»ÊÇÒ»¸öºÏ·¨µÄÕûÐͽ«Òý·¢Òì³£
StrToIntDef ½«×Ö·û´®×ª»»ÎªÒ»¸öÕûÊý£¬Èç×Ö·û´®²»ºÏ·¨·µ»ØÒ»¸öȱʡֵ
Val ½«×Ö·û´®×ª»»ÎªÒ»¸öÊý×Ö£¨´«Í³Turbo PascalÀý³ÌÓÃÓÚÏòºó¼æÈÝ£©
Str ½«Êý×Öת»»Îª¸ñʽ»¯×Ö·û´®£¨´«Í³Turbo PascalÀý³ÌÓÃÓÚÏòºó¼æÈÝ£©
StrPas ½«ÁãÖÕÖ¹×Ö·û´®×ª»»ÎªPascalÀàÐÍ×Ö·û´®£¬ÔÚ32λDelphiÖÐÕâÖÖÀàÐÍת»»ÊÇ×Ô¶¯½øÐеÄ
StrPCopy ¿½±´Ò»¸öPascalÀàÐÍ×Ö·û´®µ½Ò»¸öÁãÖÕÖ¹×Ö·û´®, ÔÚ32λDelphiÖÐÕâÖÖÀàÐÍת»»ÊÇ×Ô¶¯½øÐеÄ
StrPLCopy ¿½±´PascalÀàÐÍ×Ö·û´®µÄÒ»²¿·Öµ½Ò»¸öÁãÖÕÖ¹×Ö·û´®
Delphi 7.0³£Óú¯ÊýÓÉÒ»¾ä»ò¶à¾ä´úÂë×é³É£¬¿ÉÒÔʵÏÖij¸öÌض¨µÄ¹¦ÄÜ¡£Ê¹Óú¯Êý¿ÉÒÔʹ´úÂë¸ü¼ÓÒ׶Á¡¢Ò׶®£¬¼Ó¿ì±à³ÌËٶȼ°¼õÉÙÖظ´´úÂë¡£¹ý³ÌÓ뺯ÊýÀàËÆ£¬¹ý³ÌÓ뺯Êý×îÖØÒªµÄÇø±ðÔÚÓÚ£¬¹ý³ÌûÓзµ»ØÖµ£¬¶øº¯ÊýÄÜÓзµ»ØÖµ¡£
¡¡¡¡ÔÚDelphi 7.0ÖУ¬ÒÑΪÎÒÃǶ¨ÒåºÃÁ˷dz£¶àµÄº¯Êý£¬´óÖ·ÖÀàÓÐ6ÖÖ£ºÊý¾ÝÀàÐÍת»»º¯Êý¡¢×Ö·û´®¡¢Êý×é²Ù×÷º¯Êý¡¢Îļþ¡¢´ÅÅ̲Ù×÷º¯Êý¡¢ÄÚ´æ¡¢Ö¸Õë²Ù×÷º¯Êý¡¢ÊýѧÔËË㺯Êý¡¢ÈÕÆÚº¯Êý¡£
¡¡¡¡ÔÚDelphiÖе÷Óú¯Êý£¬Ò»°ãÇé¿öÏ¿ÉÒÔÖ±½ÓʹÓú¯Êý¼´¿É£¬µ«ÓÉÓÚÓÐһЩº¯Êýδ°üº¬ÔÚUsesÖÐÁгöµÄµ¥ÔªÖÐ(ĬÈϵ¥ÔªÓÐWindows,Messages,SysUtils,Variants,Classes,Graphics, Controls,Forms,Dialogs£¬ËùÒÔÐèÒªÎÒÃÇÊÖ¶¯Ìí¼Óµ¥Ôª¡£±ÈÈ磬MidStrº¯Êý¾Íδ°üº¬ÔÚÕâЩµ¥ÔªÖУ¬MidStrËùÊôµ¥ÔªÔÚStrUtilsÖУ¬Òò´ËÎÒÃǽ«StrUtilsÌí¼ÓUsesÖм´¿É¡£
¡¡¡¡ÔÚ±¾ÊÖ²áÖУ¬·²ÊÇδ°üº¬ÔÚĬÈÏÁгöµÄµ¥ÔªÖеĺ¯Êý£¬¶¼±êÃ÷ÁËÆäËùÊôµÄµ¥Ôª£¬Ê¹ÓÃʱӦµ±×¢Òâ¡£
Ò»¡¢Êý¾ÝÀàÐÍת»»º¯Êý
¡¡¡¡ÔÚÎÒÃDZàд³ÌÐòµ±ÖУ¬¸ù¾Ý²»Í¬Çé¿ö£¬»áʹÓõ½¶àÖÖÊý¾ÝÀàÐÍ¡£µ±Òª¶Ô²»Í¬µÄÀàÐͽøÐвÙ×÷ʱ£¬±ØÐëÒª½«²»Í¬µÄÀàÐÍת»»³ÉͬÑùµÄÀàÐÍ¡£Òò´ËÊìÁ·µØÕÆÎÕÊý¾ÝÀàÐ͵Äת»»ÊǷdz£ÖØÒªµÄ¡£
1.FloatToStr
¡¡¡¡¹¦Ä
Ïà¹ØÎĵµ£º
from : http://zhyhero.googlepages.com/heartset
file:0 Ç°ÑÔ
±¾ÎĵÄÄ¿µÄÔÚÓÚ²ÉÓÃÁ÷Ë®ÕË·½Ê½À´¼Ç¼ѧϰdelphi·ÃÎÊǶÈëʽÊý¾Ý¿âsqliteÖеÄһЩµãµÎ¡£»¶Ó¸÷λͬºÃ¹²Í¬Ñ§Ï°ºÍÅúÆÀÖ¸Õý¡£
file:1 ×¼±¸¹¤×÷part1
& ......
ÔÚDelphiÖÐ,Inifilesµ¥ÔªÖÐÓÐÒ»¸öTStringHashµÄÀ࣬²»¹ýËüµÄValue½öÖ§³ÖInteger(ÆäʵҲ²»ÊÇÎÊÌ⣬ÓÐÆäËüÀàÐÍ¿ÉÒÔ½«±äÁ¿±äΪPointer)£¬Óе㲻Êæ·þ£¬½ñÌìûÊÂ×ö¾Í°ÑËüÌ滻ΪvariantÁË£¬ÆäÖÐKeyµÄÃû³Æ´óСдÎ޹أ¬¾ÍÊÇΪÁ˼ӿ쿪·¢Ëٶȣ¡
ʹÓÃHashtable,²éÕÒºÍɾ³ý¸´ÔӶȶ¼Êdz£Êý¼¶±ðµÄ!
type
PPHashItem = ^PHashItem;
......
¼¼Êõ½»Á÷,DH½²½â. IOCompÊÇÒ»Ì×ÓÃÓÚ¹¤ÒµµÄͼÐλ¯¿Ø¼þ.
¿´ÏÂÔõôÔÚD2010ÏÂÃæ°²×°°É.Ê×ÏÈÏÂÔصØÖ·,À´Ö® ºÐ×Ó,Download Here ½âѹËõºó,ÐèÒª×öµÄ²½Öè:
1 Ìí¼Ólib path
Tools –> Options –> Delphi Options
½«ÄãµÄ½âѹËõĿ¼Ìí¼Ó½øÀ´.
2 ɾ³ýÏà¹ØPNGµ¥Ôª.
ÒòΪ2010ÖÐ ......
½ñÌ쿪ʼÑо¿FastReport¡£
ÒÔÏÂÊǶ¯Ì¬´´½¨FASTREPORTµÄDEMO
var
Page: TfrxReportPage;
Band: TfrxBand;
DataBand: TfrxMasterData;
Memo: TfrxMemoView;
begin
{ clear a report }
frxReport1.Clear;
{ add a dataset to the list of ones accessible for a report }
frxReport1.DataSets.Add(frxDB ......
Procedure OnMouseWheel(Var Msg :TMsg;var Handled:Boolean);
begin
if Msg.message = WM_MouseWheel then
begin
if Msg.wParam > 0 then
begin
if DBGrid.Focused then
......