Silverfrost Forums

Welcome to our forums

Using + to execute two callbacks

15 Jan 2020 10:53 #24873

I had seen this in the documentation and puzzled why one would need this. I now have a use for it. In fact, I could use more, but that's asking for a lot!!

It worked well. I attach two callbacks to a control, and used %ud as well. Experimentation shows that the USER_DATA is passed to **both **callback routines. This gives me a great flexibility.

Finding small differences in the way 8.60 issues messages (new ones popped up), but no problems at all.

Good job, Silverfrost!

20 Jan 2020 4:49 #24900

It was hard to find. Look at the end of the 'Standard call-back functions'. I had run across it in another context at some point and found it interesting. If you look at %aw, you'll see it used.

Please login to reply.