On Thursday 02 August 2007 10:18, Vincent Snijders wrote:
> Graeme Geldenhuys schreef:
> > On 02/08/07, Vincent Snijders <[EMAIL PROTECTED]> wrote:
> >> I think that is a lot of work.
> >
> > I can't check now, but doesn't the TBitBtn have a ShowGlyph property
> > we can toggle? If not, I see your point.
>
> It means you have to add that check to all the forms using bitbtns.
> You cannot just use the designer to make that change. So, it is a lot of
> work.
Can't you define a TIDEBitBtn that checks the global variable, and change all
the ocurances of TBitBtn in TIDEBitBtn ?
Luk
type
TIDEBitBtn = class (TBitBtn)
public
constructor create (AnOwner : TComponent); override;
end;
constructor TIDEBitBtn.Create (AnOwner : TComponent);
begin
inherited;
ShowGlyph := GlobalShowGlyphs;
end;
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives