wahorger

Joined: 13 Oct 2014 Posts: 1257 Location: Morrison, CO, USA
|
Posted: Wed Jan 15, 2020 11:53 pm Post subject: Using + to execute two callbacks |
|
|
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! |
|
wahorger

Joined: 13 Oct 2014 Posts: 1257 Location: Morrison, CO, USA
|
Posted: Mon Jan 20, 2020 5:49 am Post subject: |
|
|
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. |
|