Autor Beitrag
Delphi2009lover
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Fr 20.11.09 09:31 
Hi,

ich habe für mein Programm ein Icon erstellt (256x256) DIE Größe habe ich genommen, das es auch auf Vista - Desktops die die Icon auf "riesig" gestellt haben auch groß und scharf dargestellt wird... Mein Problem ist jetzt nur, dass wenn ich unter (Projete-Optionen-Anwendung) das Icon laden will kommt die Meldung Systemresourcen erschöpft. Dann hab ich halt ein 48x48 Icon genommen, bei dem das übrigends geht... nur ist das halt zu klein.. gibt es da evtl eine andere Möglichkeit?

Thx im VOrraus


Moderiert von user profile iconNarses: Topic aus Sonstiges (Delphi) verschoben am Mo 23.11.2009 um 09:45
Moderiert von user profile iconNarses: Titel erweitert.
giantdwarf
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 35


Delphi 5, Delphi 2006 Prof, Delphi 2009
BeitragVerfasst: Fr 20.11.09 09:53 
Hi,
ich verwende ebenfalls ein 256x256 Icon ohne Probleme. Welche Dateigröße hat dein Icon und womit hast Du es erstellt? Ich habe IcoFx verwendet (Freeware, icofx.ro).
Delphi2009lover Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Fr 20.11.09 10:33 
Ja ich verwende auch IconFX und habe damit ein PNG geöffnet und es zu einem 256x256 Icon konvertiert
Delphi2009lover Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Fr 20.11.09 11:24 
Kannst du evtl mal ganz genau erklären (Schritt für Schritt) wiedu das machst? vllt mach ich da ja was falsch^^
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 20.11.09 11:57 
Delphi unterstützt zumindest in älteren Versionen weder PNG-Icons noch 256x256 Icons. Bis Delphi 2006 zumindest nicht. In neueren Versionen habe ich es nicht getestet, aber auch noch nichts gegenteiliges gelesen.
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 20.11.09 12:04 
user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
Delphi unterstützt zumindest in älteren Versionen weder PNG-Icons noch 256x256 Icons. Bis Delphi 2006 zumindest nicht. In neueren Versionen habe ich es nicht getestet, aber auch noch nichts gegenteiliges gelesen.


Ich habe auch in Delphi 2006 256x256 Pixel Icons verwenden können. Und In Delphi 2009 klappts auch.
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 20.11.09 12:13 
Also in Delphi 2006 hat das mit den Vista-Icons in der Größe nicht geklappt. Und in der Größe gab es glaube ich auch nicht viele Formatvarianten. Hättest du vielleicht ein Beispielicon bzw. könntest kurz irgendeins machen, das bei dir in Delphi direkt funktioniert?

(Denn ich hab mich da bisher verrenkt und das nachträglich ausgetauscht, da würde mich interessieren, ob es am Icon lag.)
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 20.11.09 12:35 
user profile iconjaenicke hat folgendes geschrieben Zum zitierten Posting springen:
Hättest du vielleicht ein Beispielicon bzw. könntest kurz irgendeins machen, das bei dir in Delphi direkt funktioniert?


Ich schick dir gleich eine PNE-Mail (weil die Anhang-Funktion streikt...) :D
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 20.11.09 13:11 
Das Ergebnis poste ich auch einmal hier:
Zumindest bei mir funktioniert es mit Delphi 2006 nicht. Auch nicht mit diesem Icon. :nixweiss: :bawling:
Delphi2009lover Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Fr 20.11.09 13:18 
Also eigentlich müsste das bei mir klappen, ich hab Delphi 2010... aber KA wenn das denn nicht geht, wie macht das dann z.B. Firefox?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 20.11.09 13:19 
user profile iconDelphi2009lover hat folgendes geschrieben Zum zitierten Posting springen:
aber KA wenn das denn nicht geht, wie macht das dann z.B. Firefox?
Der ist ja nicht in Delphi geschrieben. Mit z.B. meinen C#-Programmen hatte ich mit solchen Icons noch keine Probleme.
Delphi2009lover Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Fr 20.11.09 13:24 
Aber ich denk mal mit C# ist er auch nicht geschrieben :wink:
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 20.11.09 13:26 
Nein, aber mit C++, und C# meinte ich auch nur als Beispiel. Denn C++ nutze ich derzeit wenig bis gar nicht. ;-)
Delphi2009lover Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 176



BeitragVerfasst: Fr 20.11.09 13:31 
Also gibt es dafür keine Möglichkeit???
galagher
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2562
Erhaltene Danke: 46

Windows 10 Home
Delphi 10.1 Starter, Lazarus 2.0.6
BeitragVerfasst: Fr 20.11.09 18:41 
Hallo!

Vielleicht hilft dir das hier weiter - Icons per .res-Datei einbinden:
www.delphi-forum.de/viewtopic.php?t=95852

_________________
gedunstig war's - und fahle wornen zerschellten karsig im gestrock. oh graus, es gloomt der jabberwock - und die graisligen gulpen nurmen!