04-27-2011 05:26 PM - edited 04-27-2011 05:32 PM
Using the type parameter of the Terminal is the best way to get the type of a control. If you try to do something like "get the value of the control and then ask for the type of that", you run into problems with LV classes and refnum types where the type of the value might be a child class of the type of the control.
Solved! Go to Solution.
04-27-2011 05:27 PM
This question is answered.
04-27-2011 05:45 PM
Where do you get the two enum constants? If I right click on style to create a constant it gives me an integer and not an enum.
04-28-2011 01:25 AM
Using the Create from Reference method seems easier:
04-28-2011 11:54 AM
@SteveChandler wrote:
Where do you get the two enum constants? If I right click on style to create a constant it gives me an integer and not an enum.
What version of LV are you using? At some point, this turned from an integer to an enum. I don't know what version, and since I wrote that code snippet using my dev build, it may be a version that hasn't released yet.
04-28-2011 12:16 PM
Aristos Queue wrote:What version of LV are you using? At some point, this turned from an integer to an enum. I don't know what version, and since I wrote that code snippet using my dev build, it may be a version that hasn't released yet.
I am using 2010 SP1