|
-
Feb 22nd, 2004, 11:23 PM
#1
Thread Starter
Lively Member
determining the type of control
halu,
i'm a new to this thing.... i have a problem dealing with the determination of the control. this is about clearing.... i have a pseudo code below...
- foreach(control c in groupbox.controls)
- if c is textbox, c.text=string.empty
thanx very much...
--ayan
-
Feb 23rd, 2004, 02:42 AM
#2
Sleep mode
Example ,
PHP Code:
foreach (Control c in this.Controls)
{
if (c is TextBox)
{
c.Text="";
}
}
-
Feb 23rd, 2004, 03:20 AM
#3
Thread Starter
Lively Member
thanx Pirate... you are the man...
-
Feb 23rd, 2004, 05:10 AM
#4
Remarkable: 
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
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
|