The Mother Board
referencing command button event visual studio 2005

 
Post new topic   Reply to topic    The Mother Board Forum Index -> Programming
View previous topic :: View next topic  
Author Message
Michaeljay2
Pilgrim
Pilgrim


Joined: 08 Jan 2006
Posts: 15

PostPosted: Thu Oct 02, 2008 9:30 am    Post subject: referencing command button event visual studio 2005 Reply with quote

I used to do some programming in visual basic 6 and decided to try the visual studio and ran into something I can't figgure out. I used to be able to directly reference the click event on a command button eg "if but1.click = true then" but that dosen't work in vs. It seems to mention something about a delagate but I can't find anything in the help files relating to this. I have gotton things to work by using a radio button's check event but that doesn't seem right and I thought I'd ask the question here.
Back to top
View user's profile Send private message
sjjoseph
Pilgrim
Pilgrim


Joined: 09 Jan 2010
Posts: 3

PostPosted: Sat Jan 09, 2010 5:47 am    Post subject: Reply with quote

Hi Michaeljay2,
As you said you are new to visual studio.
What code you have written is but1.click=true it means the button is only visible and you can write some code in its click event for click the button.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    The Mother Board Forum Index -> Programming All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group