Bug with ComboBox in usercontrol

C

codymanix

My problem is: I have comboboxes which resides in a usercontrol.

Always when the usercontrol changes its visible status (the dialog is shown
or you switch to the tabpage where the usercontrol is), all text is selected
in the textfield of the combobox.

Is this a Bug? If yes, is there a workaround?
 
1

100

Hi codymanix,
AFAIK single line edit box (combobox uses such a control)selects the text
upon receiving the focus.

B\rgds
100
 
C

codymanix

AFAIK single line edit box (combobox uses such a control)selects the text
upon receiving the focus.

The problem is, in that usercontrol there are many comboboxes and they are
*all* marked as selected (text has blue selected background). And none of
them has the focus, neither has the usercontrol. The real focus has another,
unrelated control in the window.

I can only unselect the text of the comboboxes when I click in them and then
click out. But when I switch to another tabpage and switch back they are
selected again.

I *would* call that a Bug!
 
C

codymanix

Is this a Bug?


Why not? Is is supposed to be that if I open the dialog, *all* comboboxes in
the usercontrols has their text selected, and even if I unselect the text,
when I switch the tabpage back and forth, they are selected again!
 
1

100

Hi codymanix,
I couldn't reproduce the problem. If you want to you can post an example
demontrating it.

B\rgds
100


codymanix said:
AFAIK single line edit box (combobox uses such a control)selects the text
upon receiving the focus.

The problem is, in that usercontrol there are many comboboxes and they are
*all* marked as selected (text has blue selected background). And none of
them has the focus, neither has the usercontrol. The real focus has another,
unrelated control in the window.

I can only unselect the text of the comboboxes when I click in them and then
click out. But when I switch to another tabpage and switch back they are
selected again.

I *would* call that a Bug!

--
cody

[Freeware, Games and Humor]
www.deutronium.de.vu || www.deutronium.tk
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top