Results 1 to 2 of 2

Thread: Creating Controls in a Loop

  1. #1
    RodríguezBrown is offline Senior Member
    Join Date
    Dec 2009
    Posts
    322
    Rep Power
    3

    Default Creating Controls in a Loop

    I am working on live project using programming language JAVA. In one of my page I have to create controls in the loop. If anybody is having suggestion regarding it, then please give me solution for that. Thanks in advanced.

  2. #2
    WilsonMartin is offline Senior Member
    Join Date
    Dec 2009
    Posts
    319
    Rep Power
    3

    Default

    It is easy to use. Code given below allows you to create it, and then check it.

    Int a;
    for (a = 0 ; a == a ; I + +)
    {
    System.Windows.Forms.Button button + i = new System.Windows.Forms.Button();
    }

Similar Threads

  1. outer loop in C
    By ashley_black in forum Programming
    Replies: 1
    Last Post: 03-12-2010, 12:05 PM
  2. Java for loop example
    By WilsonMartin in forum Programming
    Replies: 1
    Last Post: 02-10-2010, 01:12 PM
  3. loop to get particular pattern
    By FosterWood in forum Programming
    Replies: 1
    Last Post: 01-30-2010, 01:39 PM
  4. Differentiate between Do-While loop and While loop
    By RussellBarnes in forum Programming
    Replies: 1
    Last Post: 01-14-2010, 06:27 PM
  5. using The Loop Function
    By jack879 in forum Everything Else
    Replies: 0
    Last Post: 11-17-2008, 12:45 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48