🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #6236

Re: How to set icon and caption of windows taskbar button?

#6236
From: Heinrich Wolf
Date: Sat, 28 May 2005 05:45
17 lines
1374 bytes
Hi,

in the IDE menu Project-Options-Application you can set a title and a symbol 
(icon).
This icon is shown in the explorer.
Put some tImage-s in your form with visible=false and load your icons into 
their picture-s
At run time you can change application.title and 
application.icon.assign(image1.picture.icon).
These will be shown on the taskbar button. This icon will also be shown on 
the form.
But after that at run time you can form.icon.assign(image2.picture.icon) for 
the form
different from the taskbar button.

Regards
Heiner 
Technical Details
Message-ID: <3fqer8F92ldqU1@individual.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <42972464$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d0933eb43b54b0eb
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Heinrich Wolf" <invalid@invalid.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to set icon and caption of windows taskbar button?
Date: Sat, 28 May 2005 07:45:12 +0200
Lines: 19
Message-ID: <3fqer8F92ldqU1@individual.net>
References: <42972464$1@newsgroups.borland.com>
X-Trace: individual.net xKHMmC4QKvUjCkYbJYbzugbVNydt3xSZNo32GJLjXqB2hwRqR9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original