Jump to content

Getting the 'Style' of FP Controls


JDave

Recommended Posts

Does anyone know how to get at the 'style' of controls? For block diagram nodes this is a simple property. Controls seem to lack this property. This style is a string that corresponds to a ring control describing what kind of native object it is. Is there another way to generate it, maybe from the class ID?

Thanks in advance.

David

Link to comment
Does anyone know how to get at the 'style' of controls? For block diagram nodes this is a simple property. Controls seem to lack this property. This style is a string that corresponds to a ring control describing what kind of native object it is. Is there another way to generate it, maybe from the class ID?

Thanks in advance.

David

Controls are entirely different objects than Nodes. I don't think you have any more distinguishable properties for controls than the Class Name itself.

Rolf Kalbermatter

Link to comment
Controls are entirely different objects than Nodes. I don't think you have any more distinguishable properties for controls than the Class Name itself.

Rolf Kalbermatter

Couldn't help making a reply before I can't do it anymore :thumbdown: I am not upset but I am saddened. I hoped to learn a bit more and contribute my first scripting tool... Oh well.

In response, you can replace controls (Invoke Node - Replace) with the internal style. And if you do the standard 'replace' from the right click menu, the replace would be using the style. I wanted to use the style of an existing control.

Now I am on my own... :headbang:

David

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.