> The problem is, that if i call RefreshPlayerList() from my refresh_callback
> than i get an error caused by the browser_playerlist methods. The reason is
> that the "index" and "children" variable are set to ~28000 ... when i call
> the RefreshPlayerList() method from the button callback everything works.

        Not sure offhand, but I'd say try printing the value of 'this'
        within your RefreshPlayerList() method, to see if it's different
        when calling from the button callback vs. refresh_callback..
        if the values are different, that might be the reason.

        If that's not it, it would be best if you can write a short
        simple standalone 'compilable' program that demonstrates the
        problem, as it's hard to tell with a code snippet.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to