Specification of RegisterComponents
does not indicate in which unit the constant srStandard
(the name of the 'Standard' category in the tool palette) can be found.
views:
103answers:
1
+4
A:
First, you need to make your design-time package "require" designide. Then you can use unit DsnConst, which contains the srStandard string constant. It doesn't exist as a stand-alone dcu, rather it is in the designide package. It is only intended to be used from design-time packages. It cannot be used from run-time packages because designide is not redistributable.
Allen Bauer
2010-08-21 19:37:25
Thanks, I would never have figured this out on my own.
Martijn
2010-08-22 07:56:15