Jump to content
Developer Wiki and Function Reference Links ×

How to add static texts to OIP?


Stefan Bender

Recommended Posts

Dear developers,

 

for a new task I need to add a pair of (name, value) to the OIP of a PIO (see below). The texts need to be static and disabled. Sounds simple, but looking at the widget utility functions in the SDK I can not see how to do that. These functions assume that the values are part of the PIO's record format. But I need to write texts that are arbitrary values, no record fields. Currently I'm trying to define the widgets with type kWidgetStaticTextParam, but then the text at the right hand side of the OIP is empty and I don't know how to set it. SWidgetDefinition only contains a member variable fWidgetText (which would be the left one), but I can't see how to set the right hand value. Which widget type do I need to use and how can I set left and right hand text (as redlined in attached image) without having to "link" a record field to the widget?

 

Thanks for any help,

 

Stefan Bender

 

oip static.png

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.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...