LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Mouse Pointer on Table

Dear All,

I am displaying some values on the table.

but, when i run my VI, the mouse pointer becomes different when i move it on table. it becomes some sort of editable one.

How can i show the standard mouse pointer to move on the table ?

 

Thanks,

Ritesh

0 Kudos
Message 1 of 17
(4,365 Views)

Dear Ritesh,

If you are using a table control and do not wish the user to edit the information in the table whilst the VI is running, you can simply disable the table.

Right click the control -> advanced -> enabled state -> disable.

This will still allow you to display information, but the user will not be able to edit the table (so the cursor will not change).

 

Let me know if this solves your problem.

 

John

AE
NI

 

Message Edited by John.P on 09-30-2008 02:23 PM
------
John.P | Certified LabVIEW Architect | NI Alliance Member
0 Kudos
Message 2 of 17
(4,362 Views)

Dear John,

I wouldn't like the user to edit the information by just clicking on the cell and editing it.

I want to give an "edit" option in the shortcut menu. Only through shortcut menu a user can edit the info in the table.

Let me know how to approach it.

 

Thanks,

Ritesh

0 Kudos
Message 3 of 17
(4,339 Views)
Help!!!
0 Kudos
Message 4 of 17
(4,322 Views)

Hi Ritesh,

 

   If you dont want to edit a table by just clicking on it, make the table as an indicator or you can disable the table.

Hope this may help you. Let me know if anything more.

0 Kudos
Message 5 of 17
(4,319 Views)

Hi,,

 

            If you want to edit the cell only when you click on edit button from the menu, create an event structure and  when you select edit make the table property to enable by passing 0 value and in the initial make it disable by default. let me if this solves your problem.

0 Kudos
Message 6 of 17
(4,317 Views)

I thought of this idea and even executed it. But, it didnt work.

Issues:

1) i want to make the background of the cell where i click the left button as blue. disabling the table will not change the color of cell when i click on it.

2) Right mouse click should give me an option to edit the content of that cell.

 

Just let me know how is it possible.

 

Thanks,

Ritesh 

0 Kudos
Message 7 of 17
(4,316 Views)

Hi Ritesh ,

   check with this example let me know if any issue

 

Regards

Geetha

0 Kudos
Message 8 of 17
(4,301 Views)

Hi Geetha,

I looked at the VI you sent.

Unfortunately, it doesn't seem to solve my problem.

 

Issue:

First setp you are doing is to make the table "disable." 

And when the menu item is selected you are setting it to "enable" state. And after that it will always remain in the "enable" state and will never go back to "disable" state.

 

What i want is once the cell is edited the table should again go back to the "disable"  state.

 

Regards,

Ritesh

0 Kudos
Message 9 of 17
(4,289 Views)

Hi Ritesh,

 

Have a look at this. I have added one more event to the table.vi sent by Geetha. So the table will be disabled again once you move your mouse cursor out of the table.

 

Regards

 

Vaibhav

.......^___________________^
....../ '---_BOT ____________ ]
...../_==O;;;;;;;;_______.:/
.....),---.(_(____)/.....
....// (..) ),----/....
...//____//......
..//____//......
.//____//......
..-------
0 Kudos
Message 10 of 17
(4,283 Views)