| View previous topic :: View next topic |
| Author |
Message |
Michaeljay2 Pilgrim

Joined: 08 Jan 2006 Posts: 15
|
Posted: Thu Oct 02, 2008 9:30 am Post subject: referencing command button event visual studio 2005 |
|
|
| 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 |
|
 |
sjjoseph Pilgrim

Joined: 09 Jan 2010 Posts: 3
|
Posted: Sat Jan 09, 2010 5:47 am Post subject: |
|
|
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 |
|
 |
|