|
by: Judy |
last post by:
How do I create a combobox in a custom menubar to display months like:
1 January
2 February
3 March
etc
and then assign the month number (1, 2, 3, etc) of the selected month to a
textbox on a form?
Thanks for all help!
|
by: Flack |
last post by:
Hello,
I am beginning to write a custom combobox control. Right now it doesn't do
anything special. I created a class that extends ComboBox:
public class TimeSelector : System.Windows.Forms.ComboBox
and in its constructor I call Populate:
public TimeSelector()
|
by: Andrew MacLean |
last post by:
Hello all,
I am fairly new to .NET, though highly experienced in older versions of VB. I am having a problem with a class I created, though.
I have created a class called clsListItem based upon sample code in an attempt to replicate the ItemData property in a ComboBox:
Public Class clsListItem
Private sText As String
Private iData As Integer
|
by: ross kerr |
last post by:
Hi All,
I am extending the combobox to create a control that
selects an item based on the text the user is typing into
the text area of the control.
I have an issue that occurs only when i drop down the
combo box as the users typing.
When the on leave event is fired the value in the selected
|
by: VB Newbie |
last post by:
I am creating a user control containing a combobox using VB.NET(2003)
I want to add 2 public properties "DataSource" and "Items" like the
"System.Windows.Forms.ComboBox"
here is my code, but it doesn't work. What's wrong with it?
Public Property cboDataSource() As Object
Get
Return Me.cbo.DataSource 'cbo is my combobox
End Get
|
|
by: mongphong28 |
last post by:
Hi,
I'm populating a ComboBox with objects which contain two properties -
IntegerValue and StringValue. I display StringValue in the ComboBox
form and can retrieve IntegerValue from the SelectItem.IntegerValue
property. This is all good but now I want to get a little bit more
complicated.
I want to be able to set the ComboBox's SelectedItem property by
setting IntegerValue, so for instance if I have the following items in
|
by: Richard Ryerson |
last post by:
I have a general DataGridComboBoxColumn that I built using the Example in
the .NET 2003 Combined Collection help file (that was a data time picker).
I am able to assign a data source and display / value members so the
ComboBox is data bound and that works, to a point. What generally works is
the ComboBox get's populated and the ComboBox shows itself when the
appropriate column/row is selected. When the ComboBoxColumn isn't selected
it...
|
by: Mike |
last post by:
Hey everyone...
I've got three problems with a custom DataGridView column I've built
following the "How To: Host Controls in Windows Forms DataGridView
Cells" article. The base editing control is a ComboBox which is
similar to the built-in Combo column but will hopefully be more
flexible.
First: I am using this control in multiple columns which _should_ hold
unique items. However, the items added to column A are visible in
|
by: Saww |
last post by:
Hello
lately i have been trying to make a custom combobox with a few targets.
1. to create a disabled items
2. to create a seperator item
I already managed both properties items. i also managed to draw both items as i want(disabled in gray, seperator as a line).
the problem is the user can click on the items, both the line(since it's actually a '-' item) of the seperator item, and the disabled item.
i know i should overrides the WndProc...
|
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: 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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
|
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: 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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|