PC Review


Reply
Thread Tools Rate Thread

Binding Controls to Controls

 
 
MeltingPoint
Guest
Posts: n/a
 
      29th Mar 2005
Quick question:
Can you bind the Value of a TrackBar to the Text of a Label?
MSDN didn't reveal anything in the hour or so I spent looking
 
Reply With Quote
 
 
 
 
Cor Ligthert
Guest
Posts: n/a
 
      29th Mar 2005
Melting Point,


Me.TextBox1.DataBindings.Add("Text", Me.TrackBar1, "Value")

I hope this helps,

Cor


 
Reply With Quote
 
MeltingPoint
Guest
Posts: n/a
 
      29th Mar 2005
"Cor Ligthert" <(E-Mail Removed)> wrote in news:ezSY79DNFHA.3928
@TK2MSFTNGP09.phx.gbl:

> Melting Point,
>
>
> Me.TextBox1.DataBindings.Add("Text", Me.TrackBar1, "Value")
>
> I hope this helps,
>
> Cor
>
>
>


Thanks Cor, you wouldn't believe me if I told you how long I spent looking
through MSDN for that!!!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Controls.Count, Controls.IsSynchronized, and Controls.SyncRoot Nathan Sokalski Microsoft ASP .NET 4 5th Sep 2007 04:27 AM
simple binding of controls to object properties - refresh controls =?Utf-8?B?UnVhIEhhc3phcmQgTW9ycmlz?= Microsoft Dot NET Framework Forms 7 20th Oct 2004 12:45 AM
Message box breaks owner draw controls in .NET controls used as ActiveX controls (again) Clive Dixon Microsoft Dot NET Framework Forms 0 26th May 2004 10:15 AM
Controls Binding P. Marcello Genuini Microsoft C# .NET 1 11th Nov 2003 12:12 PM
binding unbound controls rob warning Microsoft Access Forms 1 3rd Sep 2003 12:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:51 AM.