error C2664 ???

Joined
Nov 13, 2008
Messages
1
Reaction score
0
hello,

I'm using microsoft visual studio c++ to create a windows form application
When I try to link the value of a trackbar to a label I get an error C2664...

This is my code:

private: System::Void trackBar1_Scroll(System::Object^ sender,System::EventArgs^ e) {
this->label1->Text = this->trackBar1->Value
}
};

can someone tell me what i'm doing wrong?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top