|
-
May 11th, 2002, 11:19 PM
#1
Thread Starter
Junior Member
text boxes
I need to make a text box not visible
txtBox.visible= false
doeesnt seem to be working what make s it dissapear
txtBox is my var name
-
May 11th, 2002, 11:20 PM
#2
The picture isn't missing
txtBox should be your control name not variable name
unless you are create controls using Controls.Add
Remember, if someone's post was not helpful, you can always rate their post negatively  .
-
May 11th, 2002, 11:20 PM
#3
Text boxes are not variables.
Click on the box on the form and check the name, by default, they are called something like Text1
If it is, the following would make it not visible:
Text1.Visible = False
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
May 11th, 2002, 11:21 PM
#4
This works:
VB Code:
Option Explicit
Private Sub Form_Load()
Text1.Visible = False
End Sub
Is txtBox a TextBox Object, or just a Variable??
-
May 11th, 2002, 11:24 PM
#5
Thread Starter
Junior Member
thanks
it was object name sorry
the form load did the trick
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
|