09-30-2008 08:07 AM
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
09-30-2008 08:22 AM - edited 09-30-2008 08:23 AM
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
09-30-2008 01:25 PM
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
10-01-2008 01:24 AM
10-01-2008 02:19 AM
10-01-2008 02:38 AM
10-01-2008 02:38 AM
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
10-01-2008 03:00 AM
10-01-2008 03:38 AM
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
10-01-2008 04:06 AM
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