 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Jungle Boy Guest
|
Posted: Wed Jun 07, 2006 7:41 pm Post subject: __property question |
|
|
The __property syntax in BCB goes something like this:
class ...
{
private:
<type[*]> FName;
__published:
__property <type[*]> Name = {read=FName[, write=SetName[, default=constant|nodefault[,
stored=boolean]]]};
};
where:
[...] means optional
type is either a defined type such as 'int' or a structure or class
constant is an optional number
boolean is true or false
The question is, what does the 'stored' thing do ?
I've dropped a TChart onto a form and I'm getting 'Identifier expected' when compiling.
The error is in TeEngine.hpp class TChartSeries section __published:
Here's the line it fails on.
__property TCustomAxisPanel* ParentChart = {read=FParent, write=SetParentChart, stored=false};
When I comment out the /*,stored=false*/ the error goes away.
The compiler used is BCB4 with updates 1 and 2 applied.
TIA Jungle Boy |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|