Autor Beitrag
-CrimeTime-
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: Sa 13.11.10 09:45 
Hallo,
wie der Titel schon besagt bin ich auf der Suche wie man Images auf eine Tabpage macht in einem Tabcontrol.

Bild im Anhang.
Einloggen, um Attachments anzusehen!


Zuletzt bearbeitet von -CrimeTime- am Sa 13.11.10 10:24, insgesamt 2-mal bearbeitet
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19276
Erhaltene Danke: 1741

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 13.11.10 10:16 
Ein kurzer Blick in Visual Studio zeigt mir, dass das TabControl eine Eigenschaft ImageList hat und die TabPages eine namens ImageIndex. ;-)

Also:
ImageList aufs Formular packen, Bilder rein, die ImageList dem TabControl zuweisen und dann ImageIndex der TabPages setzen.

Nebenbei:
Statt diese komische "Bildhütte" zu nutzen, hänge Bilder doch bitte einfach an. Dann sind diese auch später noch da, wenn jemand die Frage später findet. ;-)
// EDIT: Das sieht dann so aus:
tabimage
Einloggen, um Attachments anzusehen!

Für diesen Beitrag haben gedankt: -CrimeTime-
-CrimeTime- Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 55



BeitragVerfasst: Sa 13.11.10 10:25 
Danke, hätte nicht gedacht das es so einfach ist, habe nie zuvor mit einer ImageList gearbeitet.