XAP
  1. XAP
  2. XAP-501

menu/@disabled=true does not disable the menu at runtime properly

    Details

      Description

      Run this XAL. Note that the disabled button is properly disabled, but the disabled menu is not.

      IE6 - menu renders disabled, but the cursor incorrectly changes to the finger on mouseOver. Nothing happens when you click on it.
      FF2 - menu is fully functional, but should be disabled

      <xal xmlns="http://openxal.org/ui/html">
      <rootPane>
      <freePane width="1024px" height="768px">
      <menuBar x="80px" y="230px">
      <menu text="File">
      <popupMenu>
      <menuItem text="Open"/>
      <menuItem text="Close"/>
      <menuItem text="Preferences">
      <popupMenu>
      <menuItem text="A preference"/>
      <menuItem text="A different preference"/>
      </popupMenu>
      </menuItem>
      </popupMenu>
      </menu>
      <menu text="Edit">
      <popupMenu>
      <menuItem text="Cut"/>
      <menuItem text="Copy"/>
      <horizontalSeparator/>
      <menuItem text="Paste"/>
      </popupMenu>
      </menu>
      <menu disabled="true" text="Format">
      <popupMenu>
      <menuItem text="Cut"/>
      <menuItem text="Copy"/>
      <menuItem text="Paste"/>
      </popupMenu>
      </menu>
      <menu text="Run">
      <popupMenu>
      <menuItem text="Open"/>
      <menuItem text="Close"/>
      <menuItem text="Preferences..."/>
      </popupMenu>
      </menu>
      </menuBar>
      <button height="25px" text="Button" width="100px" x="110px" y="140px" disabled="true"/>
      </freePane>
      </rootPane>
      </xal>

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Scott Boyd
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development