Marc,
You are going to like this. =)
Assuming that your trackbar is named mobjTrackBar and your textbox is
named mobjTextBox, use this one line to hook it all up:
// Bind the value member of the trackbar to the textbox.
mobjTextBox.DataBindings.Add("Text", mobjTrackBar, "Value");
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"margoulin" <marc@margoulin_a_virer_.net> wrote in message
news:3f***********************@news.free.fr...
Hi,
how can I easily link a Trackbar to a TextEdit control in order to see the
trackbar value in it ?
thanks.
-Marc