Changing a Button Icon twice in one method (FXRuby)

S

Steve Kozma

------=_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--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,599
Members
45,175
Latest member
Vinay Kumar_ Nevatia
Top