combobox style 12

Started by marcoheuer, May 31, 2011, 10:42:23 AM

Previous topic - Next topic

marcoheuer

hello,
I have the following problems with combobox style 12:
1. I need 3 clicks, so that the directory selection opens (the first time after opening the dialog).
2. as an example: if the drive c: is selected, i open the directory selection, mouse move over drive e: (do not click), so that drive e: looks chosen (it's not because you do not click) and then somewhere else click anywhere, close the directory selection and drive E: is displayed as selected.

can someone that reproduce?
(i use version 6.0.2.3)

in german:

hallo,
ich habe folgende probleme mit combobox style 12.
1. ich benötige 3 klicks, damit sich die verzeichniswahl öffnet (beim ersten mal nach öffnen des dialogs).
2. als bsp: wenn laufwerk c: ausgewählt ist, ich die verzeichniswahl öffne, die maus über laufwerk e: bewege (nicht anklicke), so dass laufwerk e: ausgewählt ausschaut (es aber nicht ist, da nicht angeklickt) und dann irgendwo anders hinklicke, geht die verzeichniswahl zu und laufwerk e: wird als ausgewählt angezeigt.

kann das jemand nachvollziehen?
(ich verwende version 6.0.2.3)

best regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

roy_043


Fred Tomke

Hello, marco, I've already seen your post yesterday but I needed a sample at first to test. I cannot reproduce that it would take 3 clicks to select an existing folder from the list, even if the control is not the first in the Z/Tab order list. But I detected that the Dir-method does not fill the combobox. I've attached my example.

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

marcoheuer

hello roy_043 and fred,
thanks for testing.

@fred
the problem of 3 clicks at the first open of the directory selection is also in your example (for me).
for the other problem i have add in the function c:dir_dlg_dir_cbb_dir_OnSelChanged (alert strPath).
- when i open the directory selection and click a directory then opens the alert dialog
- when i open the directory selection, mouse move over drive directory (do not click), so that the directory looks chosen (it's not because you do not click) and then somewhere else click anywhere, close the directory selection, directory is displayed as selected, but not open the alert dialog. that is my problem.

best regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

Fred Tomke

Hi, marco,

I could reproduce that the selection has changed although the event was not fired.
On my workstation (Win7 x64, Map 2012 x64) I see the following:

  • DropDown the list
  • Select something -> the alert is displaying and the dropdown collapses
  • DropDown the list again
  • move the mouse over the drives, leave the list sideward so that the latest item the mouse was over keeps highlighted (and not selected) and the list collapses
  • the previous selection is still visible in the integrated textbox.
  • When I move the mouse over the combobox the latest highlighted item suddenly appears in the integrated textbox so the seems to be selected but the OnSelect-event won't be fired.

I still cannot reproduce that it would take 3 clicks to open the drop down. Have you already tried on another workstation?

Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Fred Tomke

Hi, marco, I've updated the code and added two other events. Please have a look if there's a difference in the behavior when clicking outside the form. I think you have also to catch OnKillFocus and OnMouseMove to compare the latest selection and the current selection. It seems the OnSelChanged is not enough.

That leads me to the thought: what does the combobox do with simple texts when clicking outside the form?

Regards, Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

Fred Tomke

Forgotten to add the files:
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

marcoheuer

problem 1
i have make a few tests:

computer 1 (win xp 32bit):
acad 2007: 3 clicks
acad 2010: 3 clicks
in vm win xp 32 bit, acad 2007: 1 click

computer 2 (win 7 64 bit):
acad 2011: 1 click
in vm win xp 32 bit, acad 2007: 1 click

what the f...
(my problem)

problem 2:
OnKillFocus is not bad, but too late.
if the selection / display is changed, i need the new value immediately.

best regards
marco




Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

marcoheuer

Quotewhat does the combobox do with simple texts when clicking outside the form?

it only changed, when I was clicking from the drop down list (normal)

best regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

marcoheuer

and another thing:
with the english version of odcl i have the same behavior as fred:
Quote... When I move the mouse over the combobox the latest highlighted item suddenly appears in the integrated textbox so the seems to be selected but the OnSelect-event won't be fired.

and with the german version the same behavior as I wrote at the beginning:
Quote... and then somewhere else click anywhere, close the directory selection and drive E: is displayed as selected.

best regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

Fred Tomke

Quote from: marcoheuer on June 01, 2011, 07:01:01 AM
and another thing:
with the english version of odcl i have the same behavior as fred:
Quote... When I move the mouse over the combobox the latest highlighted item suddenly appears in the integrated textbox so the seems to be selected but the OnSelect-event won't be fired.

Hm, should I tell you that I only use the German release?

Regards,
Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

marcoheuer

QuoteHm, should I tell you that I only  use the German release?
;D or  :'(
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office

owenwengerd

I've made a few changes to fix the behavior so that it doesn't change the current combo selection until you left-click or press enter. I can't reproduce the extra click behavior, so I don't know if these changes affect that.
Owen Wengerd (Outside The Box) / ManuSoft

marcoheuer

thanks owen

best regards
marco
Marco Heuer
Dipl. Ing.
www.arc-aachen.de
Airport Office