 |
|
 |
I need to detect when the selection is complete and the user has made is choice since I need to update another textbox. Unfortunately the standard events are not triggered propertly (in particular when I press some keys and the select the item in the list with the mouse).
Is there a way to fix that?
Thanks.
|
|
|
|
 |
|
|
 |
|
 |
HOw can i make this control dropdown for my own customised list of Strings?
|
|
|
|
 |
|
 |
I can't capture the return key big time any solutions
|
|
|
|
 |
|
 |
Thank you for posting it. I combined it with the owner drawn capabilities (http://www.codeproject.com/cs/combobox/ownerdrawncombobox.asp?df=100&forumid=3191&select=647781&msg=647781) to place the InternetDocument icons.
|
|
|
|
 |
|
 |
This would be a great class if you could extend it to a now combo box( drop down). Any plan to do this?
|
|
|
|
 |
|
 |
I've found that with this and other DropDown ComboBoxes, I'm unable to select the text with the mouse. I am able to do so with the keyboard. Has anyone else run into this and is there a workaround?
Thanks,
Cheng
|
|
|
|
 |
|
 |
This is a known bug with version 1.0 of the .NET framework. As of right now there isn't a known work around but 1.1 is in beta and it contains a fix for it.
James
"And we are all men; apart from the females." - Colin Davies
|
|
|
|
 |
|
 |
Does anyone have any sugestions for replacing the unmanaged API calls in this code?
Is having these in here bad?
|
|
|
|
 |
|
 |
Pretty much all of System.Windows.Forms uses unmanaged code, so I wouldn't worry about it.
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
 |
|
 |
Nothing seems to happen at all when I hit the GO button.
Everything compiles clean but no browsing...
I am runnign Windows 2000 with IE 6
|
|
|
|
 |
|
 |
The Go button's click event isn't hooked up.
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
_axWebBrowser.Navigate2(_urlComboBox.Text)
End Sub
|
|
|
|
 |
|
 |
This is really usefull but is there anyway to extend this IE Autocomplete function to cover DataView's and DataSources ?
My hunch is that the IE stuff uses the Item list which is not used when the DataSource property is set. What do you think is the best way of going about this ? Or does it have to be done the Painful way eg provide AutoComplete properties such as DataSource, add the Items from the DataSource and mplement Index etc .
At least I might also get wrid of that annoying habbit that ComboBoxes have of puuting the first item in a DataSet in the box.
Ben
|
|
|
|
 |
|
 |
Why can I catch Enter from a textbox, but not a combobox? Is this a beta 2 thing? This code works for a Textbox. BTW: I'm trying this first with a normal combobox.
private void ActivateMeFromKey(object sender, KeyEventArgs e)
{
if (e.KeyCode == Keys.Enter) this.Activate(EventArgs.Empty);
}
|
|
|
|
 |
|
 |
Because the combo box trap the messages like ON_CBN_EDITCHANGE or ON_CBN_EDITUPDATE and not when you press a Key, for that you need to trap the message for the combobox, using PeekMessage and when you get the message ON_WM_KEYDOWN you can test if this is the Enter Key or another...
It's only my idea...;)
Regards...
Carlos Antollini.
Sonork ID 100.10529 cantollini
"There is an old saying that if a million monkeys typed on a million keyboards for a million years, eventually all the works of Shakespeare would be produced. Now, thanks to Usenet, we know this is not true."
|
|
|
|
 |
|
 |
In the keydown event of the combobox, use KeyValue instead of KeyCode
The example below works for me.;)
*********************************************************************
Private Sub cmbAccountCodes_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles cmbAccountCodes.KeyDown
If e.KeyValue = Keys.Enter Then
InsertUpdateAccountCode()
Else
CurField = sender.name
End If
End Sub
|
|
|
|
 |