2011年10月10日 星期一
Simple FireMonkey Object Inspector
Felix Colibri| Felix Colibri’s Delphi Blog |18:51:01
: building a FireMonkey ObjectInspector which presents the components of the Form and displays theirproperty names an values and allows the user to modify them at runtime
Register for CodeRage before time runs out!
Embarcadero| EDN Delphi Feed |02:14:08
Change the Default Application Icon for a Console Mode Delphi Application
About.com| About.com Delphi Programming |02:00:20
inConsole Mode Delphi Apps.::By design, all console mode applications have the same icon (depends on the Windows version).For a normal GUI application you can change the application icon using Project - Options - Application - Application Settings...
2011年10月9日 星期日
Delphi XE2 新增了 System.Zip 单元, 可用一句话压缩整个文件夹了
万一| 万一的 Delphi 博客 |23:12:00
单元内主要就是 TZipFile 类, 最方便使用的是它的静态方法:TZipFile.ExtractZipFile() //解压 Zip 文件到指定文件夹TZipFile.IsValid() //判断指定文件是否是有效的 Zip 文件TZipFile.ZipDirectoryContents() //压缩指定路径下的所有文件测试:use...
Delphi XE2 新增 System.Zip 单元, 可用一句话压缩整个文件夹了
万一| 万一的 Delphi 博客 |23:12:00
单元内主要就是 TZipFile 类, 最方便使用的是它的静态方法:TZipFile.ExtractZipFile() //解压 Zip 文件到指定文件夹TZipFile.IsValid() //判断指定文件是否是有效的 Zip 文件TZipFile.ZipDirectoryContents() //压缩指定路径下的所有文件测试:use...
Delphi XE2 之 FireMonkey 入门(45) - 结题与问题
万一| 万一的 Delphi 博客 |22:53:00
很喜欢 FMX 的一些新控件, 如: TExpander、TArcDial、TComboTrackBar、TPathLabel 等等, 没时间学习去了, 其实都很易用.对 FMX 的整体感觉: 还不成熟, 但肯定有前景; 它的构架师有远见、了不起, 很难估计他开启的是多大一扇门!之前的学习计划是:1、TCanvas、TBrush;2...
Delphi XE2 之 FireMonkey 入门(44) - 控件基础: TTreeView、TTreeViewItem
万一| 万一的 Delphi 博客 |14:19:00
TScrollBox -> TCustomTreeView -> TTreeView 子项类型是 TTreeViewItem.测试, 先在窗体上放一个 TTreeView, 并需要它的 OnChange 事件:unit Unit1;interfaceuses System.SysUtils, System.Types, System.UITypes, System.Classes, System.Variants, FMX.Types, FM...
Delphi XE2 之 FireMonkey 入门(43) - 控件基础: TStringGrid、TGrid
万一| 万一的 Delphi 博客 |11:46:00
TStringGrid、TGrid 都是从 TCustomGrid 继承; 区别有:1、它们的列对象分别是: TStringColumn、TColumn;2、TStringGrid 比 TGrid 多出了 Cells[] 属性.因为 TGrid 没有 Cells[] 属性, 暂时不方便使用; 我尝试取其当前单元值时竟然用了这样的代码:(Grid1.Columns[Grid...
2011年10月8日 星期六
Delphi XE2 之 FireMonkey 入门(42) - 控件基础: TComboBox、TComboEdit
万一| 万一的 Delphi 博客 |23:35:00
TListBox 有两个兄弟 TComboListBox、TComboEditListBox;TComboBox、TComboEdit 虽不是不是从它们继承, 但分别包含了它们, 所以使用起来都有点像 TListBox.TComboBox 更像 TListBox, 比 TComboEdit 多出了 Selected 等成员;TComboEdit 是从 TCustomEdit 继承, 和 TEd...
Delphi XE2 之 FireMonkey 入门(41) - 控件基础: TListBox
万一| 万一的 Delphi 博客 |15:31:00
TScrollBox -> TCustomListBox -> TListBox; 其元素项是 TListBoxItem 类型.TListBox 的功能在 TCustomListBox 里就完成了.值得注意的变化是:1、复选框(相关属性: ShowCheckboxes、TListBoxItem.IsChecked)2、交替背景(通过继承还可以调整交替的背景色)3、TListBoxIt...
Delphi XE2 之 FireMonkey 入门(40) - 控件基础: TMemo
万一| 万一的 Delphi 博客 |13:21:00
值得注意的变化:1、其父类 TScrollBox 的许多特性也很有用处, 如:Memo1.UseSmallScrollBars := True;2、内部使用了一个栈列表管理动作, 现在可以执行多步撤销(UnDo).3、使用了一个新的结构体 TCaretPosition 来描述当前位置, 并为该结构提供了一个公用的快速构造函数...
Embarcadero Tokyo Developer Camp RAD Studio XE2 presentation replays
David I| Sip from the Firehose |02:17:05
Last month, I was in Tokyo Japan for the 20th Embarcadero Developer Camp, presented by Embarcadero Japan. ?The all day event took place in the Akihabara area of Tokyo (the massive electronics and software playground). ?During the day, I gave sever...
2011年10月7日 星期五
Delphi XE2 之 FireMonkey 入门(39) - 控件基础: TScrollBox、TVertScrollBox、TFramedScrollBox、TFramedVertScrollBox
万一| 万一的 Delphi 博客 |23:55:00
TScrollBox 是很多控件基础, 所以先学.TVertScrollBox 只比 TScrollBox 少了竖滚动条.TFramedScrollBox、TFramedVertScrollBox 只是套用了不同的样式, 有可视的框架.{ TScrollBox }public constructor Create(...); override; // destructor Destroy; override; ...
RadPHP XE2 - see it at ZendCon 2011 and Update #1 is now available…
David I| Sip from the Firehose |20:45:38
Update 1 for RadPHP XE2 is now available for download.Registered users of RadPHP XE2, RAD Studio XE2 or Embarcadero All-Access can get the latest version at?http://cc.embarcadero.com/item/28525.If you don’t have RadPHP XE2 yet, you can downl...
Delphi XE2 之 FireMonkey 入门(38) - 控件基础: TPopupMenu 与 TMenuItem
万一| 万一的 Delphi 博客 |16:14:00
相关控件: TMenuBar、TPopupMenu、TMainMenu; 它们都是要包含 TMenuItem; 在设计时添加 TMenuItem 很容易.控件 PopupMenu 属性用于指定右键菜单.暂时无法直接为窗体指定右键菜单, 因为窗体现在没有 PopupMenu 属性; 我想到的办法是在窗体上覆盖一个 TPanel 或 TRecta...





冀公网安备 13098202000212号