[lazarus] Speedbutton questions

Shane Miller SMiller1 at stvgb.org
Fri Mar 10 11:45:18 EST 2000

but, how does a PAINT occur?
How does it get called?  gtk usually calls it via the signal (expose, resize, etc) but in this case it doesn't get called.


>>> Marc.Weustink at cuperus.nl 03/10/00 10:21AM >>>
+ From: Shane Miller [mailto:SMiller1 at stvgb.org] 
+ Speed buttons are really just canvas'.  They paint the border
+ around themselves so they look like buttons and then paint
+ the glyph onto themselves.
+ I am trying to figure out how to implement them.

Derive them from TGraphicsControl like Delphi and paint on its canvas in the
Paint method. I don't think you need gtk for this one.


     To unsubscribe: mail lazarus-request at miraclec.com with
                "unsubscribe" as the Subject
    archives at http://www.miraclec.com/list_archives/lazarus

More information about the Lazarus mailing list