VAST 7.0: Removing Notebook pages

VA Smalltalk is a "100% VisualAge compatible" IDE that includes the original VisualAge technology and the popular VA Assist and WidgetKit add-ons.

Moderators: Eric Clayberg, wembley, tc, Diane Engles, solveig

VAST 7.0: Removing Notebook pages

Postby jtuchel » Thu Jan 22, 2009 7:17 am

I just had a nice hunt for a bug that's probably centuries old...

I had the need to remove a notebook page from a (sic!) Portable Notebook. It was in fact not the last page but one in the middle. The effect of removeSubpartNamed:ifAbsent: was that the page and all the pages behind it were removed, although the noteboob part still had all the remaining pages in its list of components.

After searching and trying a while i found that sending #rebuildMajorTabs to the notebook's primary part helps here. Only teh page I had removed was removed.

Shouldn't this call be part of the notebook's removeSubpartNamed:ifAbsent: method?


Posts: 245
Joined: Fri Oct 05, 2007 1:05 am
Location: Ludwigsburg, Germany

Re: VAST 7.0: Removing Notebook pages

Postby Diane Engles » Fri Jan 23, 2009 9:15 am

Hello Joachim,

I have opened case #38816 for the problem you encountered with removing notebook pages.

Thanks for your report.

Instantiations Smalltalk Support
Diane Engles
Posts: 66
Joined: Mon Oct 16, 2006 2:40 pm

Return to VA Smalltalk 7.0, 7.5 & 8.0

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest