From: Steve Kozma Date: 2004-01-14T21:21:35+09:00 Subject: Changing a Button Icon twice in one method (FXRuby) ------=_NextPart_000_0074_01C3DAA4.34BB7CE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi! I would like to simulate a button pressed&released "event" with button = icons. (I'm trying to create a utility with a painted interface). I tried to display first a "Pressed State" icon then the normal = "Unpressed State" icon=20 with a sleep 0.5 in between. All this in the method which I invoke with = SEL_COMMAND. The problem is that, only the last "object.icon =3D ..." gets executed. Is there a way to refresh and display different icons in succession in = one method? Any help would be appreciated. Best Regards Steve Kozma ------=_NextPart_000_0074_01C3DAA4.34BB7CE0--