![]() |
Konsolen Anwendung (Bild)?
Hallo, ist es irgendwie möglich ein Bild in einer Konsolenanwendung dazustellen ?
Danke :) |
Re: Konsolen Anwendung (Bild)?
was hat denn das für einen Sinn?
|
Re: Konsolen Anwendung (Bild)?
Nen Logo reinhauen.
|
Re: Konsolen Anwendung (Bild)?
zeichne es doch via ascii.
|
Re: Konsolen Anwendung (Bild)?
Ich würde ein Form mit einem Image erzeugen und dann in dem Image das Logo anzeiegn.
mfg, Martin |
Re: Konsolen Anwendung (Bild)?
Zeichnen ?
Da sitze ich ja ewig dran |
Re: Konsolen Anwendung (Bild)?
Deshlab, erzeuge einfach 'ne Form, und dann mal das Logo entweder mit Canvas direkt auf die Form oder erzeug dir dazu noch ein Image, in das du dann das Logo einfach reinlädst.
|
Re: Konsolen Anwendung (Bild)?
Eine Form bei einer Konsolen Anwendung?
|
Re: Konsolen Anwendung (Bild)?
ja mit assemblies und .Net
müsste irgendwie so funktionieren
Delphi-Quellcode:
Aber soweit ich weiß ist es nicht möglich ein Bild (image) direkt in einer Konselenanwendung zu benutzen (also ohne Form).
namespace WindowsApplication1;
interface uses System.Windows.Forms, System.Drawing; type MainForm = class(Form) public constructor; class method Main; end; implementation constructor MainForm; begin with b: Button := new Button do begin b.Parent := self; b.Left := 10; b.Top := 10; b.Width := Width-30; b.Height := 25; b.Text := 'Mein Button'; end; self.Text := 'Eine Form'; end; class method MainForm.Main; begin with lForm := new MainForm() do Application.Run(lForm); end; end. Ich würde sonst an deiner Stelle die Ascci methode benutzen. Gibt ja genug Generatoren im netz z.B ![]()
Code:
____ ._______________ .__.__ .__
/_ || ____/\ _ \ ____ ___________|__| | | | _____ | ||____ \ / /_\ \ / ___\ / _ \___ / | | | | \__ \ | |/ \\ \_/ \/ /_/ > <_> ) /| | |_| |__/ __ \_ |___/______ / \_____ /\___ / \____/_____ \__|____/____(____ / \/ \//_____/ \/ \/ |
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:03 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz