Hello,
Although architecture is called document-view, there are in fact THREE
levels, not two.
Document->MDI Child Frame(s)->View(s)
Window in OLE interface context is not View. Window in OLE collection
refers to so called MDI Child Frame
in which multiple views are hosted.
View is a chart *PANE*. And there can be multiple views (panes) of course.
In the past there was possibility to have more than one child frame per
document as well
(via Window->New Linked),
but since new linking method is implemented (via buttons on the chart
window) and floating windows
this possibility has been disabled because it interfered with floating
windows.
Best regards,
Tomasz Janeczko
amibroker.com
On 2009-12-09 09:04, nagkiran_k wrote:
> 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
>
>
>
>
>
>
>
>
>
> ------------------------------------
>
> **** IMPORTANT PLEASE READ ****
> This group is for the discussion between users only.
> This is *NOT* technical support channel.
>
> TO GET TECHNICAL SUPPORT send an e-mail directly to
> SUPPORT {at} amibroker.com
>
> TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
> http://www.amibroker.com/feedback/
> (submissions sent via other channels won't be considered)
>
> For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> Yahoo! Groups Links
>
>
>
>
>