g_sures Posted September 15, 2010 Report Share Posted September 15, 2010 Hi all, Is it possible to find whether the control in the front panel is system or classic using any properties? Thanks in advance, Suresh Kumar.G Quote Link to comment
Francois Normandin Posted September 15, 2010 Report Share Posted September 15, 2010 There is a private property for this, called Style ID. It's available with scripting. Here's a snippet. Quote Link to comment
g_sures Posted September 17, 2010 Author Report Share Posted September 17, 2010 There is a private property for this, called Style ID. It's available with scripting. Here's a snippet. Thanks a lot francois. Is it possible to get the data type from that ID, or we need to have a look up table? Regards, Suresh Kumar.G Quote Link to comment
jgcode Posted September 17, 2010 Report Share Posted September 17, 2010 Is it possible to get the data type from that ID, or we need to have a look up table? Hi Suresh Some examples include: You can get the Class by this node and infer the datatype: Or if you have the data you get the Datatype like this: Cheers -JG Quote Link to comment
Francois Normandin Posted September 17, 2010 Report Share Posted September 17, 2010 Thanks a lot francois. Is it possible to get the data type from that ID, or we need to have a look up table? Regards, Suresh Kumar.G For datatype, Jon made good suggestions. For the styles, you'll need to create a look-up table. This "Style ID" will discriminate between System style, classic and modern... but I'm sure that the ID will change between Boolean, Combo Box & Numerics. If you want a universal look-up table, you should consider using scripting to create it: that's another question. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.