简体   繁体   English

在Delphi 2007中哪里可以找到字符串常量srStandard?

[英]Where to find string constant srStandard in Delphi 2007?

RegisterComponents规范并未指出可以在哪个单元中找到常量srStandard (工具选项板中的“Standard”类别的名称)。

First, you need to make your design-time package "require" designide. 首先,您需要使您的设计时包“指定”。 Then you can use unit DsnConst, which contains the srStandard string constant. 然后你可以使用单位DsnConst,它包含srStandard字符串常量。 It doesn't exist as a stand-alone dcu, rather it is in the designide package. 它并不作为独立的dcu存在,而是存在于designide包中。 It is only intended to be used from design-time packages. 它仅用于设计时包。 It cannot be used from run-time packages because designide is not redistributable. 它不能在运行时包中使用,因为designide不是可再发行的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM