xojo:objectnotifier:start

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
xojo:objectnotifier:start [2021/04/06 09:22]
mz
xojo:objectnotifier:start [2021/04/06 09:27] (aktuell)
mz [Object notification]
Zeile 41: Zeile 41:
 <WRAP round important 100%> <WRAP round important 100%>
 Be careful with //removing// if you have multiple subscriptions from the same object (perhaps with different //info//).\\ Be careful with //removing// if you have multiple subscriptions from the same object (perhaps with different //info//).\\
-  xy.addObjectNotificationReceiver(me, 1) +<code> 
-  xy.addObjectNotificationReceiver(me, 2)+xy.addObjectNotificationReceiver(me, 1) 
 +xy.addObjectNotificationReceiver(me, 2) 
 +</code>
 Because //removeObjectNotificationReceiver// obtains no //info// parameter, it cancels only the first object found in the array, thus acting as //fifo//.\\ Because //removeObjectNotificationReceiver// obtains no //info// parameter, it cancels only the first object found in the array, thus acting as //fifo//.\\
 It's therefore not possible to delete only the second entry (with //info// 2). It's therefore not possible to delete only the second entry (with //info// 2).
  • xojo/objectnotifier/start.1617693767.txt.gz
  • Zuletzt geändert: 2021/04/06 09:22
  • von mz