Click here to Skip to main content
15,920,613 members
Home / Discussions / C#
   

C#

 
GeneralMoving a form Pin
22-Jun-02 1:05
suss22-Jun-02 1:05 
GeneralRe: Moving a form Pin
Nish Nishant22-Jun-02 1:11
sitebuilderNish Nishant22-Jun-02 1:11 
GeneralRe: Moving a form Pin
22-Jun-02 10:10
suss22-Jun-02 10:10 
GeneralRe: Moving a form Pin
Mazdak22-Jun-02 3:44
Mazdak22-Jun-02 3:44 
GeneralAutoComplete -- DropDowns Pin
mvermef21-Jun-02 13:55
mvermef21-Jun-02 13:55 
GeneralRe: AutoComplete -- DropDowns Pin
Chris Rickard21-Jun-02 14:29
Chris Rickard21-Jun-02 14:29 
GeneralRe: AutoComplete -- DropDowns Pin
Nish Nishant21-Jun-02 15:08
sitebuilderNish Nishant21-Jun-02 15:08 
GeneralRe: AutoComplete -- DropDowns Pin
leppie21-Jun-02 22:36
leppie21-Jun-02 22:36 
Here's some quick code: (similar to previous reply)
private void comboBox_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
{
// Auto Complete routine for combobox
int where = comboBox.FindString(comboBox.Text);
int start = comboBox.Text.Length;
if ((where >= 0) && (e.KeyChar >= 32))
{
comboBox.Text = ((string) comboBox.Items[where]);
comboBox.Select(start, comboBox.Text.Length);
}
}


Nice, quick.Smile | :)

PS: How the hell do i get code nicely displayed like some other posts i have seen?
GeneralRe: AutoComplete -- DropDowns Pin
Nish Nishant21-Jun-02 23:13
sitebuilderNish Nishant21-Jun-02 23:13 
GeneralWebService Architecture Pin
Steve Severance21-Jun-02 8:45
Steve Severance21-Jun-02 8:45 
GeneralRe: WebService Architecture Pin
SimonS22-Jun-02 0:42
SimonS22-Jun-02 0:42 
GeneralRe: WebService Architecture Pin
Steve Severance22-Jun-02 6:56
Steve Severance22-Jun-02 6:56 
GeneralRe: WebService Architecture Pin
SimonS25-Jun-02 2:26
SimonS25-Jun-02 2:26 
GeneralExecuting Batch Files from .NET Pin
Aisha21-Jun-02 7:10
Aisha21-Jun-02 7:10 
GeneralWriting a MIME Email Attachment to a Binary File Pin
Paul Watson21-Jun-02 7:03
sitebuilderPaul Watson21-Jun-02 7:03 
GeneralRe: Writing a MIME Email Attachment to a Binary File Pin
Christopher Lord21-Jun-02 13:42
Christopher Lord21-Jun-02 13:42 
GeneralRe: Writing a MIME Email Attachment to a Binary File Pin
Paul Watson22-Jun-02 2:35
sitebuilderPaul Watson22-Jun-02 2:35 
GeneralRe: Writing a MIME Email Attachment to a Binary File Pin
Nish Nishant21-Jun-02 18:20
sitebuilderNish Nishant21-Jun-02 18:20 
QuestionASPNET local user = acceptable performance??? Pin
rchildress21-Jun-02 2:58
rchildress21-Jun-02 2:58 
AnswerRe: ASPNET local user = acceptable performance??? Pin
Andy Smith21-Jun-02 12:16
Andy Smith21-Jun-02 12:16 
Generalmore efficient to get right directory's fullname Pin
ygxdha21-Jun-02 1:33
ygxdha21-Jun-02 1:33 
GeneralRe: more efficient to get right directory's fullname Pin
Chris Rickard21-Jun-02 4:16
Chris Rickard21-Jun-02 4:16 
QuestionDirectX and C# ? Pin
20-Jun-02 22:40
suss20-Jun-02 22:40 
AnswerRe: DirectX and C# ? Pin
21-Jun-02 6:10
suss21-Jun-02 6:10 
GeneralRe: DirectX and C# ? Pin
Not Active21-Jun-02 6:23
mentorNot Active21-Jun-02 6:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.