小编Ale*_*lex的帖子

Delphi对象检查器如何灰色一些属性?

最近我发现Delphi对象检查器以灰色显示一些属性.这是一个例子:

Object Inspector灰色属性示例

我想知道它是什么意思?如何定义这些属性?我没有发现让我们说DSHostname和ProxyHost的定义有任何不同.但正如您所见,DSHostname正常显示,ProxyHost显示为灰色.

以下是相关财产的相关声明:

  /// <summary>The host to proxy requests through, or empty string to not use a proxy.</summary>
  property ProxyHost: string read FProxyHost write FProxyHost;
  /// <summary>The port on the proxy host to proxy requests through. Ignored if DSProxyHost isn't set.
  /// </summary>
  [Default(8888)]
  property ProxyPort: Integer read FProxyPort write FProxyPort default 8888;
  /// <summary>The user name for authentication with the specified proxy.</summary>
  property ProxyUsername: string read FProxyUsername write FProxyUsername;
  /// <summary>The …
Run Code Online (Sandbox Code Playgroud)

delphi

9
推荐指数
1
解决办法
476
查看次数

标签 统计

delphi ×1