J
John Dann
Sorry I've forgotten what parameter for EventArgs to pass to a button
click-handling event handler if I simply want to call it from code, ie
Button_click(Me, ???)
(I presume that it is acceptable practice to call the click handler
directly from other code? The other option could be to place the click
handler code in a separate subroutine (ClickHandler) which could be
called both from the click handling event procedure and also from
anywhere else that it might be relevant without worrying about the
event arguments. But OTOH introducing unnecessary 'nesting' makes the
code less readable overall.)
JGD
click-handling event handler if I simply want to call it from code, ie
Button_click(Me, ???)
(I presume that it is acceptable practice to call the click handler
directly from other code? The other option could be to place the click
handler code in a separate subroutine (ClickHandler) which could be
called both from the click handling event procedure and also from
anywhere else that it might be relevant without worrying about the
event arguments. But OTOH introducing unnecessary 'nesting' makes the
code less readable overall.)
JGD