All,
I need to catch the ID of the page that has just been closed. But I
only catch the ID of the container flatnotebook the when using
event.getID ().
Does anyone have an idea ?
All,
I need to catch the ID of the page that has just been closed. But I
only catch the ID of the container flatnotebook the when using
event.getID ().
Does anyone have an idea ?
Hi,
All,
I need to catch the ID of the page that has just been closed. But I
only catch the ID of the container flatnotebook the when using
event.getID ().
Does anyone have an idea ?
I would do something like this:
index = event.GetSelection()
page = self.GetPage(index)
id = page.GetId()
But I believe you need to do it in the EVT_FLATNOTEBOOK_PAGE_CLOSING
and not in the EVT_FLATNOTEBOOK_PAGE_CLOSED as at that point the page
may already be destroyed.
Andrea.
"Imagination Is The Only Weapon In The War Against Reality."
http://xoomer.alice.it/infinity77/
On 26 April 2012 10:56, Hartman wrote: