Hi, I have a combobox named "combo7", I have 3 problems to resolve.
First, I need the user to be able to add items to the combobox from the userform.
Second, I need the combobox to autocomplete when the user writes something similar.
Third, I need the user to be able to select multiple items from the combobox.
Fourth, I need it to be syncronized to other comboboxes, so that they all contain always the same information, even if someone add a new item.
I know it' a lot of work so Thanks a Lot!!!!!!!!!!!
4 2363
these are pretty simple task.
kindly post the code that you are working on .
As you can see i have comboboxes that have the same information. I realized that its better if i use database so im going to read about it. After that i think im going to need help again.(If you can reccommend me some links i'll be thankful)
For now i only have 1 question:
Instead of using those comboboxes with numbers you see at the end, maybe its better if i use the calendar control 11.0 option. Here what i need:
- I need the calendar to pop up from the userform (after clicking a button, entering a textbox or something)
- Then choose the month, the year
- Finally after choosing the day i need the calendar to automatically close leaving the date in the textbox
I need it to pop up because its too big and it occupates too much space.
THANKS AGAIN
CODE (JUST IN CASE): Frinavale 9,735
Recognized Expert Moderator Expert
Felipebucaram,
In the future please only post the code that you think might be the cause of the problem.
Thanks,
-Frinny
what terrible code is that.
can't you simply run a loop to add the items you have hard coded ?
and no one here have time to go through such lengthy code. post something meaningful not all the garbage you have.
Sign in to post your reply or Sign up for a free account.
Similar topics |
by: Wayne Wengert |
last post by:
I am trying to populate a combobox with a lisy of items. I want the 1st item
to be "Make a Selection" and the following items will be names from a table
in my DB (See code below).
When I run the project, the combox box initially displays an empty
selection. When I click on the drop down arrow I see the "Make a Selection"
followed by the other choices.
How can I move everything up so that the "Make a Selection" is the default
value in...
|
by: stingrays |
last post by:
Below is my code for a combobox. Basically, I have 2 comboboxes. 1
box is the application selection and the other retrieves data from the
dataset (SQL Server) to populate the drop down in the otehr box. I
want to make a selection in the app combobox, update the second box
and when I select a new app, it should remove all items in teh 2nd
combobox and refresh the list with only the selected app. With this
code it appears the binding is...
|
by: tupolev |
last post by:
Hi,
I already post this item but now I know whats wrong: I want to allow the
user to edit the items in a combobox. The problem is that the textchange
event works just one time (for the first changed letter) because he reset
the selectedindex of the combobox to -1. In debug mode I can't see where he
does this. How can I solve this?
My code sofar:
contactlijst is a structure and the volgnummer is the index of the item in
the combobox
|
by: Wally |
last post by:
I need to browse all ITEMS of a ListBox and all ITEMS of a ComboBox.
I wrote 2 distinct Sub that are almost identical. The difference is only the
object type. How could I browsing ITEMS using only one Sub with object as
parameter?
Here, my two Subs. Thanks
Private Sub AnalyzeListBox()
|
by: Don |
last post by:
Is there any way to detect when an item has been added to the Items
collection of a combobox or listbox? I am inheriting a Combobox and want to
validate items before they are added to the combobox, but I can't find
anything that will let me do that.
- Don
| |
by: HKSHK |
last post by:
Hi guys,
I'm currently trying to implement the VB6-ItemsData property into a
CombolBox and it works so far, but there is one problem...
I can only inherit one class to another class, which is either
a) System.Windows.Forms.ComboBox or
b) System.Windows.Forms.ComboBox.ObjectCollection.
If I add (a) I can't override Items.Add.
|
by: Gian Paolo |
last post by:
hi all
i'm looking for a way to add 2 items in a combobox in the same line and
hide one.
i'm working on the code above but it returns me only the last value i
entered and i do not know why....
*********** CLASS
using System;
using System.Collections.Generic;
|
by: samoore33 |
last post by:
I am populating a ComboBox at run time. I insert the first value of
"Choose Value"
cboTaxValue.Item.Insert(0, "Choose Value")
Then I loop through the rest of the values to be added to the combobox.
My problem is that when I try to clear the ComboBox it clears the items
that were inserted into the ComboBox, but does not clear the item I
selected in the ComboBox... For Instance.
|
by: JAnn81 |
last post by:
I have a combo box created using xaml. I bind the item source to a xml document.
<Items>
<Item>
<Name>David</Name>
<Age>20</Age>
</Item>
<Item>
<Name>Marcus</Name>
<Age>25</Age>
|
by: Kevinp |
last post by:
I've spent the last four hours Google searching for a way to disable
items in a Combobox. I found one example in C++ which I can't get to
work and another in C# that I couldn't get to work either.
Does anyone have some good code for an owner-drawn combobox?
|
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: 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: 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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
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...
| |