SAPHIR - Toolkits Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

drag/drop between main VI and XTAB

Hi all,

I want to use the drag/drop function of labview to drag item and drop them in a graph displayed in the XTAB. See the Labview code.

It seems that the drag event of XTAB doesnt work. The main idea is to detect that something was dropped in the graph of the XTAB and to get the dropped data (string and array).

any suggestions?

Regards,

Cedric

Download All
0 Kudos
Message 1 of 3
(4,651 Views)

Hello Cedric,

I didn't have time to look at your code. Anyway as far as I understand you are trying to use Xtab drag events instead of the graph drag event. Xtab do not manage this, it only display a VI in a subpanel.

Manage your D&D action in the VI containing the source object (drag start event) and in the VI displaying your graph (drag enter and drop event).

We are doing this (and a bit more ) in our application Topaze.


Olivier Jourdan

Wovalab founder | DQMH Consortium board member | LinkedIn |

Stop writing your LabVIEW code documentation, use Antidoc!
0 Kudos
Message 2 of 3
(3,293 Views)

Ok, I find why it didnt work. I forgot to run the subVI.

Cédric

0 Kudos
Message 3 of 3
(3,293 Views)