Jump to content

Unable to edit listbox in xcontrol


Recommended Posts

Posted

Hai,

When I place a listbox on a VI frontpanel it is possible to edit the itemnames (the cells) by dubbleclick and start typing. However, when I place a listbox on the facade of a xcontrol en put this xcontrol on a VI frontpanel it is not possible to edit the items in this fashion. I have tried to get this behaviour by editing the event edit cells, but this event never happens. The listbox on the facade is set to editable cells (right click Editable cells).

Any suggestions to this?

Thanks

Posted

I just really quickly through together a VI and a XControl w/ only a listbox on the xcontrol and only the xcontrol on the vi. i'll try to attach later.

But I have to disagree w/ your statement because I can do a text edit on the listbox in the xcontrol.

Please post your example that you made so that we can see why it doesn't work.

Posted

I am making a fool out of myself here, I know, but I just cannot get it done. In your movie it looks as if you are switching to run mode before editing a line, what are you doing exactly? Or has it something to do with me working on Linux?

Posted

It sounds like you want to add entries and I don't think thats easily possible. But if you want to get fancy, add a right click context menu entry to add an item, pop-up a dialog and then programatically add the item, and then editing of the existing items happens as mike mentioned above

Posted

Well, now I do feel stupid. Though I must say on this system (Linux running on VMware) the behaviour is really not what I would expect. Not dubble click, no click many times, but click... count to three ... click. Thanks for your help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.