473,441 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,441 software developers and data experts.

How to make a combobox as dropdownlist that stay white?

11
I need to make a combobox as dropdownlist that stays white.
the combobox becomes gray or silver when i change it as dropdownlist.
My question is:

How to keep the combobox as dropdownlist in the same color "WHITE"
if i have to change the drawmode then please codes to add items then.
tks for your help.

My Combobox as dropdownlist should be like this picture:
Attached Images
File Type: jpg Combobox.jpg (4.0 KB, 418 views)
Jan 27 '11 #1
3 2294
Guido Geurs
767 Expert 512MB
It don't happens on my VB6.
Is it possible to attach Your code in bytes ?
Jan 29 '11 #2
Big P
11
Public Class Form1

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.ComboBox1.DropDownStyle = ComboBoxStyle.DropDownList
Me.ComboBox1.Items.Add("Video 1")
Me.ComboBox1.Items.Add("Video 2")
Me.ComboBox1.Items.Add("Video 3")
End Sub
End Class
Jan 30 '11 #3
Guido Geurs
767 Expert 512MB
Is this VB6 ?
Jan 30 '11 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: JingleBEV | last post by:
Hi all, I want to make a form stay floating on top of all other forms, due to its importance. How can I achieve this? Thanks. Jing.
1
by: George Raetz | last post by:
Greetings, I open the "Northwind" sample data base in Access 2003. In the "Orders" form there is a "CustomerID" combobox labeled "Bill To". I scroll thru the list in the combobox and make a...
1
by: cashdeskmac | last post by:
I have a combobox which contains the different departments at my work place. However, if the user types another name into the combobox, it is accepted. I wish to allow only the names already...
2
by: gozitash | last post by:
I want a window always stay on top of others, how I do it?
1
by: Dustin II. | last post by:
Hello, I need to make a small web form stay on top of ALL other windows. I use this web form for data entry. Is there an easy way to do it with a java or vb script? Or can I use hwnd with an api...
2
by: Terry Olsen | last post by:
I want to have a series of DropDownLists appear. On PageLoad, the first list is created. When I make a choice, a 2nd list is created, data loaded depending on the choice from the first list, and...
4
by: Robin Tucker | last post by:
How can I make my form stay on top of all the other forms in my application? I don't want the form to stay on top in Windows as a whole, just be on top of all the other forms in the given...
2
by: Shrini76 | last post by:
Hi, I want to override certain behaviors of the combo box. So, I created a base class derived from ComboBox. What I want to achieve is to make the combobox drop up (that means when user tried to...
3
by: beemomo | last post by:
I have two tables - 'Client' and 'Company', and two forms, 'Client' and 'Company', the relationship between two table is 1:many where a company can have one or more client but each of the client...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
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,...
0
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...
0
jinu1996
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...
1
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...
0
tracyyun
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...
0
agi2029
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,...
0
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...
0
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...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.