[Solved] Visual control, which is like an "accordion", containing controls lazarus / 39-Graphics ---------------------------------------------------------------------- devEric69 · 2019-08-29 16:50 Hello, I call on your knowledge, in Lazarus visual controls I'm looking for a visual control, which is like an "accordion" (a bit like folding \ unfolding views in Lotus Notes,  for those who know; ; there is also the same thing in JQuery: we can unfold a
containing a
with its controls), which is then a parent container of controls. It would then unfold a panel on which a dbgrid could be placed for example, and which would fold back when clicking in the top left corner of the said "accordion" (clic on a triangle or a minus sign), to save vertical space on a TForm or TFrame. (I can already add a button at the bottom of the form - like a wizard - that enlarges or reduces the height of the TForm, displaying or hiding a row of containers, each with their schrollbox, containing their dbGrid; I'm just wondering if there's something more "sophisticated") Does this kind of approaching control already exist? Regards. ---------------------------------------------------------------------- Handoko · 2019-08-29 17:03 Maybe this one: https://wiki.freepascal.org/Eye-Candy_Controls#TECAccordion ---------------------------------------------------------------------- devEric69 · 2019-08-29 17:07 Visually, that's exactly what I'm looking for ==> I'll try it on! Thank you  . ---------------------------------------------------------------------- devEric69 · 2019-08-30 09:32 Okay, this control is working as I hoped . ---------------------------------------------------------------------- Oscar Vazquez · 2019-09-16 21:06 Este a mi me funciono muy bien. Saludos https://wiki.freepascal.org/TMyRollOut_and_ExpandPanel ---------------------------------------------------------------------- marcov · 2019-09-16 21:11 (isn't this introduced in commctrls with Office 2000 or 2003? There might be a native windows control for it)