Dynamically programme in C++ Builder..Help

This is a discussion on Dynamically programme in C++ Builder..Help within the C++ Programming forums, part of the General Programming Boards category; I using C++ Builder and I making a program to a bowling center. I can make the whole thing, but ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    64

    Dynamically programme in C++ Builder..Help

    I using C++ Builder and I making a program to a bowling center.
    I can make the whole thing, but I hard-code the Graphic User Interface.

    And then I can make fx 10 bowlings-allies, but If someone will use my software and have 14 bowlingsallies, what so.??

    Then I will make a setup state to my program, but I having large trouble figuring out how to programme dynamically how many bowling-allies there are, and how the time frame is going to be.

    This should update it self automatically when I enter 1 hour or 1 hour.
    And the same thing shoul happens when I enter fx 10 or 14 bowling-allies.

    Can this be done in C++ Builder, or shall I use something else
    to programme my software in..

    Please help

    Tx

    Gugge
    Last edited by Gugge; 08-05-2002 at 01:18 AM.

  2. #2
    Code Monkey Davros's Avatar
    Join Date
    Jun 2002
    Posts
    812
    >Can this be done in C++ Builder

    Yes of course. I don't know what you mean by 'hard-coded' the user interface. If you mean that you've dragged & dropped visual components at design time - then there is nothing stopping you doing this dynamically.

    You will need to create components within your code and attach them to a parent (i.e. a form) by using the Parent property of all TWinControl objects. Remember to delete the objects you create in this way.

  3. #3
    Registered User
    Join Date
    Mar 2002
    Posts
    64
    i just need to make a simple question on the Interface.
    fx How many fields do you want.??

    then I write in: 10 ....and hit a button.

    Then it should automatically make 10 memofields on the screen..

    You said this could be done....wow.. I have no idea how to do this.

    Can you help me please..

    tx for help.

    Gugge
    Last edited by Gugge; 08-02-2002 at 12:41 AM.
    !G!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Closing a programme with cin.get
    By Dontgiveup in forum C++ Programming
    Replies: 2
    Last Post: 03-14-2009, 02:35 PM
  2. How to view the programme before it disappears
    By yousuf in forum C Programming
    Replies: 2
    Last Post: 03-22-2008, 08:12 AM
  3. Replies: 3
    Last Post: 05-13-2007, 08:55 AM
  4. THE END - Borland C++ Builder, Delphi, J Builder?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-28-2006, 10:23 PM
  5. Gui Programme does'nt Compiles from DOS
    By Shadowhunt in forum C++ Programming
    Replies: 1
    Last Post: 06-06-2003, 08:05 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21