Autor Beitrag
pascalsv
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133

Win XP Prof. SP2 / Windows 7
Visual Studio 2008 / Silverlight 3 / Silverlight 4 Beta
BeitragVerfasst: Mo 14.08.06 14:11 
Hallo zusammen,

ich möchte, dass bei Knopfdruck über dem Knopf ein Panel erscheint, auf dem weitere Knöpfe zu sehen sind. Bisher mache ich das durch Ändern des Visible-Statusses. Dies ist mir etwas zu dröge und ich wollte wissen, ob jemand eine Komponente (Freeware) oder ein Coding kennt, mit dem man das Panel langsam ein- bzw. Ausblenden oder -fahren kann.

Danke & Gruß,

Pascal
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Di 15.08.06 14:46 
Kannst du doch mit einem Timer selber machen, immer um 1 Pixel weiter verschieben.

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
pascalsv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133

Win XP Prof. SP2 / Windows 7
Visual Studio 2008 / Silverlight 3 / Silverlight 4 Beta
BeitragVerfasst: Di 15.08.06 14:48 
@GTA-Place: Hast Du ein Beispiel, wie man das macht?

Danke,

Pascal
der Berliner
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 417

Win Xp Home
delphi 2005
BeitragVerfasst: Di 15.08.06 14:54 
hallo, Also ich hab das mal mit nem DBGrid so gemacht:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
procedure TFKundenstamm.BitBtnNeuerKundeClick(Sender: TObject);
Var
  i:Integer;
begin
gespeichert:=False;
 For i:=273 downto 193 do begin
  DBGrid1.Height:=i;
  Sleep(3);
 end;

hier verschwindet das dbGrid.
Denke ein Panel könnte man so auch erscheinen lassen.
Gruß

_________________
[b]Ich weiß nicht immer, wovon ich rede. Aber ich weiß, dass ich recht habe.[b]
pascalsv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133

Win XP Prof. SP2 / Windows 7
Visual Studio 2008 / Silverlight 3 / Silverlight 4 Beta
BeitragVerfasst: Di 15.08.06 15:55 
Hallo Berliner,

das funktioniert auch, jedoch sind die VCL-Objekte auf dem Panel während des Scrollens nicht mehr zu sehen.

Daher rufe ich ein "Panel.Repaint;" auf. Cool!

Danke,

Pascal


Zuletzt bearbeitet von pascalsv am Di 15.08.06 15:57, insgesamt 1-mal bearbeitet
Born-to-Frag
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 1094

Win XP SP2, Win 2000 SP4
Delphi 7, 2k5
BeitragVerfasst: Di 15.08.06 15:56 
PanelX.Repaint?

_________________
Theorie ist wenn man alles weiß, aber nichts funktioniert. Praxis ist wenn alles funktioniert, aber niemand weiß warum.
Microsoft vereint Theorie und Praxis: Nichts funktioniert und niemand weiß warum.
pascalsv Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 133

Win XP Prof. SP2 / Windows 7
Visual Studio 2008 / Silverlight 3 / Silverlight 4 Beta
BeitragVerfasst: Di 15.08.06 15:58 
@Born-2-Frag: Du bist aber schnell... :shock:

So schnell kann ich nicht meine Beiträge editieren... :wink:

Danke!

Pascal