Jump to content

Two Stings On The Same Line


Recommended Posts

how can I get two string parameters to exist on the same line?

This works:

PRM_Template(PRM_STRING, 2, &names[0]),

but Ideally I'd like each of the fields to have a distinct name.

on a similar note is there a way to create a string parameter and hide the label that appears in the UI?

Many thanks

L

Link to comment
Share on other sites

*untested suggestion*

Have you tried using (PRM_STRING | PRM_TYPE_JOIN_NEXT) for the first parm and then just PRM_STRING for the second one?

I did this and it seemed to work:

PRM_Template((PRM_Type)(PRM_STRING | PRM_TYPE_JOIN_NEXT), 1, &names[0]),

PRM_Template(PRM_STRING, 1, &names[1]),

thanks for the help rob!

Luca

Link to comment
Share on other sites

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