Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi How create a slider panel similar to Team View? (https://www.delphipraxis.net/196259-how-create-slider-panel-similar-team-view.html)

flashcoder 5. Mai 2018 13:05

Delphi-Version: 10 Seattle

How create a slider panel similar to Team View?
 
Liste der Anhänge anzeigen (Anzahl: 1)
How create a slider panel (image attached) where can hide/show at any moment?

I already have half of solution:

Delphi-Quellcode:
procedure TForm1.btn1Click(Sender: TObject);
begin
  AnimateWindow(Panel1.Handle, 800, AW_SLIDE or AW_VER_NEGATIVE or AW_HIDE);
end;

procedure TForm1.btn2Click(Sender: TObject);
begin
  AnimateWindow(Panel1.Handle, 800, AW_SLIDE or AW_VER_POSITIVE or AW_ACTIVATE);
end;
Now i need insert something to right and below panel that when panel is hidden this thing is visible, to after show panel again through this (exactly like is in Team View) =>

http://prntscr.com/je15uq

KodeZwerg 5. Mai 2018 13:52

AW: How create a slider panel similar to Team View?
 
Hi there, a quick search resulted to delphi-sliding-animated-panel with some different attempts to solve that problem.
I hope one of those solutions is okay since its pretty old.
https://torry.net/ has a few components that do the trick, ive used once "Folding Panel" from there, it fit my needs.

flashcoder 5. Mai 2018 15:45

AW: How create a slider panel similar to Team View?
 
I already using the TPanel (native component), i not need of a new Panel.
All what i need in this moment is make my Button walk together with Panel when hide/show he (Panel).

How make this?

Zacherl 5. Mai 2018 15:49

AW: How create a slider panel similar to Team View?
 
Simply place the button ON the panel?

flashcoder 5. Mai 2018 15:54

AW: How create a slider panel similar to Team View?
 
sample:

http://prntscr.com/je35qp

http://prntscr.com/je36gt

KodeZwerg 5. Mai 2018 16:10

AW: How create a slider panel similar to Team View?
 
Do you really visited my link? Under the "DynPanel" sourcecode, the shown image, isnt that what you want to have? A collapse/expand/etc button linked on a Panel.


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:19 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz