 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Pafcio Guest
|
Posted: Sun Jan 15, 2006 4:45 am Post subject: Reference and Progressbar->Position |
|
|
Dear user of the group,
I have the following problem: I cannot create a reference to
ProgressBar->Position.
The code causing the problem looks as follows:
int& x = ProgressBar1->Max;
As a result of compilation I get the following warning:
W8028 temporary used to initialize x.
ProgressBar1->Position is supposed to be of type int,
but it somehow is not so in result I get the warning.
Some temporary wariable is created and used to initialize x.
My question is, what is the exact type of ProgressBar->Position.
I can alternatively use also pointer to ProgressBar->Position,
but &(ProgressBar->Position) doesn't work.
Any suggestions? |
|
| 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
|
|