LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

list : highlighted row versus dotted box?

Hi,

can someone explain me what the "dotted box" around a row's  list corresponds to?

 

I indead have a problem when programmatically reordering the rows and changing the selected row: the highlighting colored box separates from the dotted box (see picture). I could not find out how to "merge" them back. This looks very strange and is confusing to the user because it is not clear which one of the two rows is really selected.

Is there a trick to fix this?

(Note: for this list the cells are editable)

 

Second question: why is there a "dotted box" also on row's list where the cells are NOT editable? Is there a way not to show it?

 

Thanks.

0 Kudos
Message 1 of 4
(2,820 Views)

Hi Titi_nico,

 

I tried to reproduce this behaviour but I didn't succeed.

First, which Labview version are you using?

Then, could you add your code in attachments so that I will be able to help you. 

 

Laurent P

Application engineer

National Instruments

0 Kudos
Message 2 of 4
(2,766 Views)

Here is an example.

I use LV8.5

 

The problem appears after editing a row: the list elements are sorted and the list selection is moved to the edited item. But the dotted box remains at the previous position which causes the problem.

0 Kudos
Message 3 of 4
(2,755 Views)

Hi Titi_Nico,

This problem has been encountered before, there is a workaround where you simulate a mouse click in the listbox to remove the dotted box.

Check out the following forum posts for details, hopefully implementing the simulated mouse click with resolve this for you.

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=217365&requireLogin=False

http://forums.ni.com/ni/board/message?board.id=170&message.id=252075&requireLogin=False

 

Best Regards,

John P

AE
NI

------
John.P | Certified LabVIEW Architect | NI Alliance Member
0 Kudos
Message 4 of 4
(2,739 Views)