• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1497
  • Last Modified:

Why can I not find the InvokeRequired and SetTextCallback Options

I am using:
Microsoft Visual Studio 2008
Version 9.0.30729.1 SP
Microsoft .NET Framework
Version 3.5 SP1

Installed Edition: Professional

I do not seem to have InvokeRequired and SetTextCallback as options.  I have included a couple of screenshots and demonstrate what I get when I try to find the InvokeRequired and SetTextCallback options. I've also included a list of the Systems statements.

Can somebody tell me what I'm missing here.

Thanks,
George




No-InvokeRequired-Option.png
No-SetTextCallback-Option.png
Systems-Statements.png
0
Gsmith0159
Asked:
Gsmith0159
1 Solution
 
HainKurtSr. System AnalystCommented:
0
 
Meir RivkinFull stack Software EngineerCommented:
SetTextCallback is a delegate that u need to create in order to enable asynchronous calls for setting
 the text property on a control.
check example here http://msdn.microsoft.com/en-us/library/ms171728(VS.80).aspx
   

InvokeRequired is a property of Control class, so if Snap_shot_Device_response_chart doesn't inherit from Control u won't find it.
0
 
Gsmith0159Author Commented:
Points awarded to sedqwick because of completeness and clarity of answer.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now