hi,

i wonder how to stop an observer from raising events? my code 
demonstrative code looks like this:

(gambas2)

PRIVATE hObs AS Observer

PUBLIC SUB ObserveSubject(hSubject AS TextBox)
   IF hObs THEN
     ReleaseSubject()
   ENDIF
   hObs = NEW Observer(hSubject)
END

PUBLIC SUB ReleaseSubject()
   ???
END

i think, i'm missing something very basic here...

regards,
tobi

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to