PC Review


Reply
Thread Tools Rate Thread

Class Update Form Control... Is it possible?

 
 
Roger
Guest
Posts: n/a
 
      27th Oct 2004
I have some code that spawns off a thread which is a function inside another
class.

I want the function to update a control on the form, but can't seem to
figure out how to get to the forms control.

Any suggestions....

dim node as TreeNode
node = TreeView1.Nodes.Add(sFolder)

This will not work. Form name is Form1.

Thanks,

Rog


 
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
Update UI controls in Form class from another class Curious Microsoft Dot NET 2 24th Dec 2007 08:28 PM
Update Web User Control From App_Code Class Jared Microsoft ASP .NET 1 26th Apr 2007 08:46 PM
putting custom control on a form that inherits from my form class, doesn't work Capital O Microsoft Dot NET Compact Framework 2 4th Jan 2006 05:36 PM
NEWBIE Q - accessing a form control from outside of the form class garyspam@gmail.com Microsoft C# .NET 1 22nd May 2005 05:36 PM
Creating a Windows.Form.Control class for runtime form generation Sinisa Microsoft C# .NET 0 13th Dec 2003 01:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:21 AM.