Hello adepters,
I have a weird problem that I experienced on a Windows-7 machine, I ran the same code on Windows-vista and it works.
I have a comobox with listitems, if I tab over the combobox and select the item by arrows without hitting enter the value of the comobobox doesn't get updated with the selected item. If I hit enter after selecting the item or use the mouse, the value of the combobox gets updated. On windows vista, the value gets updated whether I hit enter or not.
Did anybody experienced a similar problem?
Below is the XUI box:
<window title="Single" question"=" orient="vertical" modal="false" align="end">
    <script type="application/x-javascript" ev:event="WindowLoad">
        var dialog = Application.event.target;
        var xuiDoc = dialog.dialogView.document;
    </script>
    <textbox width="200" resize="none"><value id="nameValue"></value></textbox>
    <combobox id="typeCombo" type="dropdownlist" width="120" resize="none">
       <listitem label="string"/">
       <listitem label="date"/">
   </combobox>
    <button label="type" value"=" type="accept">
        <script type="application/x-javascript" ev:event="domactivate">
             print(xuiDoc.getElementById("typeCombo").getAttribute("value"));
             dialog.close();
         </script>
    </button>
</window>
-Samah