Property attributes
From Lazarus wiki
Revision as of 10:26, 20 October 2007 by Paul Ishenin (talk | contribs) (New page: == Syntax Diagram == PropertyDeclaration ::= PROPERTY Identifier [PropertyInterface] [PropertySpecifiers] [Directives]<br> PropertySpecifiers ::= [ ... ]<br> ...)
Syntax Diagram
PropertyDeclaration ::= PROPERTY Identifier [PropertyInterface] [PropertySpecifiers] [Directives]
PropertySpecifiers ::= [ ... ]
[ ... ]
[ATTRIBUTES AttributesArray]
AttributesArray ::= '[' (AttributeDeclaration [, AttributeDeclaration]) ']'
AttributeDeclaration ::= '<string>':'<string>'
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>