Results 1 to 5 of 5

Thread: Create controls at runtime

  1. #1

    Thread Starter
    Addicted Member Smie's Avatar
    Join Date
    Jun 1999
    Location
    Columbus, OH
    Posts
    249

    Create controls at runtime

    Alright, I am just playing around here, I have a form, with a button that creates controls at runtime, everything runs smoothly, but when I am done, the controls load right, They just do not show up until I go to click them, how might I fix this? How would I update/redraw the form? Extreme java newbie here, thanks.
    "There are two ways to write error-free programs. Only the third one works."

    "Real programmers don't comment their code. If it was hard to write, it should be hard to understand."

  2. #2
    Dazed Member
    Join Date
    Oct 1999
    Location
    Ridgefield Park, NJ
    Posts
    3,418
    Your problem is easy to fix but you would be better off posting the code. Just put the code in [code] [forwardslash code]

  3. #3
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    What he meant to say is
    [code]
    // code here
    [/code]

    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

  4. #4

  5. #5
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    I always use this code to make the sequence:
    [[b][/b]code][/code]
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width