Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2435

Bandbox does not allow to distinguish onOK from onCancel

XMLWordPrintable

      When the badbox is opened I can close it by:

      • mouse click outside the bandpopup
      • pressing Enter
      • pressing Escape

      All three result in onOpen event being dispatched. I would like to be able to distinguish the sources of closing the bandbox.

      In my case in the bandpopup I have a listbox in which I allow keyboard selection. On Enter I want to pass the selection further while on Escape I want to simply close the popup and clear the selection.

      I set the priority to Critical while I see no reasonable workaround. I plan to update to latest 7.0.x version so it's enough for me to get this fixed in the latest branch.

            ChunfuChang ChunfuChang
            ulysses ulysses
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: