Solved

Turning TBitBtn.Glpyh off at runtime

Posted on 1998-06-24
3
551 Views
Last Modified: 2010-05-18
Using Delphi 1...

At design time, I have a TBitBtn component on my main form and I have assigned a .Glyph property (BMP) image to the button.  However, I would like to be able to (if necessary) turn the Glyph off permanently at run time.

How do I make the glyph disappear at runtime?
0
Comment
Question by:Kapusta
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 2

Accepted Solution

by:
kjteng earned 30 total points
ID: 1355569
bitbtn1.glyph.width:=0;
or
bitbtn1.glyph.height:=0;
0
 

Author Comment

by:Kapusta
ID: 1355570
Thanks.

But how about bitbtn.glyph := nil; ?


0
 
LVL 2

Expert Comment

by:kjteng
ID: 1355571
it's better to use
  bitBtn1.glyph.assign( nil)
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

695 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question