This site hosted by Free.ProHosting.com
Google

C++ Support For VCL

Applies To: C++Builder 1 or higher
Category: C++ Language

In order to support the VCL, the following keyword extensions have been implemented in C++Builder:
 
__classid
 
__classid(classname)
 
Generates a pointer to the vtable for the specified class name.
 
__closure
 
<type> ( __closure * <id> ) (<param list>);
 
Declares a special type of pointer to a member function.
 
__property
 
<property declaration> ::=
  __property <type> <id> [ <prop dim list> ] = "{" <prop attrib list> "}"
  <prop dim list> ::= "[" <type> [ <id> ] "]" [ <prop dim list> ]
  <prop attrib list> ::= <prop attrib> [ , <prop attrib list> ]
  <prop attrib> ::=     read = <data/function id>
  <prop attrib> ::=     write = <data/function id>
  <prop attrib> ::=     stored = <data/function id>
  <prop attrib> ::=     stored = <boolean constant>
  <prop attrib> ::=     default = <constant>

  <prop attrib> ::=     nodefault
  <prop attrib> ::=     index = <const int expression>
 
Declares a property in a class declaration.
 
__published
 
__published: <declarations>
 
Specifies that properties are displayed in the Object Inspector.

C++Builder Developer's Network
Copyright © Yoto Yotov