-
unactive button
Hi,
I haven't written any code yet because I really don't know how to deal with the problem. Here's the case.
I have a scroll with images. Over the first half og the scroll is a frame. If you move the cursor over the other half of the scroll, the cursor changes to arrows and the scroll accelerates. If you click on the image, it shows the bigger image. So far everything is clear.
But how can I make buttons over images active only in the frame over the first half of the scroll and "switch them off" when the mouse is over the other half and the cursor changes into arrows?
THX for the any help.
piki
-
Use Button.enabled = false to disable buttons, and change it to true in order to reactivate them.
use Button.useHandCorsor = false to hide the hand cursor.
I believe you can put a clear button over the half of the menu that should cause the scroll - if the buttons overlap only the top one is active. if you tell this button not to use the hand cursor - is that what you wanted?
-
You've just shown me the light. THX,Atarsh
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|