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?
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
it's better to use
bitBtn1.glyph.assign( nil)
bitBtn1.glyph.assign( nil)
ASKER
But how about bitbtn.glyph := nil; ?