Problem with Frames. lazarus / 31-LCL ---------------------------------------------------------------------- Edson · 2013-11-05 21:37 I'm trying to use a frame in a form, but I don't know what is wrong. I create an empty form I create a Frame (Frame1), with a Button: >File>New>Frame, and insert a Button. Then, I try to insert the frame to the form, but it doesn't appear in the "Select Frame" form. ---------------------------------------------------------------------- Dick, from the internet · 2013-11-05 21:58 Did you save your frame into your project folder (should have the unit .pas & .lfm files)? After saving the frame, did you select the select the TFrame control from the Standard Controls Tool bar, to  add to your form?  This will open the Select Frame dialog with your frame listed.  Your frame unit should also be shown in the Project Inspector dialog .   regards,       geno ---------------------------------------------------------------------- Edson · 2013-11-05 22:09 Yes, I have saved the frame and verified in disk. It creates the files: unit2.lfm and unit2.pas. I don't know what is the problem. This is my screen: ---------------------------------------------------------------------- Martin_fr · 2013-11-05 22:56 It appears to be broken in 1.0.12 I tested with the 1.2 branch (1.2RC1 will be avail soon) and it works (if the frame is saved) ---------------------------------------------------------------------- macmike · 2013-11-05 23:20 You can work around this by making sure the pointer is selected (not the frame "component") closing your form and then reopening your form. ---------------------------------------------------------------------- Edson · 2013-11-05 23:29 QuoteIt appears to be broken in 1.0.12 It could be. I remenber to have done this with the 1.0.8 or 1.0.10, and it worked (not as good as I expected, but worked). QuoteYou can work around this by making sure the pointer is selected (not the frame "component") closing your form and then reopening your form. Yes, this trick works.  I hope the next version will work OK with frames. Thanks. ---------------------------------------------------------------------- Bart · 2013-11-06 16:40 Quote from: Edson on November 06, 2013, 12:29:25 amYes, this trick works.  I hope the next version will work OK with frames. Then please, pretty please, do test this with the 1.2RC1 (once it is available) and report back in the bugtracker if it does not work. Bart ---------------------------------------------------------------------- Edson · 2013-11-06 17:22 OK, I will do. I'm interested in having this feature OK. But, where can I download the 1.2RC1 (once it is available)? Here? http://www.lazarus.freepascal.org/index.php?page=downloads ---------------------------------------------------------------------- Bart · 2013-11-06 19:54 It'll be announced on the forum here. Bart ---------------------------------------------------------------------- Martin_fr · 2013-11-06 20:08 Announcement is on the mail list already. Go to our downloads at sourceforge. ---------------------------------------------------------------------- Edson · 2013-11-10 16:04 I have verified using a Frame on 1.2RC1, and it works. But it still needs to save first the project. Other way, the new frame doesn't appear on the "Select Frame" Dialog.