LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

move objects between 2 list fields

Hi,

I'm using 2 list fields where the user can move the objects from one list to the other or back again using the mouse like "drag and drop".
This works fine when the program is running as VI.

But after building the application, the "drag and drop" is no more working.

I'm using german Labview 8.0 and the following properties are set to TRUE:
- Verschieben möglich ( move allowed )
- Ablegen zulassen ( drop allowed )
- ZiehenAusElementZulassen ( move from element allowed )

Verschiebemodus ( move modus ) = "move only"
SelModus = 1

How can I solve this problem?
0 Kudos
Message 1 of 8
(3,153 Views)
Hello Bernhard,

Can you post your VIs?

Stefan
0 Kudos
Message 2 of 8
(3,135 Views)
Hi Bernhard,

Attached you can find, VIs and a exe which does Drag & Drop between list fields; But move modus = "copy or move"
Hope this helps

Stefan
Message 3 of 8
(3,121 Views)
hi,
 
can U pls post Ur VIs saved for LV 7.1, as I dont 've LV8...
 
rgds,
Partha.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 8
(3,106 Views)
Hi Stefan,

the principle is like your example.
The VI works fine.
But drag&drop.exe doesn't work on my PCs.
( Win2k Sp4 and WinXP Home Sp2 )

Markus
0 Kudos
Message 5 of 8
(3,105 Views)
hi All,

Is the List Field, about which U fellas are talking, different from a List Box available in LV7.1 or the same ?

Pls clarify me...

One more query. Are these Properties & Events available only in LV8 or in LV7.1 too ?

Pls post the VIs saved for LV7.1.

rgds,
Partha.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 8
(3,098 Views)
I have a solution without "drag&drop".
Just 2 Buttons "<<<" and ">>>".

List1.Wert <>-1 : ( + means add to array, - means delete from array )
List2.Objektnamen=List2.Objektnamen + List1.Objektnamen[List1.Wert)
List1.Objektnamen=List1.Objektnamen - List1.Objektnamen[List1.Wert)

List2.Wert <>-1 : ( + means add to array, - means delete from array )
List1.Objektnamen=List1.Objektnamen + List2.Objektnamen[List2.Wert)
List2.Objektnamen=List2.Objektnamen - List2.Objektnamen[List2.Wert)

This works fine.
I think I have to do something like this with event structures.
Thanks for help. I'm looking for future tips.
Back on 18. september.

Markus
0 Kudos
Message 7 of 8
(3,096 Views)
Here is the VI in Version 7.1

Stefan
0 Kudos
Message 8 of 8
(3,088 Views)