Главная страница | назад

Article #16893: Set types as return values

 Question and Answer Database

FAQ1893C.txt   Set types as return values
Category   :VCL
Platform    :All
Product    :C++Builder  1.x

How can I return set-types from a function?

You have to construct a TPropertyAttributes type ans add the
properties to it.

For example:

return ( TPropertyAttributes() << paDialog << paReadOnly );

7/2/98 10:32:32 AM

Last Modified: 01-SEP-99