NelsonFS Posted June 12, 2014 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
fikret Posted June 12, 2014 Posted June 12, 2014 Which sample? :-) You've forgotten to upload it Quote
uniguibbs Posted June 16, 2014 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
NelsonFS Posted July 2, 2014 Author 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
wilton_educasoft Posted May 26, 2015 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
leons Posted February 24, 2017 Posted February 24, 2017 Great! I had a problem with this, earlier this week. Thanks to you I have solved it. Quote
Sherzod Posted January 28, 2021 Posted January 28, 2021 1 hour ago, Decio said: link off Link works. Quote
Sherzod Posted January 28, 2021 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
Iroshk Luiz Posted December 2, 2022 Posted December 2, 2022 Tem como mandar para mim FormsTDI_Tabs.zip, não estou conseguindo baixar Quote
Sherzod Posted December 2, 2022 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
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.