On Wednesday, October 13, 2010 01:08:57 pm Jim Byrnes wrote: > Switching between tabs/pages on the same pageframe doesn't seem to fire > an onLostFocus event, should it? If I click outside the pageframe the > page will fire the event at that time. > > On a maybe related note, in the ClassDesigner Object Info tree view, the > dPage control seems to be the only one that does not show Edit Code in > the popup menu when you right click on it. If you go to the Code Editor > manually dPage is in the Object dropdown and its methods are in the > Methods dropdown. > > Regards, Jim
Ways to figure out what events are available: 1. check out the source 2. check out what wx is providing 3. use dShell open dShell 1. import dabo.dEvents as dEvents # create an instance of the object in question 2. pgf = dabo.ui.dPageFrame(self) 3. pgf.bindEvent(dEvents. The last line will display the events that are available after you type the period. If memory serves I used the activate to determine that a tab change occurred. Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/[email protected]
