Public Events

Discussion in 'Basic4ppc Wishlist' started by Cableguy, Jan 4, 2009.

  1. Cableguy

    Cableguy Expert Licensed User

    This as been talked about in "Q&A" but although the can workaround it, The ability of using an event in another module that NOT the owner of the control/Object would be usefull

    Like we do for properties:


    we could use:

  2. agraham

    agraham Expert Licensed User

    Maybe I am missing something but I'm afraid that I don't understand the problem :confused:

    AddEvent("Module1.Button1", Click, "Main.Button1Click")

    Works when Button1 is on a Form belonging to module "Module1" and the event Sub "Button1Click" is defined in Module "Main".
  3. Cableguy

    Cableguy Expert Licensed User

    Its an extra line of code, and if missplace can result in app errors...

    Most of my modules DONT need a globals Sub, so I got rid of it...

    It just would be simpler to use...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice