Canestraro Posted October 12, 2020 Posted October 12, 2020 Hello, how can I put a button inside the frame and put code to close the frame and also remove it from the page? Quote
Abaksoft Posted October 13, 2020 Posted October 13, 2020 Hello, Maybe this can help : http://forums.unigui.com/index.php?/topic/9636-frames-modalresult/ Quote
alfr Posted October 13, 2020 Posted October 13, 2020 Believe easiest is to keep a reference/variable to the frame in the parent form when you create the frame. Then you just can do FreeAndNil(TheFrame); Quote
Canestraro Posted October 19, 2020 Author Posted October 19, 2020 Hello The best way out was this! Frame MainForm.pagMain.Pages[MainForm.pagMain.ActivePageIndex].Close; 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.