Thread: dynamic window form

  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    183

    dynamic window form

    Hello,

    I am supposed to write a program in which the user should enter the number of categories available and their features value and then ....

    I want the form to be somehow dynamic and changeable based on the entered number for the category. But I have no idea if it’s possible and if yes how should I do that.

    I want to get the number of the categories in a textbox and then a table appears in the form in which the columns stand for the categories and rows are the features. And the user enters the value directly in the table.

    Is it possible?
    If yes would you kindly guide me how to do so?
    Is there a better way to get the input data for this program?

    Thanks a lot
    Arian

    PS
    Here is an example of the table while there are just 3 categories and each one has 2 features.
    ------ cat 1 cat 2 cat 3
    val 1 25 35 45
    val 2 3 4 5

    PPS
    The number of categories can be changed but the number of features is always 2.

  2. #2
    Registered User
    Join Date
    Mar 2009
    Location
    england
    Posts
    209
    Sounds like a DataGridView is what you need.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Show dynamic text in windows form
    By Danne in forum Windows Programming
    Replies: 13
    Last Post: 01-11-2011, 12:01 PM
  2. dynamic form
    By sangfroid in forum C# Programming
    Replies: 5
    Last Post: 07-29-2008, 11:46 AM
  3. Dynamic window contents
    By @nthony in forum Windows Programming
    Replies: 0
    Last Post: 01-21-2007, 04:44 PM
  4. long form of year to short form?
    By bc120 in forum C Programming
    Replies: 2
    Last Post: 12-31-2001, 05:34 PM
  5. Create a Form Like Window in C
    By jayash in forum C Programming
    Replies: 2
    Last Post: 08-28-2001, 01:45 PM