Click here to Skip to main content
15,913,587 members
Home / Discussions / C#
   

C#

 
AnswerRe: Taborder for Dynamically-Created Controls Pin
J4amieC23-Sep-08 6:03
J4amieC23-Sep-08 6:03 
GeneralRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:05
danielhasdibs23-Sep-08 6:05 
AnswerRe: Taborder for Dynamically-Created Controls Pin
teejayem23-Sep-08 6:20
teejayem23-Sep-08 6:20 
GeneralRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:25
danielhasdibs23-Sep-08 6:25 
GeneralRe: Taborder for Dynamically-Created Controls Pin
teejayem23-Sep-08 6:30
teejayem23-Sep-08 6:30 
GeneralRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:35
danielhasdibs23-Sep-08 6:35 
AnswerRe: Taborder for Dynamically-Created Controls Pin
I Believe In GOD23-Sep-08 6:33
I Believe In GOD23-Sep-08 6:33 
AnswerRe: Taborder for Dynamically-Created Controls Pin
danielhasdibs23-Sep-08 6:52
danielhasdibs23-Sep-08 6:52 
Thank you! Below is how I implemented it for anyone who needs it (this is in a splitcontainer -- spc_Questions):

for (cntr = 0; cntr <; NumControls; cntr++)<br />
            {<br />
                newTextBox = new System.Windows.Forms.TextBox();<br />
<br />
                newTextBox.Size = new Size(25, newTextBox.Size.Height);<br />
<br />
                newTextBox.Location = new Point(spc_Questions.Panel1.Right - newTextBox.Size.Width - 10,<br />
                    cntr * setHeight);<br />
<br />
//  Tag needed to identify controls<br />
                newTextBox.Tag = cntr.ToString();<br />
<br />
                newTextBox.TextChanged += new EventHandler(newTextBox_TextChanged);                <br />
<br />
                newTextBox.Show();<br />
<br />
                spc_Questions.Panel1.Controls.Add(newTextBox);                <br />
<br />
            }           <br />
<br />
void newTextBox_TextChanged(object sender, EventArgs e)<br />
        {<br />
            TextBox Text = sender as TextBox;<br />
            ControlTexts[int.Parse(Text.Tag.ToString())] = Text.Text;<br />
        }


Thank you, again!
QuestionChanging Word save directory in C# Pin
Dave Aitch23-Sep-08 4:30
professionalDave Aitch23-Sep-08 4:30 
AnswerRe: Changing Word save directory in C# Pin
selcuks23-Sep-08 4:34
selcuks23-Sep-08 4:34 
GeneralRe: Changing Word save directory in C# Pin
Dave Aitch23-Sep-08 5:03
professionalDave Aitch23-Sep-08 5:03 
QuestionControls parent is null in call back procedure when control is reloaded Pin
Chazzysb23-Sep-08 4:01
Chazzysb23-Sep-08 4:01 
AnswerRe: Controls parent is null in call back procedure when control is reloaded Pin
Wendelius23-Sep-08 8:44
mentorWendelius23-Sep-08 8:44 
QuestionSorting on Datagridview removes values from Image column en removes row.height [modified] Pin
ddecoy23-Sep-08 3:37
ddecoy23-Sep-08 3:37 
AnswerRe: Sorting on Datagridview removes values from Image column en removes row.height Pin
ddecoy23-Sep-08 5:02
ddecoy23-Sep-08 5:02 
QuestionConverting C++ COM to C# Pin
LeonardLay23-Sep-08 3:32
LeonardLay23-Sep-08 3:32 
AnswerRe: Converting C++ COM to C# Pin
cpkilekofp25-Sep-08 3:00
cpkilekofp25-Sep-08 3:00 
Question64 bit WMI Pin
arkiboys23-Sep-08 3:17
arkiboys23-Sep-08 3:17 
JokeRe: 64 bit WMI Pin
Giorgi Dalakishvili23-Sep-08 3:38
mentorGiorgi Dalakishvili23-Sep-08 3:38 
GeneralRe: 64 bit WMI Pin
arkiboys23-Sep-08 4:06
arkiboys23-Sep-08 4:06 
GeneralRe: 64 bit WMI Pin
Giorgi Dalakishvili23-Sep-08 4:10
mentorGiorgi Dalakishvili23-Sep-08 4:10 
GeneralRe: 64 bit WMI Pin
arkiboys23-Sep-08 4:13
arkiboys23-Sep-08 4:13 
GeneralRe: 64 bit WMI Pin
#realJSOP23-Sep-08 23:28
professional#realJSOP23-Sep-08 23:28 
GeneralRe: 64 bit WMI Pin
cpkilekofp24-Sep-08 7:05
cpkilekofp24-Sep-08 7:05 
GeneralRe: 64 bit WMI Pin
arkiboys24-Sep-08 20:53
arkiboys24-Sep-08 20:53 

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.