Canestraro Posted October 12, 2020 Share 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 Link to comment Share on other sites More sharing options...
Abaksoft Posted October 13, 2020 Share Posted October 13, 2020 Hello, Maybe this can help : http://forums.unigui.com/index.php?/topic/9636-frames-modalresult/ Quote Link to comment Share on other sites More sharing options...
alfr Posted October 13, 2020 Share 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 Link to comment Share on other sites More sharing options...
Canestraro Posted October 19, 2020 Author Share Posted October 19, 2020 Hello The best way out was this! Frame MainForm.pagMain.Pages[MainForm.pagMain.ActivePageIndex].Close; 1 Quote Link to comment Share on other sites More sharing options...
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.