LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Menu API

Solved!
Go to solution

Hello,

I am a beginner for labview. I am trying to create a menu strip and I am using the one which was posted in the forums. i.e .NET Menu strip. I am getting an error saying

Error 1172 occurred at error calling static method system.drawing.color.fromargb

Value of '986895' is not valid for red

 

I know that I am converting the color to rgb and the value for red should be between 0 to 255. I have coded exactly as shown in examples, but I think I have missed out something. Kindly help me with this. Also, I have attached my vi for reference.

 

 

“Talk is cheap. Show me the code.”
― Linus Torvalds
0 Kudos
Message 1 of 2
(2,465 Views)
Solution
Accepted by topic author arupoon8

Well I found out the reason it was not working. I had wired the resolved color of ColorToRGB to Red of FromArgb. Hence the error. Smiley Embarassed

“Talk is cheap. Show me the code.”
― Linus Torvalds
0 Kudos
Message 2 of 2
(2,424 Views)