LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Editable listview

Is it possible to edit at runtime by a user the subitems in ListView ActiveX control ?
If yes, could someboby post some examples of this code.
 
Thank you.
0 Kudos
Message 1 of 7
(4,546 Views)

Could you short tell me what product of NI do you use ? Labview or CVI and what version ?

In Runtime you could only edit what you have programmed before with property or invoke nodes - not more

Best Regards

0 Kudos
Message 2 of 7
(4,516 Views)

Hello Mr. Wagner

thank you for answering, i am using LabWindows/CVI 8.5. I have tried to programm an at runtime editable listview activex control. For example i would like to change the subitem values by typing on the keyboard a new text in it, something like you can do it in C++ or Visual Basic 6.

But i could not find out how to make the subitens editable at runtime.

If there is a way to make it possible, please post a little example.

Thank you.

0 Kudos
Message 3 of 7
(4,504 Views)

i attached here a screenshot how you have access to the sub items properties and methods in labview. The same is in labwindows/cvi. Hope there is the right issue you need e.g.

property value - connect it to a value control and so you can change write it while runtime...

0 Kudos
Message 4 of 7
(4,501 Views)

Just curious as to why you are using an activex control instead of the native tree control in CVI?

 

You can edit CVI tree control items at runtime by hitting <F2> (if the attribute ATTR_NO_EDIT_LABEL is not set).

0 Kudos
Message 5 of 7
(4,480 Views)

Well, the tree control is not realy what i need. I could not find any possibility to view data as a table in this control.

If you can show me how i can do this, i would appreciate your help.

Thank you.

0 Kudos
Message 6 of 7
(4,461 Views)
Thank you, Mr. Wagner for your help.
 
I can fill out the listview control with listitems and with subitems, i can fill out the values of subitems, but this values could not be changed  by a user at runtime.
In a file you posted i think what is about. But i could not understand how to solve my problem anyway.
 
Boris
0 Kudos
Message 7 of 7
(4,460 Views)