Bob,
I want to cause a click event to occur on a Button control when the user
presses enter when the focus is on another control. In VB6, I would just
call the event procedure directly from the other control. However, in
VB.net, that doesn't seem to work. Can someone give me any idea of how to
do this?
\\\
me.button_clickEvent(sender, nothing)
or for some who find that nicer if possible because that the same
eventargument is used
me.button_clickEvent(sender,e)
///
(This needeless text above because I normally get a message from Herfried
about this)
I use normally
\\\
me.button_clickEvent(nothing,nothing)
///
if I don't need the sender or the eventargument.
I don't use perform.click because that only works if the button is visible
and for that I don't want to check my program everytime by a change.
I hope this helps,
Cor