Must the PtButton widget be rectangular? Is there a easy way to change
the shape of this button (ie. a triangle or a circle) without creating a
new widget?
Thanks Mary…
Must the PtButton widget be rectangular? Is there a easy way to change
the shape of this button (ie. a triangle or a circle) without creating a
new widget?
Thanks Mary…
Mary Bourke wrote:
Must the PtButton widget be rectangular? Is there a easy way to change
the shape of this button (ie. a triangle or a circle) without creating a
new widget?Thanks Mary…
Hi, you can use PtPolygon or PtEllipse, or PtBitmap to draw
any button you want.
For example, a circle button can be designed by a PtBitmap. When
you press it, it will show arming bitmap.
Regards
WeiBing Tong <wbtong@aquilamsl.com> wrote:
: Hi, you can use PtPolygon or PtEllipse, or PtBitmap to draw
: any button you want.
True, but you’ll need to make the ellipse (or whatever) selectable and
write an Arm callback that will make it look pressed in.