LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Find UI objects on tab control panel not working

'Find UI object' works for controls on a panel in CVI 8.  It doesn't seem to work for controls on a tab panel.  Returns: No UI object found for identifier 'xxxxxxx'.  Is anyone else having problems with this?
 
Orlan
0 Kudos
Message 1 of 10
(4,698 Views)
Hello Orlan,

I'm having exactly the same problem...
0 Kudos
Message 2 of 10
(4,677 Views)
Hello Orlan,

I was able to reproduce this behavior and have reported it the CVI development team.  Thanks for the feedback!
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 3 of 10
(4,654 Views)
Hello Orlan and Wim S,

As a correction to my last post, I actually am unable to reproduce the problem you are seeing.  I mistakely tried to use Find UI Object on a panel index (PAGE_ONE on the TabExample shipping example) instead of a control ID.  So could you post example code showing the behavior you are seeing?

Thanks again!
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 4 of 10
(4,631 Views)
Hi,

It looks like this problem occurs only if you don't also have the .uir open.  I will report the problem so that it can be fixed in a future version.  Thanks for catching this.

Mert A.
National Instruments
Message 5 of 10
(4,628 Views)

Hi Mert,

  I think you caught it.  To sum up, if you Find UI Object... for a control on a panel that isn't open, then the IDE opens the panel and then sets focus to the control.  It simply isn't doing the same for controls on a tab panel (as far as opening the UIR) but atleast it will set focus to the control on the tab panel if the appropriate UIR is open.

Orlan

Message Edited by cosmo on 12-22-2005 05:18 PM

0 Kudos
Message 6 of 10
(4,627 Views)
For the record, this problem still seems to be present in 8.0.1.   Hopefully it is still on "the list"....
 
--Ian
0 Kudos
Message 7 of 10
(4,420 Views)

Hey Ian,

  Thanx for the update.  I haven't loaded 8.0.1 yet, primarily because there were only a small number of fixes in it and few of them will help me out.  I agree, perhaps this one will make it into 8.0.2.

Orlan

0 Kudos
Message 8 of 10
(4,410 Views)
Hello Ian,

So you are right.  The fix for that problem did not make it into CVI 8.0.1, but as mentioned by Mert, this problem has been filed to be fixed in a later version of CVI.  Thanks for keeping an eye on this problem and for your patience.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 9 of 10
(4,394 Views)

Thanks for the confirmation, Wendy. I know what it is like trying to get all the way through the list of improvements everyone wants!

Orlan - my experience is that 8.0.1 is solid, so I'd say you should update when convenient. Some benefits you might not see, but could be apparent to your users (e.g. proper vertical text rendering when ClearType is enabled)

--Ian

0 Kudos
Message 10 of 10
(4,367 Views)