Results 1 to 3 of 3

Thread: [Lazarus]: Form2 with variable buttons

  1. #1
    Join Date
    Aug 2011
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default [Lazarus]: Form2 with variable buttons

    i used to use simba to make some programs, but since i want to make an .exe of it i have gotten to lazarus to make a program.

    i would lazarus to make a starting form with a button. Onclick it should close/hide form1, create form2 and have x buttons depending on a variable.

    can someone help me?

  2. #2
    Join Date
    May 2012
    Location
    Moscow, Russia
    Posts
    661
    Mentioned
    35 Post(s)
    Quoted
    102 Post(s)

    Default

    Quote Originally Posted by StevenV View Post
    i used to use simba to make some programs, but since i want to make an .exe of it i have gotten to lazarus to make a program.

    i would lazarus to make a starting form with a button. Onclick it should close/hide form1, create form2 and have x buttons depending on a variable.

    can someone help me?
    Here.
    Per aspera ad Astra!
    ----------------------------------------
    Slow and steady wins the race.

  3. #3
    Join Date
    Aug 2011
    Posts
    69
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    Thx it's solved,

    i had seen the link you've given me, but it was a bit of a different problem, i could open the 2nd form but i wasn't able to alter it's apperance. I've solved it by creating a procedure in unit 2 to create itself and then call the procedure onclick.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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