Jump to content

multicolumn listbox drag and drop fails when mouse down on empty


Recommended Posts

Steps to Reproduce

1) Place a Multicolumn Listbox on the Front Panel of a VI

http://forums.lavag.org/index.php?act=attach&type=post&id=5876

2) Right-click on the Multicolumn Listbox and choose:

Drag and Drop>>Allow Dragging

Drag and Drop>>Allow Dropping

Both Allow Dragging and Allow Dropping should now be enabled/checked.

3) Initialize the first column and the third column with some data, using the text tool.

http://forums.lavag.org/index.php?act=attach&type=post&id=5877

4) Attempt to drag and drop some of the rows to reorder them.

Observed Results

Note that you can drag and drop only if you mouse-down on the first or third columns (having text). If you mouse down on the second column (with no text) drag and drop does not work.

Expected Results

I would expect drag and drop to work, as long as I mouse down on any column of a row that has at least one initialized column.

http://forums.lavag.org/index.php?act=attach&type=post&id=5878

Another Oddity...

Add some text to one of the empty cells.

Now, highlight the text you just added and press the delete key. Try to drag and drop the row containing the cell whose text you just deleted by mousing down on that cell. Note that drag and drop now works when mousing down on that cell. However, it does not work when mousing down on any of the other empty cells (the ones that never had any text).

From this last oddity, it leads me to believe that I might be able to work around this bug by initializing the empty cells, somehow. Perhase this can be done by writing empty strings to these cells.

Link to comment

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.