论坛


2011年10月5日 星期三

Delphi XE2 之 FireMonkey 入门(36) - 控件基础: TForm

万一| 万一的 Delphi 博客 |22:55:00

当我第一次读取 Form1.StyleLookup 并期待出现 "formstyle" 时, 给的确是 "backgroundstyle" ...当我尝试用 Form1.Fill.Color := claRed; 改变窗体颜色时, 失败...现在明白了, 原来窗体上覆盖着一个 TRectangle 对象:uses FMX.Objects;procedure TForm1.Button1Click...

x64 assembler fun-facts

Allen Bauer| The Oracle at Delphi |22:05:55

While implementing the x64 built-in assembler for Delphi 64bit, I got to “know” the AMD64/EM64T architecture a lot more. The good thing about the x64 architecture is that it really builds on the existing instruction format and design. However, u...

CodeRage 6 starts in 12 days - register and join us live online

David I| Sip from the Firehose |21:53:35

Our sixth annual CodeRage online virtual conference takes place October 17-21 - that’s just 12 days from today. ?As always, we will have five days of technical sessions with many of the top development experts from our community and Embarcad...

Delphi XE2 之 FireMonkey 入门(35) - 控件基础: TFmxObject: 其它

万一| 万一的 Delphi 博客 |21:44:00

TFmxObject 增加了 TagObject、TagFloat、TagString, 算上从 TComponent 继承的 Tag, 可以暂存多种类型的数据了.ChildrenCount、Children[] 代替了之前的 ControlCount、Controls[].有增删 Children 的几个方法: AddObject()、InsertObject()、RemoveObject()、Excha...

Delphi XE2 之 FireMonkey 入门(34) - 控件基础: TFmxObject: 克隆对象

万一| 万一的 Delphi 博客 |19:19:00

有两个和克隆相关的方法: Clone()、CloneChildFromStream().Clone() 很好用, 但 CloneChildFromStream() 的源码很明显地写错了(是小问题, 谁外语好去报一下).procedure TForm1.FormCreate(Sender: TObject);var i: Integer;begin for i := 0 to 9 do ListBox1.I...

Delphi XE2 之 FireMonkey 入门(33) - 控件基础: TFmxObject: SaveToStream、LoadFromStream、SaveToBinStream、LoadFromBinStream

万一| 万一的 Delphi 博客 |14:34:00

SaveToStream()、LoadFromStream() 对应文本流;SaveToBinStream()、LoadFromBinStream() 对应二进制流; 相对文本流, 二进制流会小一些.有这几个方法, 控件数据与状态的序列化就太容易了.示例:1、控件: ListBox1、Button1、Button22、事件: Button1.OnClick、Button2....

RAD Studio XE2 World Tour: Kolding (Denmark)

Pawel Glowacki| Pawel Glowacki |09:37:54

I’m just back from Kolding in Denmark where I had a pleasure to show RAD Studio XE2 and FireMonkey to the fully packed room of Danish developers. Only two weeks ago I have been showing RAD Studio XE2 in Copenhagen and now it was the second R...

Delphi XE2 community articles, blog posts, and other information

David I| Sip from the Firehose |03:45:39

The Delphi developer community is sharing their expertise about Delphi XE2, FireMonkey, and multi-platform development. ?The following are a few recent posts with tips, setup information, and programming advice.Setting up Delphi XE2 and your Mac t...