Already found a solution..  It seems that the tool-bar/menu name must be different for each sheet.  This solve the problem.
 
Tx
-----Original Message-----
From: Audy D Lutzow <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, September 28, 1999 2:45 PM
Subject: PFCSIG MDI Application problem

I have an MDI application with each window/sheet has it's own tool-bar (menu).   My application uses script to enable or disable each button on the tool-bar.  This works fine as long as I only open a single window/sheet.  But problem starts when I open multiple sheets.  If I open two sheets, for instance, when I switch between the two windows, the enable command always enable the previous sheet's toolbar button, NOT THE CURRENT sheet's. 
 
I couldn't figure out what  I did wrong.   Can somebody help?
 
The enable command is a normal command, such as:    m_all_sheet.m_data.m_savetodisk.enabled  = true,
(where m_all_sheet is the menu for the current sheet)
 
Appreciate any suggestions/idea/solution...
 
Regards,
Audy L.
 

Reply via email to