本例测试效果图:代码文件:unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class...
分类:
其他好文 时间:
2015-08-13 11:21:37
阅读次数:
116
unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Memo....
分类:
Web程序 时间:
2015-08-13 11:21:34
阅读次数:
128
MTU 最大传输单位
通过上面 MAC 封装的定义,现在我们知道标准以太网络frame所能传送的数据量最大可以到达 1500 bytes , 这个数值就被我们称为 MTU (Maximum Transmission Unit, 最大传输单位)。 你得要注意的是,每种网络接口的 MTU 都不相同,因此有的时候在某些网络文章上面你会看到 1492 bytes 的 MTU 等等。不过,...
分类:
其他好文 时间:
2015-08-13 10:06:12
阅读次数:
163
SuperObject 构建一个 JSON 的常用方法: 从字符串、从文件、从流.unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, ...
分类:
Web程序 时间:
2015-08-13 10:00:03
阅读次数:
137
For与Function进阶实战、Lazy的使用一、for循环的进阶实战Defmain=(args:Array[String]):Unit{For(i<-1to3;j<-3to8)Println((100*i+j)+”")也可在for循环中加入条件表达式:For(i<-1to3;j<-3to8ifi!=j)Println((100*i+j)+”")}定义函数的时候一般函数都有值,函数..
分类:
其他好文 时间:
2015-08-12 15:03:04
阅读次数:
174
For与Function进阶实战、Lazy的使用一、for循环的进阶实战Defmain=(args:Array[String]):Unit{For(i<-1to3;j<-3to8)Println((100*i+j)+”")也可在for循环中加入条件表达式:For(i<-1to3;j<-3to8ifi!=j)Println((100*i+j)+”")}定义函数的时候一般函数都有值,函数..
分类:
其他好文 时间:
2015-08-12 14:56:42
阅读次数:
106
package com.leegh.pattern_match/** * @author Guohui Li */object Extractor { def main(args: Array[String]): Unit = { def match_array(arr: Any) = ar...
分类:
其他好文 时间:
2015-08-12 08:57:52
阅读次数:
199
源文地址:http://docwiki.embarcadero.com/RADStudio/XE5/en/Mobile_Tutorial:_Using_the_Phone_Dialer_on_Mobile_Devices_(iOS_and_Android)1.获取运营商、国家代码 1 unit Un...
分类:
移动开发 时间:
2015-08-11 18:01:05
阅读次数:
268
package com.leegh.pattern_match/** * @author Guohui Li *//** * Type,Array模式匹配 */object Pattern_Match_More { def main(args: Array[String]): Unit = { .....
分类:
其他好文 时间:
2015-08-11 09:43:37
阅读次数:
109
一、Label控件(类)属性:(一)布局:Width: 既可用像素,也可用百分比 类型:UnitHeight:既可用像素,也可用百分比 类型:Unit Unit.Pixel(像素数) Unit.Percentage(百分比数)(二)背景与前景BackColor:(Color)背景色ForeCo...
分类:
其他好文 时间:
2015-08-11 07:01:41
阅读次数:
172