erich.wanker Posted March 9, 2018 Share Posted March 9, 2018 Hello, I use a lot of TuniContainerPanels in a TUniForm (ThanX to Farshad for the slim and fast TuniContainerPanel) depending on differnet situations, i need 5 of 20 TuniContainerPanels .. so i set at TuniForm.OnCreate 5 of them visible:=true, the other 15 visible:=false; UniGui creates all 20 and send them to client (thats a important and correct behavior) But in some cases i know 100% that i did not need some components at runtime Can i tell uniGui to create NOT the (as example) 15 TuniContainerPanels? is where a property what i can set? (cool whould be a property in Delphi-Objectinspector like [RollOut: true/false] A Example of a Form with "situation depending" TUniContainerPanels: Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 10, 2018 Share Posted March 10, 2018 Hi, Maybe like this ?!: procedure TMainForm.UniFormCreate(Sender: TObject); begin ... Self.RemoveComponent(UniContainerPanel6); Self.RemoveComponent(UniContainerPanel7); ... end; 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.