Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Update Component Highlight while a Winform is Active

Is it possible to update a components hilight status while a winform is active? I tried the obvious Component.Highlight() with no change.

3 REPLIES

Re: Update Component Highlight while a Winform is Active

 

I have seen intermittent cases where I could not get Highlight() to perform quite as expected. 

 

Somtimes you can fix this if you add Component.RedisplayObject() after you call Highlight().

 

If that doesn't work, you can try the UF wrapper:

 

ufs.Disp.SetHighlight(yourObject.Tag, 1)

 

And then you might also need

 

ufs.Disp.RegenerateDisplay()

 

Please let us know if one of these works in your case.  I should mention that the cases described above were not specifically tested with a winform displayed.

 

Thanks!

 

Re: Update Component Highlight while a Winform is Active

I tried both methods and neither worked. The ufs.RegenerateDisplay() does make the screen flash but the components are still not taking the highlight.

Solution
Solution
Accepted by topic author todmit
‎08-26-2015 04:32 AM

Re: Update Component Highlight while a Winform is Active

 

In that case, please log an IR with GTAC so we can investigate thoroughly.

 

Also, do you see the same behavior with any assembly?  If we don't need your parts to reproduce the issue it speeds everything up a bit.  Thanks!