My hoverIcon will not display

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

RCozens
Posts: 138
Joined: Thu Aug 05, 2021 6:42 am
Location: Manchester, CA USA

Re: My hoverIcon will not display

Post by RCozens » Thu Apr 27, 2023 2:30 am

The HCStack of my stack is true.
The HCAddressing of my stack is false. (I've removed "card" and "background" from script references to buttons and fields.)
Setting HCAddressing to true does not solve my problem.
Rob Cozens dba Serendipity Software Company
Manchester, CA USA

Each new generation gives more attention to the man-made world...
and less attention to the world that made man.

RCozens
Posts: 138
Joined: Thu Aug 05, 2021 6:42 am
Location: Manchester, CA USA

Re: My hoverIcon will not display

Post by RCozens » Thu Apr 27, 2023 5:41 am

Problem solved!!

Here's the culprit:
Button script

Code: Select all

on mouseEnter    --  11 Mar 23:RCC
   if the short name of this card is "Appellation Code Scroll" then buttonEnter "Add Appellations Help",true
   else buttonEnter "Appellations Help",true
end mouseEnter
Stack script:

Code: Select all

on buttonEnter helpField  -- 16 Mar 23:RCC
   global inFocus
   if inFocus or the disabled of the target then exit buttonEnter
   --set the hilite of the target to true           [b]<<<THIS CAUSED THE PROBLEM>>>[/b]
   showHelpField helpField
end buttonEnter
Once again, thanks to all who helped me think this through.
And especially to Mark: I had tried commenting that line out previously; but it didn't help until I set the buttons' autoArm to false.
Cheers! (I'm cheering)
Rob
Rob Cozens dba Serendipity Software Company
Manchester, CA USA

Each new generation gives more attention to the man-made world...
and less attention to the world that made man.

Post Reply

Return to “Talking LiveCode”