论坛


2011年10月7日 星期五

Delphi XE2 之 FireMonkey 入门(38) - 控件基础: TPopupMenu、TMenuItem、TMenuBar、TMainMenu

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

相关控件: TMenuBar、TPopupMenu、TMainMenu; 它们都是要包含 TMenuItem; 在设计时添加 TMenuItem 很容易.其中的 TMainMenu 暂不能应用其他样式; TMenuBar 只有一个值得注意 UseOSMenu 属性.控件 PopupMenu 属性用于指定右键菜单.暂时无法直接为窗体指定右键菜单, 因...

2011年10月6日 星期四

在 Delphi 中实现 multi-delegate

zzzl| 博客园-zzzl |23:39:00

不知从什么时候开始,如果在文章标题中只提及一个技术术语,一般就默认表示它是用在.net中的技术了。所以我不得不在标题上加一个 Delphi 字样。先为用 Delphi 的朋友简单介绍下 delegate,如果你用过 c# 什么的,就可以跳过这部分了。delegate 就象个封装了函数指针?..

Delphi XE2 之 FireMonkey 入门(37) - 控件基础: TControl 概览

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

{ TControl }public constructor Create(...); override; // destructor Destroy; override; // procedure AddObject(...); override; //添加对象 procedure RemoveObject(...); override; //移除对象 procedure SetNewScene(...); virtual; ...

FierMonkey Architecture

Felix Colibri| Felix Colibri’s Delphi Blog |18:51:01

FireMonkey Architecture : the basic tComponent <- tFmxObject<- Fmx.tControl <- tStyledControl hierarchy. Firemonkey UML Classdiagram, and short feature description (click the image to enlarge it)

FireMonkey Architecture

Felix Colibri| Felix Colibri’s Delphi Blog |18:51:01

FireMonkey Architecture : the basic tComponent <- tFmxObject <-Fmx.tControl <- tStyledControl hierarchy. Firemonkey UML Class diagram,and short feature description (click the image to enlarge it)

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

万一| 万一的 Delphi 博客 |13:01:00

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

FireMonkey Q&amp;A

Embarcadero| EDN Delphi Feed |10:49:47

Steve Jobs

Bob Swart| Dr.Bob’s Delphi Notes |07:52:40

Steve Jobs died at age 56.

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&#8217;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&#8217;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...

« 上一页

下一页 »