|
|
(7 intermediate revisions by 5 users not shown) |
Line 1: |
Line 1: |
− | == Syntax Diagram ==
| + | #REDIRECT [[Custom Attributes]] |
− | | |
− | PropertyDeclaration ::= PROPERTY Identifier [PropertyInterface] [PropertySpecifiers] [Directives]<br>
| |
− | PropertySpecifiers ::= [ ... ]
| |
− | [ ... ]
| |
− | [ATTRIBUTES AttributesArray]<br>
| |
− | AttributesArray ::= '[' (AttributeDeclaration [, AttributeDeclaration]) ']'<br>
| |
− | AttributeDeclaration ::= ''''<string>':'<string>''''<br>
| |
− | | |
− | == Declaration Examples ==
| |
− | | |
− | <delphi>
| |
− | TmenuItem = class(...)
| |
− | ...
| |
− | property Detachable: Boolean read FDetachable write SetDetachable attributes
| |
− | ['widgetsets:qt,gtk,win32', 'implementor:Vasya Pupkin', 'creation-date:01.01.2007'];
| |
− | ...
| |
− | end;
| |
− | </delphi>
| |
− | | |
− | <delphi>
| |
− | TxxxDatabase = class(...)
| |
− | ...
| |
− | property TransactionModel: TTransactionModel read FtransactionModel write
| |
− | SetTransactionModel attributes ['engines:firebird,oracle,sybase-asa'];
| |
− | ...
| |
− | end;
| |
− | </delphi>
| |