摘要: dpr 为工程文件dfm 为窗体文件pas 为单元文件cfg 配置文件dof 为项目选项文件(一般没用)dcu compiled units文件 ,编译后的单元文件res 资源文件ddp 文件就是Delphi Diagram Portfolio简写,是用来保存Code Editor中的Diagram信息的. 一般一个项目要 dpr,dfm,pas文件即可,如果有cfg,res也要(后两个文件很少用到)iPhone是Object C,object-c通常写作objective-c或者obj-c.单一继承:Objective-C不支持多重继承,(同Java和Smalltalk),而C++语言支持多 阅读全文
posted @ 2012-03-13 17:07 ftwsnow 阅读(199) 评论(0) 推荐(0)
摘要: procedure TMainFrm.DBGrid2TitleClick(Column: TColumn);var flag:Boolean; tempstr:string;begin tempstr:=Column.Title.Caption; if Pos('▲',tempstr)>0 then flag:=False else flag:=True; if (Pos('▲',tempstr)>0) then tempstr:=Copy(tempstr,1,Pos('▲',tempstr)-1) else if Pos(' 阅读全文
posted @ 2012-03-13 16:08 ftwsnow 阅读(283) 评论(0) 推荐(0)
摘要: //加上 Windows单元varhAppMutex: THandle;begin Application.Initialize; hAppMutex := CreateMutex(nil, false,'PaiWeiControl'); if (hAppMutex = 0) then begin MessageBox(0,'创建互斥对象失败!','Error',MB_OK + MB_ICONINFORMATION ); Exit; end; if ((hAppMutex <> 0) and (GetLastError() = ERR 阅读全文
posted @ 2012-03-13 16:04 ftwsnow 阅读(209) 评论(0) 推荐(0)
摘要: (一)规则形状(圆形、三角形、方形、菱形)○ ⊙ ◎ ◐ ◑ 。 。 。° &ordm; o O . · ۰ • ● ◕ ◕ ☉⊕ Θ ✪ ✪ ◣◢ ◤◥ ⊿ ・ ‧ ▫ ▪ □ ▣ ▓ ▒ ░ ▧ ▨ ▤ ▥ ▦ ▩ ◘ ◙ ☒ ■ ▬ 〓 ▀ ▁ ▂ ▃ ▄ ▅ ▆ ▇ █ ▋▌▍▐ ◦ ◊ ♢ ♦ ❖ ◇ ◈ ◆ (二)图形符号♂ ♀ ♠ ♣ ♥ ♦ ♤ ♡ ◇ ♧ ❤ ❥ ☜ ☞ ☎ ☏ ♨ ☺ ☻ ﹡ * ¤ ☼ ☀ ☽ ☾ ☆ ★ ☄ ☁ ☂ ✚ ✟ ✙ ✣ ✤ ✥ ✦ ✧ ✩ ✫ ✬ ✭ ✮ ✯ ✰ ✪ ☆ ★ ❂ ❁ ❀ ✿ ✱ ✲ ✳ ❃ 阅读全文
posted @ 2012-03-13 15:58 ftwsnow 阅读(905) 评论(0) 推荐(0)