AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Sprachen und Entwicklungsumgebungen Object-Pascal / Delphi-Language Delphi How create a slider panel similar to Team View?
Thema durchsuchen
Ansicht
Themen-Optionen

How create a slider panel similar to Team View?

Ein Thema von flashcoder · begonnen am 5. Mai 2018 · letzter Beitrag vom 5. Mai 2018
Antwort Antwort
flashcoder

Registriert seit: 10. Nov 2013
83 Beiträge
 
#1

How create a slider panel similar to Team View?

  Alt 5. Mai 2018, 13:05
Delphi-Version: 10 Seattle
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
Miniaturansicht angehängter Grafiken
123.png  

Geändert von flashcoder ( 5. Mai 2018 um 13:08 Uhr)
  Mit Zitat antworten Zitat
Benutzerbild von KodeZwerg
KodeZwerg

Registriert seit: 1. Feb 2018
3.685 Beiträge
 
Delphi 11 Alexandria
 
#2

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

  Alt 5. Mai 2018, 13:52
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.
Gruß vom KodeZwerg
  Mit Zitat antworten Zitat
flashcoder

Registriert seit: 10. Nov 2013
83 Beiträge
 
#3

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

  Alt 5. Mai 2018, 15:45
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?
  Mit Zitat antworten Zitat
Benutzerbild von Zacherl
Zacherl

Registriert seit: 3. Sep 2004
4.629 Beiträge
 
Delphi 10.2 Tokyo Starter
 
#4

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

  Alt 5. Mai 2018, 15:49
Simply place the button ON the panel?
Projekte:
- GitHub (Profil, zyantific)
- zYan Disassembler Engine ( Zydis Online, Zydis GitHub)
  Mit Zitat antworten Zitat
flashcoder

Registriert seit: 10. Nov 2013
83 Beiträge
 
#5

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

  Alt 5. Mai 2018, 15:54
sample:

http://prntscr.com/je35qp

http://prntscr.com/je36gt
  Mit Zitat antworten Zitat
Benutzerbild von KodeZwerg
KodeZwerg

Registriert seit: 1. Feb 2018
3.685 Beiträge
 
Delphi 11 Alexandria
 
#6

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

  Alt 5. Mai 2018, 16:10
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.
Gruß vom KodeZwerg
  Mit Zitat antworten Zitat
Antwort Antwort


Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:53 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