Recent

Author Topic: Duplicate controls  (Read 3889 times)

Shift2

  • Newbie
  • Posts: 2
Duplicate controls
« on: August 19, 2010, 12:09:48 am »
Hi, I'm having trouble trying to work out how to make a duplicate of a set of controls on a form.
I would like to design a panel with child controls in design time on a form, then during runtime create a copy of that panel and children into another form. I had managed this in delphi in the past but just can't find a hook into performing this in lazarus (linux version). Anyone got any pointers on how or where I should look?

Many thanks

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Duplicate controls
« Reply #1 on: August 19, 2010, 05:30:19 am »
Use Frames ;)

Shift2

  • Newbie
  • Posts: 2
Re: Duplicate controls
« Reply #2 on: August 19, 2010, 10:52:32 pm »
Excellent! Thank you, just what I need... Amazing that I've not tried those before, always something new to learn :)

 

TinyPortal © 2005-2018