Autor Beitrag
youpy
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32

win XP
7 Enterprise
BeitragVerfasst: Di 16.03.04 21:32 
hi ich habe in einer statusbar 2 panels... wie kann ich dir texteigenschaft dieser panels ansprechen?
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Di 16.03.04 21:40 
Hi,

einfach

ausblenden Delphi-Quelltext
1:
Form1.StatusBar1.Panel[0].Text := 'lala';					


Das wär das erste Panel, von links nach rechts.
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mi 17.03.04 07:30 
Hallo,

richtiger heißt die Eigenschaft:

ausblenden Delphi-Quelltext
1:
  StatusBar1.Panels[0].Text					

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
adler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Mi 17.03.04 13:02 
Ich würde eher sagen beides ist richtig!
Es kommt drauf an obs in der Form liegt und dann wie sie heißt.
Vllt. heißt es bei ihm auch nicht Statusbar1, also könnte deins genauso nicht gehen :P

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mi 17.03.04 13:06 
Hallo,

@adler: Ich wollte eigentlich nur darauf hinweisen, daß sich in Deinem Post ein Tippfehler eingeschlichen hat. Die Eigenschaft heißt Panels und nicht Panel.

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)
adler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 511

Windows XP
Delphi 05 Pers
BeitragVerfasst: Mi 17.03.04 13:07 
Oh... aber das war nicht mein Post ;) aber trotzdem danke, hab ich was gelernt ^^

_________________
Wo's nix zu gucken gibt, gibts vielleicht was zu hören.
BungeeBug
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 901



BeitragVerfasst: Mi 17.03.04 13:10 
smiegel hat folgendes geschrieben:
Hallo,

richtiger heißt die Eigenschaft:

ausblenden Delphi-Quelltext
1:
  StatusBar1.Panels[0].Text					


Sorry mein Fehler. Hab nicht drauf geachtet.
youpy Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32

win XP
7 Enterprise
BeitragVerfasst: Mi 17.03.04 20:13 
thx lol man als noob hat mans echt net leicht :(