Hi,

Amibroker uses "Document-View" architecture which I understand that there can 
be multiple views of same data and any change in data gets synchronized 
automatically across all views displaying the data.

Going through Amibroker OLE documentation,
Document/Documents  - refers to a document
Window/Windows - refers to a particular view

It's still confusing for me the difference between document & view

    my $documents = $amibroker->Documents;
    my $actDocument = $amibroker->ActiveDocument;
    print "Documents Count: " . $documents->Count . "\n";
    my $actWindow = $actDocument->ActiveWindow;
    my $windows = $actDocument->Windows;
    print "Windows Count: " . $windows->Count;  

I am getting always the windows count as 1. 
It looks to me that only one view/window is associated with all the documents 
opened. 
Can some one please clarify how to have multiple windows/views open for a 
particular document.

Thanks in advance,
Naga Kiran







Reply via email to