Use a PictureBox (that exposes the Click event), set its
appearance to Flat, No border, same backColor as
the parent, and draw your rectangle in the Paint event
(or use the autoredraw property to draw it only once)
-----Original Message-----
From: info@e... [mailto:info@e...]
Sent: Monday, November 19, 2001 2:47 PM
To: professional vb
Subject: [pro_vb] rectangle
I need a rectangle 45=B0 on its side with click event. It can be
anything,
like a shape, commandbutton, panel, ... as long it :
- is rectangle
- is 45=B0 rotated (no motion required, static view)
- has a click event
Can you help me ?
Thank you,
Patrick