2011年1月3日 星期一
Delphi Labs: DataSnap XE - Simple Calculator Service
Embarcadero| CodeCentral Delphi Submissions |07:01:38
This is the source code for the EDN article "Delphi Labs: DataSnap XE - Simple Calculator Service".We are using Delphi XE to build simple calculator service for performing basic arithmetic operations like add, subtract, multiply ...
Add a Standard Context (popup) Menu to Delphi’s TRichEdit
About.com| About.com Delphi Programming |02:00:49
inTRichEdit::Delphi's implementation of the rich editor control (TRichEdit) does *not* expose the default context popup menu when the rich edit is right-clicked.Read thefull articleto learn how toImplement Add a Standard Context (popup) Menu to De...
2011年1月2日 星期日
Using Extended RTTI to Make your Life Easier
Embarcadero| EDN Delphi Feed |22:00:00
学用 ASP.Net 之 "字符串" (6): StringInfo 类
万一| 万一的 Delphi 博客 |21:54:00
学完这个类没感到它会有什么用处, 同样的操作都不如在 string 类里方便, 还要 using System.Globalization;主要成员:/* 静态方法 */ StringInfo.GetNextTextElement(); //获取指定元素, 默认是获取第一个元素 StringInfo.GetTextElementEnumerator(); //获取枚...
DelphiBBS 2010离线包及总索引
DELPHI盒子| Delphi盒子 |16:01:00
DelphiBBS 2010离线包及总索引
学用 ASP.Net 之 "字符串" (5): StringBuilder 类
万一| 万一的 Delphi 博客 |15:51:00
StringBuilder 类存在的理由是: 在对字符串增删改时, 比 string 类更快; 更快的原因是无须像 string 一样反复地释放和重建.但它会在需要时重新分配内存, 如果把需要的内存预制好, 它会更快.StringBuilder 的属性与方法:/* 属性 */ Capacity; // 容量; 可读写...
2011年1月1日 星期六
现有 Delphi 项目迁移到 Tiburon 中的注意事项
不得闲| 得闲笔记 |23:43:00
现有 Delphi 项目迁移到 Tiburon 中的注意事项翻译:峪飞鹰2008-08-30随着 Embarcadero 8 月 25 号发布 RAD Studio 2009 (Tiburon) 以来(Tiburon 的 RTM 日期可能要延后到 9 - 10 月),随着 Tiburon 全面支持 Unicode,现有的 Delphi / C++ Builder 项目要迁移到 ...
2010年12月31日 星期五
学用 ASP.Net 之 "字符串" (4): string 类的扩展方法
万一| 万一的 Delphi 博客 |23:59:00
学到这里, 真是开眼界了...有太多陌生的概念.string 类的扩展方法大都继承自 IEnumerable<T> 接口, 这些方法也大都可以在 foreach 语句中实现, 但这些方法太方便了.尽管 string 类重载了其中很多方法, 但真正适合字符串操作的方法并不多; 此时我感觉, 前两天定...
Delphi XE 随想
TinTinSoft| 碧水航工作室-delphi |23:06:00
去年写的一篇文章《Delphi2010发布日。。。》,引起了众多delphi fans的一些共鸣!D2010确实是一件里程碑的重大事件! 今年8月Delphi Xe悄悄来了,但似乎没有像delphi2010那么反响大!  ...
2010年12月30日 星期四
Delphi实现的透明阴影以及蒙版效果菜单
不得闲| 得闲笔记 |22:24:00
QQ2010的皮肤控件目前实现了一部分,看到有些软件的菜单,都有阴影,透明等效果,于是开始重新实现菜单控件,QQ2009版的菜单控件,是自己从TComponent继承了完全模拟实现的一个菜单,虽然实现了菜单控件的效果,但是设计器没去实现,设计时候不太方便,当时也去为它?..
Implementing Artificial Intelligence with Delphi
Embarcadero| EDN Delphi Feed |22:00:00
学用 ASP.Net 之 string 类(3): 非扩展方法
万一| 万一的 Delphi 博客 |18:02:00
string 类的非扩展成员:/* 类方法 */ string.Compare; //对比, 返回 1、0 或 -1 string.CompareOrdinal; //对比, 返回序号差 string.Concat; //合并 string.Copy; //复制 string.Equals; //是否同值 string.Fo...
学用 ASP.Net 之 "字符串" (3): string 类的非扩展方法
万一| 万一的 Delphi 博客 |18:02:00
string 类的非扩展成员:/* 类方法 */ string.Compare; //对比, 返回 1、0 或 -1 string.CompareOrdinal; //对比, 返回序号差 string.Concat; //合并 string.Copy; //复制 string.Equals; //是否同值 string.Fo...
学用 ASP.Net 之 string 类(3): 方法
万一| 万一的 Delphi 博客 |18:02:00
string 类的非扩展成员:/* 类方法 */ string.Compare; //对比, 返回 1、0 或 -1 string.CompareOrdinal; //对比, 返回序号差 string.Concat; //合并 string.Copy; //复制 string.Equals; //是否同值 string.Fo...
学用 ASP.Net 之 "字符串" (2): string.Format
万一| 万一的 Delphi 博客 |00:07:00
一般应用与左右对齐:protected void Button1_Click(object sender, EventArgs e) { TextBox1.TextMode = TextBoxMode.MultiLine; string str; str = string.Format("***{0}***{1}***", "ASP.Net", 3.5); TextBox1.Text += str + "\n"; //***ASP.Net...





冀公网安备 13098202000212号