[RESOLVED] Help me..!
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: [RESOLVED] Help me..!

  1. #1
    Join Date
    Feb 2012
    Posts
    9

    [RESOLVED] Help me..!

    Hey There!!

    Well, im relatively new to the programming world. I wasnt really interested in learning programming since my desired field was going to be networking. However, 2 months ago i "fell in love" with programming . I have decided to dig out all my previous knowledge (I have taken Visual, C# and Delphi) courses. I just learned the basics since i didnt focus in getting too deep into it. But now i have decided to focus on C# (Since its sintax is similar to C++ and Java to some extend) so im mainly putting must effort into it.

    Now, i have a project in mind that i want to develop. I know how to set the database, main menu and program must buttons. However, i want to do something special. I want to see if its possible to add an X amount of textboxes based on a number written on a textbox. Here is an example.

    "Lets say i want to write 15 different sums that are stored in checks. Since i want 15, i would then write 15 into the textbox, and hit a button so that it generates me 15 new textbox. I think that maybe its possible using the "FOR" sentence, but i dont know how to make it work.

    I hope you guys get what i mean, and can give me a answer as soon as possible

    Any help its greatly appreciated!

  2. #2
    Join Date
    Feb 2012
    Posts
    9

    Re: Help me..!

    Nevermind, i figured how to do it. I was using an array of string instead of an array of textboxes. NVM.

  3. #3
    DataMiser is offline Super Moderator Power Poster
    Join Date
    Jul 2008
    Location
    WV
    Posts
    4,825

    Re: Help me..!

    If your problem has been solved then you should mark your thread resolved using the thread tools at the top of the page.
    Always use [code][/code] tags when posting code.

  4. #4
    Join Date
    Feb 2012
    Posts
    9

    Re: [RESOLVED] Help me..!

    Well, i've marked this as resolved but i want to ask something else. I have gotten it to store the textboxes on a container (doesnt look at stetic as i would like to, but im sure i could fix that with some tweeking) but my question now is.. How can i make it store 20 textboxes in one container, and 20 others in a different container and so on depending on the number i enter?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center