It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

Help with VB

Moderator: dafunkymunky

Help with VB

Postby Caligula on Fri Apr 22, 2011 8:51 pm

HI if could help me with this problem i would be deeply thankful:

I have a button and when i click in this button i want to hide 3 other buttons,
an im able to do it with

Button1.Hide()
Button2.Hide()
Button3.Hide()
but there is a delay between each hide, and i would like them to hide at the same time if someone could help me with it.


Thanks :|
Caligula
 
Posts: 15
Joined: Fri Apr 22, 2011 8:38 pm

Re: Help with VB

Postby palme on Tue Apr 26, 2011 6:05 am

that's an ide , i have not try it yet , but ...
if you take these 3 button on a DIV tag and do jobet for that DIV instead of buttons
with DivName.Display.none or something like that.
Code: Select all
<DIV name="divbutton" id="divbutton">
  button1
  button2
  button3
<DIV>
palme
 
Posts: 37
Joined: Wed Aug 06, 2008 9:18 pm

Re: Help with VB

Postby Caligula on Wed Apr 27, 2011 7:38 pm

Thank you i already solved my problem changing the buttons color to transparent before hiding. the time gap doesn't have effect that way, but thanks anyway. :x
Caligula
 
Posts: 15
Joined: Fri Apr 22, 2011 8:38 pm

Re: Help with VB

Postby sanjon on Wed Apr 27, 2011 7:41 pm

Try this:

Button1.Visible = False
Button2.Visible = False
Button3.Visible = False

Isn't this the same as hiding the buttons?
sanjon
 
Posts: 40
Joined: Sun Dec 05, 2010 6:20 pm

Re: Help with VB

Postby Caligula on Wed Apr 27, 2011 7:57 pm

ya but as i said i solved the broblem whith
button1.backcolor=transparent
button1.Forecolor=transparent
button1.hide
this way because they are "invisible" already the time gap isn't noticible anymore.


By the way i neede help with one mor thing i'm a Mechanical Design student and i have to work with sofware such as Autodesk iventor and to make the 2d drawing
i need to change the proprieties of the file to put my name in the textboxs there , material, etc what i would like was to know if its possible to make a software that does that with VB. And an exemple of the code i could use.
Caligula
 
Posts: 15
Joined: Fri Apr 22, 2011 8:38 pm

Re: Help with VB

Postby sanjon on Thu Apr 28, 2011 2:10 pm

I would be glad to help you. Can you explain in more detail what you need to do? I have never used Autodesk before. What properties of the file do you want to change?
sanjon
 
Posts: 40
Joined: Sun Dec 05, 2010 6:20 pm

Re: Help with VB

Postby Caligula on Thu Apr 28, 2011 5:15 pm

Here is a print.
Image
i want ro know if there is possible to fill the textboxes like those ones.
Caligula
 
Posts: 15
Joined: Fri Apr 22, 2011 8:38 pm

Re: Help with VB

Postby sanjon on Thu Apr 28, 2011 8:36 pm

Sorry, I still don't quite understand your question. What do you want to add to the textboxes? The checkboxes?

-EDIT
I'm sorry... My bad. I think I understand what you mean now. You want the program to automatically fill in values into the textboxes right?
sanjon
 
Posts: 40
Joined: Sun Dec 05, 2010 6:20 pm

Re: Help with VB

Postby Caligula on Thu Apr 28, 2011 9:30 pm

Ya like status, i want to fil it with "For review" and the aplication does ti for me.
something like that.
Caligula
 
Posts: 15
Joined: Fri Apr 22, 2011 8:38 pm

Re: Help with VB

Postby sanjon on Fri Apr 29, 2011 1:12 pm

I have no idea how you could do that, sorry. One thing you could try is using the mouse to click on the textbox and make the program write something in there... The problem with this is that the textbox always has to be in the exact same position. But besides that I have no clue. I guess you would have to somehow connect your program to the other one to get control of the textboxes.
sanjon
 
Posts: 40
Joined: Sun Dec 05, 2010 6:20 pm

Next

Who is online

Users browsing this forum: No registered users and 2 guests