|
by: jean |
last post by:
hi:
i am developing a custom combobox for my company's needs that is made
up of a textbox, listbox, button. i am using c#. everything is fine
except for one issue.
in a normal combobox, when the dropdown is visible and the user clicks
anywhere else, the dropdown gets hidden. i am trying to replicate
this behavior and have tried using the Leave and LostFocus events. i
have had marginal success when my dropdown is visible and i...
|
by: Tim Graichen |
last post by:
I may have already asked this one, but,
Is there anyway of hiding the dropdown control button on a combobox until
the field has focus?
Because the values in the combobox can be between 5 charicters long and
thirty charicters long, this poses the problem that when a five charicter
string is selected, the button looks a mile away. I have the background of
the combobox set to transparent, but the button still appears
|
by: Zlatko Matić |
last post by:
There is a form (single form) and a combobox. I want that current record of
the form is adjusted according to selected value in the combobox. Cuurrent
record should be the same as the value in the combobox.
What is the solution?
Thank you in advance.
|
by: Susan Bricker |
last post by:
Greetings.
I have a form (frmDogs) that is invisible while a subsequent form
(frmPeople) is visible. The visible form sets a value for a combobox
(cboOwner) in the hidden form, makes the invisible form visible and then
closes. When the newly visible form (frmDogs) appears the combo box
(cboOwner) is displaying the correct information (set from the previous
form). There is no indication that anything is wrong when I save the
Dog...
|
by: juli jul |
last post by:
Hello I want to add data to comboBox from a dataset and doing it this
way:
public OpenDatabase(DataSet ds_db)
{
this.comboBox1=new ComboBox();
this.comboBox1.DataSource=ds_db.Tables;
this.comboBox1.DisplayMember = "name";
InitializeComponent();
|
|
by: Norm Katz |
last post by:
When you use a bound combobox and you set its dropdown style to "dropdown"
that allows you to enter text in the edit box. But if you enter anything
other than a value in the current bound items collection, the .text property
does not update. Furthermore, you can't easily trap an event to examine the
new value if your program assigns it programmatically as opposed to someone
typing it in and tabbing away from it. That is, TextChanged does...
|
by: Richard |
last post by:
I have a form with tabpages on them. On one tabpage I have three
comboboxes all of which derive their datasource from the same table:-
TimePeriodID TimePeriod
1. Day(s)
2. Week(s)
3. Month(s)
4. Year(s)
|
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: Kevin |
last post by:
I've modified a combobox class so that it has a ReadOnly property.
When set to ReadOnly, the combobox can't be changed, but it doesn't
appear gray. I called the new class ComboLockBox and I've placed them
on a MDIChild form and they work great.
The problem is, I got a timer that looks for mouse activity and when
the mouse is idle for a set number of minutes, all MDIChild forms are
hidden and the Logon form is displayed.
When the user...
|
by: MrNobody |
last post by:
I have a ComboBox on my form, and I set it's DataSource to an ArrayList of
custom objects. Everything loads fine, all the entries I initially loaded
into the ArrayList appear in my ComboBox.
However, while my program is running and I add a new object to that
ArrayList - this ComboBox is not updating to reflect the change.
I have gone so far as to try:
clientList.Invalidate();
|
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: 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: 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: 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: 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: 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...
|