Actions
Bug #106
closedView restored twice on Open
Start date:
02/23/2016
Due date:
% Done:
0%
Estimated time:
Forum topic:
Description
The Restore procedure of a view is called twice when a view is first opened. Experiments showed that for simple views (no scrollbars) this is not required. Until a final solution is available it is proposed that a flag (HostWindows.creatingDoc) is introduced that allows a simple view to skip the first Restore.
Updated by I. Denisov about 9 years ago
- Target version changed from 1.7 to 1.7.1
Updated by I. Denisov over 8 years ago
- Status changed from New to Dormant
- Target version deleted (
1.7.1)
Updated by R. Campbell almost 8 years ago
- Status changed from Dormant to In Progress
- Target version set to 1.7.1
- Forum topic set to https://forum.blackboxframework.org/viewtopic.php?f=40&t=237
Updated by R. Campbell almost 8 years ago
- Status changed from In Progress to Closed
Updated by J. Templ almost 8 years ago
- Description updated (diff)
Testprogram
MODULE ToolsTestView; IMPORT Views, Log; TYPE View = POINTER TO RECORD (Views.View) END; PROCEDURE (v: View) Restore (f: Views.Frame; l, t, r, b: INTEGER); BEGIN Log.Int(l); Log.Int(r); Log.Int(t); Log.Int(b); Log.Ln; END Restore; PROCEDURE Start*; VAR v: View; BEGIN NEW(v); Views.OpenView(v); END Start; END ToolsTestView. ^Q ToolsTestView.Start
Log window:
0 5912792 0 5880100 0 5912792 0 5880100
Actions