Prototype for DocumentFrame objects
You cannot create a DocumentFrame. You can add a view to a document, it creates a DocumentFrame for you:
var mydoc;
var frame = add_view (mydoc);
You can obtain the frame which has the focus in the application this way:
var frame = current_frame;
none.
none.
ECMerge 2.1
DocumentFrame object are views on document. They contain a Coordinator object which is the key for the visual part of the differentiation process.
Property | Description |
coordinator | Coordinator object. The coordinator handles the visual part of the differentiation process, handles user interface related to merge actions... |
none.
Giving the focus to a given frame.
var my_frame;
my_frame.coordinator.current_view.focus ( );
Coordinator object.