PC Review


Reply
Thread Tools Rate Thread

Bug with ComboBox in usercontrol

 
 
codymanix
Guest
Posts: n/a
 
      11th Dec 2003
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?

--
cody

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


 
Reply With Quote
 
 
 
 
NoOne
Guest
Posts: n/a
 
      11th Dec 2003

> Is this a Bug?

No

"codymanix" <(E-Mail Removed)> wrote in message
news:u#(E-Mail Removed)...
> 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?
>
> --
> cody
>
> [Freeware, Games and Humor]
> www.deutronium.de.vu || www.deutronium.tk
>
>



 
Reply With Quote
 
100
Guest
Posts: n/a
 
      11th Dec 2003
Hi codymanix,
AFAIK single line edit box (combobox uses such a control)selects the text
upon receiving the focus.

B\rgds
100

"codymanix" <(E-Mail Removed)> wrote in message
news:u%(E-Mail Removed)...
> 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?
>
> --
> cody
>
> [Freeware, Games and Humor]
> www.deutronium.de.vu || www.deutronium.tk
>
>



 
Reply With Quote
 
codymanix
Guest
Posts: n/a
 
      11th Dec 2003
> 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


 
Reply With Quote
 
codymanix
Guest
Posts: n/a
 
      11th Dec 2003
> > Is this a Bug?
> No



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!

--
cody

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


 
Reply With Quote
 
100
Guest
Posts: n/a
 
      12th Dec 2003
Hi codymanix,
I couldn't reproduce the problem. If you want to you can post an example
demontrating it.

B\rgds
100


"codymanix" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> > 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
UserControl with a ComboBox Jochen Berger Microsoft C# .NET 1 3rd Mar 2006 03:32 PM
Usercontrol and combobox wrambel Microsoft VB .NET 4 1st Aug 2005 12:14 PM
RE: Bug with ComboBox in usercontrol M. Grove Microsoft Dot NET 1 21st May 2004 11:08 PM
Bug with ComboBox in usercontrol codymanix Microsoft Dot NET Framework Forms 7 6th May 2004 05:56 PM
Bug with ComboBox in usercontrol codymanix Microsoft C# .NET 5 12th Dec 2003 03:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:45 PM.