相关疑难解决方法(0)

如何指定从Delphi TStream读取的组件的所有者?

我正在从流中读取组件,并希望能够指定Owner属性.

  var TComponent : comp;

  stream.Seek(0, soFromBeginning);
  comp := stream.ReadComponent(nil);
Run Code Online (Sandbox Code Playgroud)

谁拥有comp,我该如何改变呢?我希望readComponent的参数是所有者,但它似乎做了一些完全不同的事情!

delphi streaming components

2
推荐指数
1
解决办法
677
查看次数

标签 统计

components ×1

delphi ×1

streaming ×1