Stan wrote:
> Sort of. If the calendar is a (normal) subwindow, the automatic
> navigation leads off the end of the calendar back onto the main
> window. At least I think it does.
It shouldn't.
If you can verify that, tell us the window manager/platform
and fltk version.
> It's not clear to me where the new MyCalendar would get deleted
> in that scenario.
If you want to delete it, you can.
It just means when you create the calendar each time, you have
to set the callback() each time to create it.
hide()ing it is easier, though.
That way you don't have to detect conditions where the user
eg. hits the same calendar button twice, and saves the trouble
of create/delete cycles.
If you want several, make one for each calendar button
on app initialization. That way they're all there, so when
you need them, just show() or hide() them as needed.
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk