Autor Beitrag
Girgl
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 281


D6 Enterprise
BeitragVerfasst: Do 08.04.04 13:11 
Servus,
wie kann man einem toolbutton ein image zuweisen?
Ich seh nirgends eine eigenschaft,die darauf hinweisen könnte,z.B. glyph.
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Do 08.04.04 14:20 
du musst der ToolBar eine ImageList bei Images zuweisen, dann kannst du mit ImageIndex das Ding auswählen...

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)
fmeyer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41

Win XP, SuSE 9.0
D7 Entp
BeitragVerfasst: Do 08.04.04 15:06 
Hallo,

und natürlich musst du in der ImageList dann auch noch Images auswählen. Die liegen meistens unter C:\Programme\Gemeinsame Dateien\Borland\Buttons

Grüße,
Fabian

_________________
Wenn man nicht fühlt dass man lebt, wird das Leben sinnlos!
fmeyer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 41

Win XP, SuSE 9.0
D7 Entp
BeitragVerfasst: Do 08.04.04 18:36 
Hallo,

jetzt hab ich aber mal n Prob: Ich hab alles so gemacht, wie es in der Hilfe steht und wenn ich die Form vor mir habe, dann seh ich die Images auch auf den Toolbutton, allerdings wenn ich das Programm starte, dann sind sie weg.

Kennt jemand das?

Grüße,
Fbaian

_________________
Wenn man nicht fühlt dass man lebt, wird das Leben sinnlos!
StefanH
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1144

Win XP
D5 Standard, D7 Pers, D2005 Pers
BeitragVerfasst: Fr 09.04.04 14:11 
hast du den ToolBars MenuItems zu gewiesen? wenn die keine ICons haben, könnte das so sein, sonst fällt mir niks ein...

_________________
"Als es noch keine Computer gab, war das Programmieren noch relativ einfach."(Edsger W. Dijkstra)
"Ich bin nicht von Sinnen, sondern ich rede wahre und vernünftige Worte." (Paulus)