On 11/27/2014 02:36 PM, T Lee Davidson wrote:
> Wow. That is a very good explanation. Thank you, Tobi!
>
> I did understand that "a form is by default its own event observer". But
> I guess I did not fully understand exactly what that meant.
>
> (And, yes, I have seen code like, "Public Sub Form_Open()", and always
> wondered why it did not say "Form1_Open()".)
>
> I thought, when I first asked, that it would be a simple answer. (I
> apologize to you, Stephen, for unintentionally hi-jacking your thread. I
> did think you were done with it.)
>
> Okay, so:
> 1. Should that warning actually say, "Unless ~Class~ is a
> [Form](/comp/gb.qt4/form), if you forget to specify the ~Name~ part,
> your object will never raise events!"
>
> 2. And, should this explanation be put on the Wiki somewhere? If so, where?

Nevermind the second question in #2. Apparently I can't create pages.


-- 
Lee
__________

"Artificial Intelligence is no match for natural stupidity."

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to