|
-
Jul 28th, 2009, 10:37 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Control.Validated
Is there anyway to check if a Control has been validated yet?
I have some code that I want to run when the Selected of a TabControl fires off.
The thing is, that I have TabPages added to the TabControl at the beginning of runtime, which then triggers the Selected event before the control is completely existent, which means the Sub I have that also happens to reference the control during that event errors out because there is technically not an instance of the control completely finished building so it says I don't have a correct reference set to that object.
So basically, I want to be able to check in the Sub if the control has been Validated, or maybe even created or whatever is going on.
Visual Studio 2010 Professional | .NET Framework 4.0 | Windows 7
SERYSOFT.COM :: SysPad - Folder Management Program - Please comment HERE if you find this program useful, have ideas, or know of any bugs.
[Very useful for IT/DP departments where many folders are consistently accessed. Also contains a scratchpad window for quick access to notes.]
[.NET and MySQL Quick Guide]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|