Bug #79

bug fixes in StdTabViews

Added by W. Luo about 7 years ago. Updated almost 7 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Forum topic:


View.SetIndex needs to call 'Neutralize' in order to prevent locking some controls (in particular list boxes) in the nested form view. Reported by luowy, 2015-10-28.

View.Neutralize needs to test the embedded view for NIL.
Refers to oberoncore B19.

TrapCleaner.Cleanup needs to set to NIL before calling t.v.Reset in order to prevent calling PopTrapCleaner and thereby emptying the trap stack.
Refers to oberoncore B20.

Associated revisions

Revision 212b9807 (diff)
Added by J. Templ almost 7 years ago

bug fixes. Refs: #79.
- Neutralize is called in SetItem because this avoids to lock up some controls in the nested
forms, in particular list boxes were locked up when switching to the containing tab.
- Parameter label in SetItem changed to IN.
- Restore made more robust by checks for v # NIL, label # "", and frame = NIL.
- TrapCleaner.Cleanup sets to NIL in order to avoid emptying the cleanup stack in Reset.
- HandlePropMsg made more robust by checks for v # NIL and label # ""
- HandlePropMsg checks for negative h in Properties.SizePref that result e.g. when using a
TextViews.View as a tab.
- Neutralize made more robust by checking v # NIL and called only once, i.e. when scriptLevel = 0.
- Some controls in property dialog slightly enlarged in order to avoid clipping.
Most changes have been proposed by luowy.

Signed-off-by: Josef Templ <>

Revision c99f91ca
Added by I. Denisov almost 7 years ago

Merge pull request #91 from BlackBoxCenter/issue-#79

bug fixes. Refs: #79.


#1 Updated by W. Luo about 7 years ago

the bug at StdTabViews.Frame.SetIndex

PROCEDURE (f: Frame) SetIndex* (i: INTEGER), NEW;
VAR from: INTEGER; tv: View;
tv := f.view(View); from := tv.index;
tv.Neutralize();(* add the line *)
CallNotifier(tv, from, i)
END SetIndex;

#2 Updated by I. Denisov almost 7 years ago

  • Subject changed from the selection of StdTabViews.View' item to bug fixes in StdTabViews
  • Status changed from New to In Progress
  • Target version set to 1.7
  • % Done changed from 0 to 50

During the discussion we decided to unite several fixes in StdTabViews in one issue

#3 Updated by J. Templ almost 7 years ago

  • Description updated (diff)

#4 Updated by I. Denisov almost 7 years ago

  • Status changed from In Progress to Closed
  • % Done changed from 50 to 100

Also available in: Atom PDF