Apache OpenOffice (AOO) Bugzilla – Issue 125700
OOooo user dialog editor - element "listbox" - "execute act" trigers only on mouse
Last modified: 2014-10-10 15:47:19 UTC
Meow In OpenOffice Basic tool in OpenOffice 4.1.1 is one strange thing. In user dialog, window element called "listbox". If you attach function or sub to event "execute an act", then..... This attached procedure (sub) will be executed only on double click mouse on item from this list. If this listbox is trigered by pressing Enter key on selected item, nothing happend. I had to use event "key released", for this listbox, and condition keycode (I thing 1280 for Enter key), for triger this sub. I suspect, there is a bug. A verrrrry old bug. Maybe few years old bug. Ponny
Please attach a little test document that shows the described behaviour. Thank you!
What you see is probably intentional. Use instead event "Modified Status". The sub will be called by single mouse click (at button release), by Enter key, or by up/down key.
This is a possible solution. But I want: this sub is trigered only at double click or by Enter key. Like in build-in-window - like File Open for example. There you can open selected file with double click on item in the list or Enter key, when item is slelected. But not with change selected item with up/down key. Thankyou and wish you nice day.
Default command button?