ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String array to a menu control

Solved!
Go to solution

Hi,

 

I want to display my Sheet name in Excel as a menu selection for the user. How do i make a string array as a menu control? Example i got 5 sheet name and how do i make it as control?

 

 

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

ander99 wrote:

Hi,

 

I want to display my Sheet name in Excel as a menu selection for the user.


You need use a drop-down control called Menu Ring in LV terms. Wire the sheet names you got by reading from the Excel file & wire the 1D Str array to the Strings[] property of that Ring control. You are done with...

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 2 of 7
(3,746 Views)
Solution
Accepted by topic author ander99
See the attached pics.
- Partha ( CLD until Oct 2027 🙂 )
Download All
Message 3 of 7
(3,743 Views)

Hi Parthabe,

 

Thank for your reply.

 

Regards

Ander

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

Sorry i think i phase it wrongly. Now actually i want to output a menu control to let users to choose and once user choose will output the same string as output instead of Values as 0,1,2,etc. If i use combo box, how do i link it up to make it work?

0 Kudos
Message 5 of 7
(3,712 Views)
I got this message when i use either combo box or menu ring. Currently i'm using MS word 2003 and after i run my VI i got this error "The message filter indicated that the application is busy". Is my way of using activeX cause this?
0 Kudos
Message 6 of 7
(3,707 Views)

ander99 wrote:

 

If i use combo box, how do i link it up to make it work?


You need to use the same Strings[] property to write the Excel sheet names to it. And remember to keep the Combo Box as a Control, if you want the user to select an item from it during the run-time.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 7 of 7
(3,669 Views)