Hi Octave,

>Any idea about how to solve that ?
Yes, check the example that demonstrate that.

There is two examples about MenuItem in the Examples / Exemples folder: one 
implements a Recent Items, the other Open Windows.

The examples are free.

Cheers,

Emile

-- Original message:
Subject: Building a menu listing open documents
From: Octave Julien <[EMAIL PROTECTED]>
Date: Sat, 27 Jan 2007 18:42:46 +0100

Hi,

I'd like to have a menu listing the open documents in my app, but I'm 
not sure how to do that.
I think I understand how to use a control array so that individual menu 
items are created on the fly when I create or open a new document. I 
guess I should use the code of the original, hidden menu item to change 
the active document, so that all new menu items can do the same when 
selected by the user. But how to identify which document to activate ? 
As far as I know, menu items have no properties. So I can't attach a 
reference to a particular document to it. And the menu item's title is 
not enough, as soon as several documents have the same name.
Any idea about how to solve that ?



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to