|
Already found a solution.. It seems that
the tool-bar/menu name must be different for each sheet. This solve the
problem.
Tx
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.
|