Character Mode Mouse Events

jmaynar8

New Member
Hello

I have a routine that is using readkey to monitor keystrokes and perform actions based on the key pressed. I have a need to know if a mouse click was done and approximately where on the form it was clicked. Readkey does not seem to capture mouse clicks like it does the keyboard. Does anyone have any idea on how this may be accomplished.

Would appreciate any help anyone can provide.

Thanks in advance.:confused:
 
wow, i miss the chui and readkey days,

everything was so simple back than


but so much for nostalgia, we moved to event-driven a decade ago

it's pretty hard now-a-days writing user interfaces that follow a rigid process i.e. procedure-driven


try this -

<snippet>

view current-window.

on mouse-select-click anywhere do:

message
last-event:function "(" last-event:x "," last-event:y ")"
view-as alert-box.

end. /* on any-key */

wait-for window-close of current-window.

</snippet>


you can read up about event-driven in the programming handbook

and find the event lists in the reference doc. hth
 
Hi Guys,

We are looking for a way with out using OCX etc to do a MOUSE-HOVER or MOUSE-OVER procedure. We have menu buttons that are images and would like to change the image to a different colour / JPG when we hover the mouse over it, much like Outlook.

Any suggestions on how we can do this?

Thanks
Joel
 
Hi Guys,

We are looking for a way with out using OCX etc to do a MOUSE-HOVER or MOUSE-OVER procedure. We have menu buttons that are images and would like to change the image to a different colour / JPG when we hover the mouse over it, much like Outlook.

Any suggestions on how we can do this?

Thanks
Joel

Is it possible to create a rollover image in fireworks by inerting a hotspot and saving it as an animated gif? DOes progress support that? THat's what im trying now. but i haven't did animated gifs in forever.
 
nvm i dont think that would work because it creates a web layer object. ANd i don't think progress can support it.
 
Back
Top