Recent

Author Topic: Copy and paste items on form  (Read 4399 times)

Lazarick

  • Newbie
  • Posts: 4
Copy and paste items on form
« on: March 23, 2010, 09:02:06 am »
Hello,
I did a search on the forum regarding this topic if I overlookt something I appologize.
I made a form with a panel, a label and a memofield.
I want the same combination twice on this form, so I copy and paste them.
Memo1 becomes Memo2 etc. but when I doubleclick on the copied Items to create the code, the program
jumps to the codeblock of the source items instead of creating a new procedureblock for the new items.
Am I doing something wrong or is this just not possible ?

Rick
« Last Edit: March 23, 2010, 09:06:41 am by Lazarick »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10451
  • Debugger - SynEdit - and more
    • wiki
Re: Copy and paste items on form
« Reply #1 on: March 23, 2010, 11:46:31 am »
in the object inspector, go to the event tab of the copied object.

It copied the references to the existing event (the one belonging to the source).

delete the reference. Once the field is empty, double click and you get a new event

Lazarick

  • Newbie
  • Posts: 4
Re: Copy and paste items on form
« Reply #2 on: March 23, 2010, 09:24:52 pm »
Problem solved !

Thanks for your reply Martin

 

TinyPortal © 2005-2018