Link to home
Start Free TrialLog in
Avatar of Kapusta
Kapusta

asked on

Turning TBitBtn.Glpyh off at runtime

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?
ASKER CERTIFIED SOLUTION
Avatar of kjteng
kjteng

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Kapusta
Kapusta

ASKER

Thanks.

But how about bitbtn.glyph := nil; ?


it's better to use
  bitBtn1.glyph.assign( nil)