package com.leegh.parameterization/** * @author Guohui Li */class Self { self => val tmp = "Scala" def foo = self.tmp + this.tmp}trait S1class S2 {...
分类:
其他好文 时间:
2015-09-08 09:36:10
阅读次数:
208
结果:1.实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, 7 FMX.T...
分类:
移动开发 时间:
2015-09-07 21:10:21
阅读次数:
214
How to detect the types of executable filestype { IMAGE_DOS_HEADER: DOS .EXE header. } IMAGE_DOS_HEADER = packed record e_magic : Word; ...
分类:
其他好文 时间:
2015-09-07 00:37:17
阅读次数:
262
结果:1.网络好的情况下,打开很快,很流畅。2.地址栏真心不好使,如果真要做应用,这块必须自己优化一下。实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, System.UITypes, Sy...
分类:
移动开发 时间:
2015-09-06 17:48:14
阅读次数:
362
将自己的App注册到iOS,就要用到iOS文档处里的功能,我们注册我们的程序用来处理我们自己特殊的文档类型。 首先,我们要在Info.plist文件中设置Document types <key>CFBundleDocumentTypes</key>
<array>
...
分类:
移动开发 时间:
2015-09-05 00:13:34
阅读次数:
235
结果:1.二个按钮可以新建消息提醒,最小化也是新建消息提醒。2.程序必须最小化后才能点击消息提醒Label2才会有反映。实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, Syst...
分类:
移动开发 时间:
2015-09-04 19:45:46
阅读次数:
276
结果:1.因为只有小米手机,没有三星手机,没法测试。如果哪位神测试过的话,记得M我哦,谢了。实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, System.UITypes, System.C...
分类:
移动开发 时间:
2015-09-04 18:17:16
阅读次数:
220
结果:1.可以处理再次显示问题,但缺点是每个控件都要处理一次,累。哪位大神有好的处理方法,请M我。实例代码: 1 unit Unit1; 2 3 interface 4 5 uses 6 System.SysUtils, System.Types, System.UITypes, Syste...
分类:
移动开发 时间:
2015-09-04 15:30:56
阅读次数:
361
在Preference(偏好设置)中,搜索框中输入content找到Content Types,然后在text中找到并选中Java Source File,然后在Defalut encoding输入UTF-8或者输入GBK(具体输入哪个你根据源代码的中文乱码变化区分和尝试),最后点击Update按钮...
分类:
系统相关 时间:
2015-09-03 21:37:36
阅读次数:
138
nested pop animation can result in corrupted navigation barFinishing up a navigation transition in an unexpected state. Navigation Bar subview tree mi...
分类:
其他好文 时间:
2015-09-02 13:43:15
阅读次数:
208