参考书允许在界定以下特性时保留关键词:
property Fields: TIndexDefs read FFields write SetFields stored FieldsStored;
关键词的目的是什么?
参考书允许在界定以下特性时保留关键词:
property Fields: TIndexDefs read FFields write SetFields stored FieldsStored;
关键词的目的是什么?
我的Delphi7帮助档案:
The optional stored, default, and nodefault directives are called storage specifiers. They have no effect on program behavior, but control whether or not to save the values of published properties in form files.
The stored directive must be followed by True, False, the name of a Boolean field, or the name of a parameterless method that returns a Boolean value. For example,
property Name: TComponentName read FName write SetName stored False;
If a property has no stored directive, it is treated as if stored True were specified.
它对是否储存与部件有关的财产进行控制。 DFM 表格档案。
该关键词确定,财产价值是否应当以书面形式予以保存;其编号为true
。 例如,避免在<代码>.dfm文档中保存双向信息(例如,只有时间阅读其内容的图像部分)是有益的。
储存的指令具有“蓝.”价值:一种回收“蓝.”结果的方法,一种“蓝.”类实地参照法,或一种经常表达“蓝.”型。 财产登记和验收司记录实地被抵消、方法参照或固定价值,Delphi's IDE利用这一信息决定是否将财产从dfm档案中删除。
民主选举学会使用这种方法,检查外地的价值,或使用恒定的“蓝宝”价值,如果价值为“法尔”,则该财产不能保存到“dfm”档案中。 如果所储存的价值是真实的,即发生违约行为,即如果财产的价值不同于违约价值,则该财产即予储存。
倾角和三角
储存的指令常常被误解。 储存到真实状态并不迫使Delphi将财产价值储存在原始档案中。 确实是所储存指令的违约价值。 相反,你们都可以通过把财产储存到法勒来将财产从原始档案中删除。
您可在任何入口处使用所储存的物,,但仅对已公布的物料具有意义。
如果你使用一种方法名称,这种方法可以是静态的或虚拟的,但不是动态的,也不是信息手。
外地参考资料可以是外地名称、记录成员或具有不变指数的阵列元素。 外地参考资料必须具有一种诱杀型。
my delphi 2009 app has a basic translation system that uses GNUGetText. i had used some win API calls to prepare the fonts. i thought it was working correctly until recently when someone from Malta ...
Ok, I m going nuts here. For the last (almost) four years, I ve been putting up with some extremely bad behavior from my Delphi 5 IDE. Problems include: Seemingly random errors in coride50.bpl ...
i would like to know if there are any solution to do this. Does anyone? The big picture: I want to access data over the web, using my delphi thin clients. But i´would like to keep my server/service ...
In Delphi, there is a function StrToInt() that converts a string to an integer value; there is also IntToStr(), which does the reverse. These functions doesn t appear to be part of Oxygene, and I can ...
What is the equivalent of SetLength using Oxygene? I m trying to size an integer array. var listIndexes: array of integer; begin setLength(listIndexes,5); // doesn t work end;
How can I monitor or visualize memory fragmentation of a delphi application?
I have consistently had IDE problems in Delphi/C++Builder for years, with every version. I usually just reboot, recompile, etc. and move on. However, I keep seeing others say that the IDE is rock ...
I was trying to speed up a certain routine in an application, and my profiler, AQTime, identified one method in particular as a bottleneck. The method has been with us for years, and is part of a "...