LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Expand ring control or menu control programmatically

Hi Is there a way how to expand these controls programmatically?

 

I think it cannot be done, right?

 

Clement

0 Kudos
Message 1 of 7
(3,345 Views)

What do you mean by expanding?

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 7
(3,338 Views)

This

 

 

This

 

Clement

0 Kudos
Message 3 of 7
(3,323 Views)

No, there is no property or method for this, even not in scripting.

Well, I have to say, I didn't find one.

 

 

Christian

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

I think you can expand it by simulating a mouse click on the control:

About simulating the mouse click see here:

http://digital.ni.com/public.nsf/allkb/C5EDD606E6083DA1862573010001A5BD

 

and here:

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=300976&query.id=2037363#M300976

Message 5 of 7
(3,305 Views)

Good Idea Marco, this works!

 

You can then read the position of the control via property node and pass it to the DLL.

 

The only thing what I don't like is that if the user unintenionally moves the mouse in the same moment you want to click the control programmatically it might not work because of the wrong coordinates.

 

 

Christian

0 Kudos
Message 6 of 7
(3,296 Views)

AutoIt should be usable to perform a programmitacally mouse-down.

 

Ton

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 7 of 7
(3,276 Views)