Click here to Skip to main content
15,889,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: embedding a trackbar (windows application) to internet explorer Pin
Christian Graus12-Mar-09 16:28
protectorChristian Graus12-Mar-09 16:28 
QuestionAdd data in gridview from multiple tables and combobox [modified] Pin
haroon198012-Mar-09 14:06
haroon198012-Mar-09 14:06 
AnswerRe: Add data in gridview from multiple tables and combobox Pin
haroon198012-Mar-09 22:52
haroon198012-Mar-09 22:52 
QuestionAdd combox in gridview - Getting OledbException Pin
haroon198012-Mar-09 13:19
haroon198012-Mar-09 13:19 
AnswerRe: Add combox in gridview - Getting OledbException Pin
haroon198012-Mar-09 14:02
haroon198012-Mar-09 14:02 
QuestionIs it possible to receive key input into two controls simultaneously? Pin
Yellow_Yackets12-Mar-09 11:26
Yellow_Yackets12-Mar-09 11:26 
AnswerRe: Is it possible to receive key input into two controls simultaneously? Pin
Nagy Vilmos12-Mar-09 11:52
professionalNagy Vilmos12-Mar-09 11:52 
GeneralRe: Is it possible to receive key input into two controls simultaneously? Pin
Yellow_Yackets12-Mar-09 11:57
Yellow_Yackets12-Mar-09 11:57 
Sorry men., But I tried that but it doesn't work.

when I tried this:
public Form1()
        {
            InitializeComponent();
        }

        private void tectbox_keypress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == (char)Keys.Return)
            {
                string enter = "<enter>";
                richTextBox1.Text += enter;
                richTextBox1.SelectionStart = richTextBox1.Text.Length - enter.Length;
                e.Handled = true;
            }
            else
            {
                listBox1.Text += e.KeyChar;
            }
        }

        private void listbox_keypress(object sender, KeyPressEventArgs e)
        {

        }</enter>


The caret of the text-box still goes to the next line and the items of the list-box aren't selected while I type in the text-box... Is there something that i'm missing???
GeneralRe: Is it possible to receive key input into two controls simultaneously? Pin
Nagy Vilmos12-Mar-09 12:09
professionalNagy Vilmos12-Mar-09 12:09 
GeneralRe: Is it possible to receive key input into two controls simultaneously? Pin
Yellow_Yackets12-Mar-09 15:22
Yellow_Yackets12-Mar-09 15:22 
GeneralRe: Is it possible to receive key input into two controls simultaneously? Pin
Yellow_Yackets12-Mar-09 15:40
Yellow_Yackets12-Mar-09 15:40 
GeneralRe: Is it possible to receive key input into two controls simultaneously? Pin
Nagy Vilmos12-Mar-09 23:09
professionalNagy Vilmos12-Mar-09 23:09 
GeneralRe: Is it possible to receive key input into two controls simultaneously? Pin
Yellow_Yackets13-Mar-09 7:10
Yellow_Yackets13-Mar-09 7:10 
QuestionSplitting video into frames Pin
Payam Rastogi12-Mar-09 10:25
Payam Rastogi12-Mar-09 10:25 
AnswerRe: Splitting video into frames Pin
Ravadre12-Mar-09 11:37
Ravadre12-Mar-09 11:37 
Questionjoin pieces in an image Pin
Umangj12-Mar-09 9:54
Umangj12-Mar-09 9:54 
AnswerRe: join pieces in an image Pin
Nagy Vilmos12-Mar-09 10:00
professionalNagy Vilmos12-Mar-09 10:00 
GeneralRe: join pieces in an image Pin
Umangj12-Mar-09 10:07
Umangj12-Mar-09 10:07 
GeneralRe: join pieces in an image Pin
Nagy Vilmos12-Mar-09 11:00
professionalNagy Vilmos12-Mar-09 11:00 
AnswerRe: join pieces in an image Pin
Christian Graus12-Mar-09 10:23
protectorChristian Graus12-Mar-09 10:23 
GeneralRe: join pieces in an image Pin
Umangj12-Mar-09 10:31
Umangj12-Mar-09 10:31 
AnswerRe: join pieces in an image Pin
fred_12-Mar-09 10:31
fred_12-Mar-09 10:31 
GeneralRe: join pieces in an image Pin
Umangj12-Mar-09 10:35
Umangj12-Mar-09 10:35 
GeneralRe: join pieces in an image Pin
fred_12-Mar-09 10:36
fred_12-Mar-09 10:36 
AnswerRe: join pieces in an image Pin
Luc Pattyn12-Mar-09 10:46
sitebuilderLuc Pattyn12-Mar-09 10:46 

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.