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 5 1462 Is this a Bug?
No
"codymanix" <do************ *********@gmx.d e> wrote in message
news:u#******** ******@TK2MSFTN GP12.phx.gbl... 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
Hi codymanix,
AFAIK single line edit box (combobox uses such a control)selects the text
upon receiving the focus.
B\rgds
100
"codymanix" <do************ *********@gmx.d e> wrote in message
news:u%******** ********@TK2MSF TNGP12.phx.gbl. .. 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
> 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
> > 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
Hi codymanix,
I couldn't reproduce the problem. If you want to you can post an example
demontrating it.
B\rgds
100
"codymanix" <do************ *********@gmx.d e> wrote in message
news:uw******** ******@TK2MSFTN GP09.phx.gbl... 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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: bob scola |
last post by:
I have a csharp, VS 2003 solution for a winform application
The application uses an object called a "matter" and the class is
defined in matter.cs.
I can load matter objects into a combobox
Matter matters= v.Matters;
comboBox1.Items.AddRange(matters);
|
by: codymanix |
last post by:
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
|
by: John B |
last post by:
Hello
I want to create a set of controls that have some common methods and
properties. I was thinking that I should subclass the UserControl class and
add these common features there and then base all my custom controls on this
new MyUserControl Class. Is this the way to go?
The MyUserControl would not actually have any UI component and should be
abstract I think. Does this mena that I should not create the control by
just selecting...
|
by: Don |
last post by:
My user control has a combobox with an arraylist attached to it along with custom add and remove methods.
The "Add" method is working great. However I don't understand why the "Remove" method isn't working. It neither removes the item from the arraylist nor from the combobox like it's supposed to do.
A couple of notes: cbx is the name of the combobox within my usercontrol, file is the name of the arraylist within my usercontrol. To try...
|
by: Michael Maes |
last post by:
Hi,
I have a UserControl containing some controls of which one is a ComboBox.
All the InternalControls are Private and some are allowed to be accessed through Public Methods.
One of the things I would like to do (of course) is set the DataBindings.
Something clearly is wrong with the approach I use, because I can't set the Properties in the Designer, the DataSource-Property appears like 'ReadOnly', there is no "dropdown" with the list from...
| |
by: ChrisK |
last post by:
Hi,
I'm beginner with VB.net and i have a trouble... At work, they decided
to program with tabcontrol...and i'mm in charge of this !
There is my problem.
I've a form with one tabcontrol (TBC1 ). This TBC1 contents n TabPages
( TBP1,2,3,..,n)
For each TBPn i 've got an specific usercontrol which have controls
and code ( data access, ... ).
|
by: Martin |
last post by:
Hi everyone !
For those who haven't read my previous post, I have a problem with a
UserControl. When I try to display it on a form, controls seem to
appear one after one. In the following example, it's less visible
because controls don't execute any code... Is someone has an idea of
how I could solve this problem and also improve the method
ShowUserControl. I try to figure out I could flicker effect when I
press the button twice quickly.
|
by: Simon Tamman |
last post by:
I've come across an interesting bug.
I have workarounds but i'd like to know the root of the problem. I've
stripped it down into a short file and hope someone might have an idea about
what's going on.
It's a simple program that loads a control onto a form and binds "Foo"
against a combobox ("SelectedItem") for it's "Bar" property and a
datetimepicker ("Value") for it's "DateTime" property. The
DateTimePicker.Visible value is set to...
|
by: =?Utf-8?B?RyBIdXN0aXM=?= |
last post by:
This is the 2nd time posting so sorry for duplications.
I am using VB.NT 2005 & a standard Combobox.
I've been wracking my brain over this problem for a over a month & cannot
seem to find a way to trap the pressing of a Tab Key when the focus is in a
Combobox. The KeyDown or KeyUp event for a combobox will not fire when the
tab key is pressed. The Keyup event will fire when the Tab key is used to tab
into the combo, however I want to trap...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |