CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: D_Drmmr

Search: Search took 0.11 seconds.

  1. Re: A better way to write / read dozens of textboxes?

    Sure you can. When you add a text box to a form, VS will add some code like this.


    void InitializeComponent(void)
    {
    this->textBox1 = (gcnew System::Windows::Forms::TextBox());...
  2. Re: A better way to write / read dozens of textboxes?

    It's the same way, you store the textboxes in an array or some other container. Then set the text in a loop.
    However, in terms of user interface design, it would probably be better to use a list...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured