Is it possible to make the text box portion of a ComboBox (in DropDown
style) behave like a TextBox?
By that I mean can it allow the user to select a portion of text by
hilighting it with the mouse cursor and replacing the hilighted
portion?
Thanks. 12 6799
Yes, you can do this by default
"AnAnimal" <An******@somew here.net> wrote in message
news:3s******** *************** *********@4ax.c om... Is it possible to make the text box portion of a ComboBox (in DropDown style) behave like a TextBox?
By that I mean can it allow the user to select a portion of text by hilighting it with the mouse cursor and replacing the hilighted portion?
Thanks.
Hello,
"AnAnimal" <An******@somew here.net> schrieb: I can position the cursor with the mouse and then use Shift+LeftArrow or Shift+RightArro w to select the text but cannot select it by clicking the left mouse button and moving the cursor?
That's a bug in the ComboBox control.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET http://www.mvps.org/dotnet
Is there a fix or a work around?
On Wed, 17 Sep 2003 23:39:40 +0200, "Herfried K. Wagner [MVP]"
<hi*******@m.ac tivevb.de> wrote: Hello,
"AnAnimal" <An******@somew here.net> schrieb: I can position the cursor with the mouse and then use Shift+LeftArrow or Shift+RightArro w to select the text but cannot select it by clicking the left mouse button and moving the cursor?
That's a bug in the ComboBox control.
Hello,
"AnAnimal" <An******@somew here.net> schrieb: Is there a fix or a work around?
Sorry, I don't know. Maybe it's fixed in .NET 1.1. Which version of .NET
do you use?
--
Herfried K. Wagner
MVP · VB Classic, VB.NET http://www.mvps.org/dotnet
..NET Framework 1.0 Version 1.0.3705
On Thu, 18 Sep 2003 19:37:20 +0200, "Herfried K. Wagner [MVP]"
<hi*******@m.ac tivevb.de> wrote: Hello,
"AnAnimal" <An******@somew here.net> schrieb: Is there a fix or a work around?
Sorry, I don't know. Maybe it's fixed in .NET 1.1. Which version of .NET do you use?
The selection of text in a combobox with the mouse works fine for me. I
am using VS 2003 with Net Framework 1.1
"Herfried K. Wagner [MVP]" <hi*******@m.ac tivevb.de> wrote in message
news:OB******** ******@TK2MSFTN GP09.phx.gbl... Hello,
"AnAnimal" <An******@somew here.net> schrieb: Is there a fix or a work around?
Sorry, I don't know. Maybe it's fixed in .NET 1.1. Which version of .NET do you use?
-- Herfried K. Wagner MVP · VB Classic, VB.NET http://www.mvps.org/dotnet
Hi Animal,
I don't know what bug it is in the combobox,
But I have seen advises for combobox bugs to use a listbox with a textbox
above it.
Cor
Hello,
"Cor" <no*@non.com> schrieb: I don't know what bug it is in the combobox,
If you use .NET 1.0, just add a combobox onto a form and press F5. You
won't be able to select text in the combobox's textbox by using the mouse.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET http://www.mvps.org/dotnet
That's an idea!
Any idea of where I can find the down arrow icon that is on the
standard ComboBox DropDown button?
On Thu, 18 Sep 2003 22:40:18 +0200, "Cor" <no*@non.com> wrote: Hi Animal, I don't know what bug it is in the combobox, But I have seen advises for combobox bugs to use a listbox with a textbox above it.
Cor This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: RRoberto |
last post by:
Goodmorning,
Is it possible to edit a combobox like a
textbox?
I will appreciate any suggestion .
Thank You
Roberto
|
by: Li Pang |
last post by:
I use a combobox control to populate the data. I want to
prevent to change data (freeze the data in the filed).
The only solution I have is to set Enabled property
to "False", but it gray out the field.
The question is how to change the color back to white?
Set the style property to "Dropdown List" is not an
optional. Is there is another...
|
by: jaYPee |
last post by:
i have successfully added a combobox to my datagrid by setting their
datasource from one of my table. here's my code...
Dim grdColStyle6 As New DataGridComboBoxColumn()
With grdColStyle6
.MappingName = "MajorID" 'must be from the grid
table...
.HeaderText = "Major"
.Width = 120
.ColumnComboBox.DataSource =
|
by: Lars Netzel |
last post by:
I want a datagrid cell to be a combobox (based on database records) and when
you select a value in the combobox I want to add info to cells on the same
row in the datagrid but with More info from the same record in the database
as the one selecte din the combobox, how do I do this???
I also would like to be able to enter a value in the...
|
by: MadCrazyNewbie |
last post by:
Hey group,
I keep getting the following error:
"An unhandled exception of type 'System.IndexOutOfRangeException' occurred
in system.data.dll
Additional information: There is no row at position 1."
on the following line of code:
| |
by: Jason Simard via .NET 247 |
last post by:
Hi,
Does anyone know a way to make a combobox "read-only", similar to the read-only property of a textbox?
In essence, make a combobox readonly...making the combobox text not gray out but be disabled. There is no readonly property for a combobox like there is for a text box.
Thx,
Jason
|
by: simchajoy2000 |
last post by:
Hi,
I know there are a lot of postings out there concerning this subject
already, but so far I have not discovered anything that meets my
specific needs. Everything I have found populates the combobox column
with values from a database. I need to be able to manually set these
values in my code. I have tried to make the example code I...
|
by: Bruce |
last post by:
Hi, there,
I meet a problem about comboBox binding.
--------------------
Database: Northwind
Tables: 1) Products 2) Categories
I create a form (named "form1") to edit the record from Products table.
|
by: Rich |
last post by:
Hello,
I have 3 textboxes and 1 combobox on a form. On entering the control I want
to select all the text. I can make an array of textboxes like this:
Dim arrTxt As TextBox() = {txt1, txt2, txt3}
Then I loop through that array
Private Sub onEntering(ByVal sender As Object, ...) Handles _
|
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...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
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. ...
|
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...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| |