Autor Beitrag
D. Annies
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Fr 26.12.08 10:16 
Hi, Delpher,

ich möchte das Icon zum Schließen eines Formulars durch einen Button, BitBtn oder SpeedBtn möglichst genau nachbilden. Wenn man auf dieses Objekt klickt, soll sich eine Groupbox schließen.

Was ist da am geeignetsten, evtl. schon vorhanden?

Danke, Detlef

_________________
ut vires desint, tamen est laudanda voluntas
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 26.12.08 10:20 
Da der Button auf jedem System anders aussehen kann, ist die Frage ob du dann versuchen willst, dieses Aussehen exakt zu treffen oder ob es reicht das Standardaussehen zu haben.

Für das Standardaussehen würde ich einen SpeedButton nehmen, für das exakte Verhalten ein zweites Formular ins erste eingebettet.
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Fr 26.12.08 10:27 
Danke, Sebastian! Dann nehme ich einen Speedbutton.

Gruß, Detlef

_________________
ut vires desint, tamen est laudanda voluntas
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Fr 26.12.08 10:50 
Jetzt brauche ich bloß noch das entsprechende Glyph ... :roll: :?:

_________________
ut vires desint, tamen est laudanda voluntas
Mikescher
Hält's aus hier
Beiträge: 4

WIN XP Prof SP2
Delphi (Turbo Delphi Explorer)
BeitragVerfasst: Fr 26.12.08 12:29 
Mal dumm gefragt warum machst du nicht einen Screenshot schneidest den X-Button aus und fügst ihn als Bild ein ???
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Fr 26.12.08 12:30 
Das wäre eine Möglichkeit, du kannst dir im Internet auch kostenlose Bildchen dafür suchen, da gibts ganze Sammlungen.

Das Originalaussehen beim Benutzer wirst du mit einem SpeedButton nicht so einfach bekommen, deshalb sagte ich ja: Standardaussehen.
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Sa 27.12.08 09:53 
Hallo, ihr zwei (mikeescher und sebastian)!

Hatte gar nicht gedacht, dass ich noch einen Hinweis bekomme. Nachdem ich mehrere Bildchen versucht habe, möchte ich nun der Idee von mike folgen.

Screenshot ok --> Winword --> aber wie geht das ausschneiden und speichern?

Vielen Dank, wenn ich da noch einmal Hilfe bekommen kann.

Gruß, Detlef

_________________
ut vires desint, tamen est laudanda voluntas
Gausi
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 8554
Erhaltene Danke: 480

Windows 7, Windows 10
D7 PE, Delphi XE3 Prof, Delphi 10.3 CE
BeitragVerfasst: Sa 27.12.08 11:58 
Du nimmst Winword zum Bearbeiten eines Bildes? :shock: Dafür liefert Windows doch hochwertige Grafikwerkzeuge wie MSPaint mit.

(Inwiefern das Vorgehen rechtlich sauber ist, weiß ich nicht. Ist mir an dieser Stelle aber auch egal. ;-))

_________________
We are, we were and will not be.
Hidden
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2242
Erhaltene Danke: 55

Win10
VS Code, Delphi 2010 Prof.
BeitragVerfasst: Sa 27.12.08 12:06 
Hi :)

Ich wäre auch auf jeden Fall für ein Bild aus dem internet. Wenn du ein wenig auf Lizenzen guckst(GNU, ..), kannst du dort rechtlich einwandfreie, imho sogar schönere Button-Bilder bekommen :!:

mfG,

_________________
Centaur spears can block many spells, but no one tries to block if they see that the spell is a certain shade of green. For this purpose it is useful to know some green stunning hexes. (HPMoR)
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: Sa 27.12.08 12:24 
Bin mir nicht ganz sicher, aber irgendwie hatte ich im Hinterkopf, dass es genau so einen Button bei der JVCL gibt. Aber vielleicht irre ich mich.

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: Sa 27.12.08 18:40 
Hi an alle!

Habe mich jetzt erstmal für ein Image (!!) entschieden wegen der Eigenschaft proportional, deshalb Status "beantwortet".

Aber die JVCL werde ich auch mal prüfen,
Danke von Detlef

_________________
ut vires desint, tamen est laudanda voluntas
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19341
Erhaltene Danke: 1752

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 27.12.08 18:44 
Proportional? D.h. du hast ein Bild mit einer unpassenden Größe und kompensierst das mit Stretch und Proportional auf True? :shock:

Wie wäre es, wenn du das Bild einfach auf die richtige Größe bringst (außerhalb von Delphi, in Paint z.B.)? Das sieht schöner aus und einfacher ist es auch.

Dann kannst du das auch in einem SpeedButton verwenden.
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: So 28.12.08 10:15 
Hi, Sebastian,

danke auch für diesen Hinweis,
Detlef

_________________
ut vires desint, tamen est laudanda voluntas
D. Annies Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 1843

windows 7
D6 Enterprise, D7 Pers und TD 2006
BeitragVerfasst: So 28.12.08 10:54 
Hi, Sebastian,
das klappt ja bestens - danke,
Detlef

_________________
ut vires desint, tamen est laudanda voluntas