LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Show tipstrip for controls of VI loaded in subpanel

Hi all,

When a VI is run directly, tipstrips appear as expected. But when it is loaded into a subpanel and run, and when the mouse is hovered over a control in the VI in subpanel, tipstrips appear sometimes and sometimes not. Is this behavior related to subpanel properties?

Thanks,
Priya

0 Kudos
Message 1 of 5
(3,099 Views)

Can you post an example where you see this behavior? 

 

Its not clear what you mean by sometimes.  Do some controlls NEVER show tipstrips or do the tipstrips for a specific control appear sporadically? 

Message Edited by Jeff Bohrer on 02-13-2010 11:27 AM

"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(3,044 Views)

If you wouldn't manage to get the formal solution (and I haven't), you could try to workaround it while using a string indicator with the desired tip strip value and a property node combination of "Key Focus" (for the SubPanel object) and of "Visible" (for the string indicator).

 

It might won't be enough to hover the mouse cursor in the area of the SubPanel element to generate Key Focus event, therefore you might try using a comparison of the current mouse cursor position and the position of the SubPanel element to change the Key Focus property with a "In Range" boolean value. 

 

Two additional points there: 

1. I have not tested that;

2. It would be very inconvenient to place many string indicators if you desire to display tip strips for many SubPanel elements. 

---

While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that... 🙂

Chart zoom with "Mouse Over" effect
0 Kudos
Message 3 of 5
(3,036 Views)

Thanks for your reply, Jeff and Giedrius.

Sometimes doesn't mean some controls. A control with a tipstrip, when loaded in a subpanel, shows tipstrip sometimes and sometimes not ( i.e. it is sporadic)

0 Kudos
Message 4 of 5
(3,007 Views)
Are you registering FP activity outside the sub-panel?  Tip strips show on a mouse hover while the pane the control is on is the active pane.  One of the caveates of multi pane FP's is that the sub-panel can lose focus to the top pane.  You could use a property node to force the sub panel to maintain focus or use the mouse enter - leave events to programatically display the tip strips

"Should be" isn't "Is" -Jay
0 Kudos
Message 5 of 5
(2,982 Views)