NelsonFS Posted June 12, 2014 Share Posted June 12, 2014 This simple example show how to create a application that use a TUniPageControl to show forms inside TabSheet. Based on examples, MegaDemo and Marlon code. Thank you. Version UniGui: 0.95.0.1046 Delphi: XE5 FormsTDI_Tabs.zip 5 Quote Link to comment Share on other sites More sharing options...
fikret Posted June 12, 2014 Share Posted June 12, 2014 Which sample? :-) You've forgotten to upload it Quote Link to comment Share on other sites More sharing options...
Nirlan Posted June 12, 2014 Share Posted June 12, 2014 +1 Quote Link to comment Share on other sites More sharing options...
Nirlan Posted June 13, 2014 Share Posted June 13, 2014 very good !!! Quote Link to comment Share on other sites More sharing options...
taha_gh Posted June 14, 2014 Share Posted June 14, 2014 +1 Quote Link to comment Share on other sites More sharing options...
NelsonFS Posted June 15, 2014 Author Share Posted June 15, 2014 +1 Link is on! Quote Link to comment Share on other sites More sharing options...
uniguibbs Posted June 16, 2014 Share Posted June 16, 2014 good +1. but, why create new panel ? //if not found, then create it... TabSheetNew := TUniTabSheet.Create(NavPage); TabSheetNew.PageControl := NavPage; TabSheetNew.Caption := Titulo; TabSheetNew.Name := Name; TabSheetNew.Closable := True; TabSheetNew.OnClose := CheckTab; // PanelTabSheetNew := TUniPanel.Create(TabSheetNew); // PanelTabSheetNew.Align := alClient; // PanelTabSheetNew.Parent := TabSheetNew; // FCurrentFrameTab := TUniFrameClass(FindClass(Name)).Create(Self); // FCurrentFrameTab.Parent := PanelTabSheetNew; // FCurrentFrameTab.Align := alClient; FCurrentFrameTab := TUniFrameClass(FindClass(Name)).Create(Self); FCurrentFrameTab.Parent := TabSheetNew; FCurrentFrameTab.Align := alClient; Quote Link to comment Share on other sites More sharing options...
NelsonFS Posted July 2, 2014 Author Share Posted July 2, 2014 This panel is usefull case you need add a accordion panel left side, or reorganize frame and form, example, hide/show all frame. You wont need to put all frame components in other place.. was just thinking in future.. just this. Quote Link to comment Share on other sites More sharing options...
uniguibbs Posted July 16, 2014 Share Posted July 16, 2014 +1 Quote Link to comment Share on other sites More sharing options...
wilton_educasoft Posted May 26, 2015 Share Posted May 26, 2015 I tried to use his example, but did not work when using a legacy tuniframe -> TfrmBase = class (TUniFrame) TfrmEscola = class (TfrmBase) - here and an inherited form of TFrmBase InsertFrameTab ('TfrmEscola', 'school'); the access violation error that line FCurrentFrameTab: = TUniFrameClass (FindClass (Name)) Create (Self);. initialization RegisterClasses ([ TfrmBase, TfrmEscola ]); RegisterAppFormClass (TFrmPrincipal); ------------------------------------------------------------------------------------- in forms of TUniFrame type usually works Quote Link to comment Share on other sites More sharing options...
devya Posted February 23, 2017 Share Posted February 23, 2017 Great... Thanks Quote Link to comment Share on other sites More sharing options...
leons Posted February 24, 2017 Share Posted February 24, 2017 Great! I had a problem with this, earlier this week. Thanks to you I have solved it. Quote Link to comment Share on other sites More sharing options...
otagomes Posted November 10, 2017 Share Posted November 10, 2017 +1 Quote Link to comment Share on other sites More sharing options...
Decio Posted January 28, 2021 Share Posted January 28, 2021 link off Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 28, 2021 Share Posted January 28, 2021 1 hour ago, Decio said: link off Link works. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 28, 2021 Share Posted January 28, 2021 http://forums.unigui.com/index.php?/topic/6291-new-users-please-adjust-your-forum-email-address/&do=findComment&comment=32086 Quote Link to comment Share on other sites More sharing options...
Iroshk Luiz Posted December 2, 2022 Share Posted December 2, 2022 Tem como mandar para mim FormsTDI_Tabs.zip, não estou conseguindo baixar Quote Link to comment Share on other sites More sharing options...
Sherzod Posted December 2, 2022 Share Posted December 2, 2022 52 minutes ago, Iroshk Luiz said: Tem como mandar para mim FormsTDI_Tabs.zip, não estou conseguindo baixar Wich edition and build of uniGUI are you using? 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.