cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. X

Scripting list box

ochristensen
2-Explorer

Scripting list box

Hi

I'm trying to use list boxes in a document, but I'm not able to find any proper guides to scripting. What I'd like to do is controlling the list items from the output of another list box. A given item is only to appear (or is greyed out) unless certain items are choosen in the other list box.

Thanks in advance.

Ole

ACCEPTED SOLUTION

Accepted Solutions

Try this:

Help -> Developer's Reference -> Mathsoft Controls

Scroll to the bottom of this help page and click "Mathcad Example"

Scroll down to:

Click on the "Mathsoft Controls" link.

Scroll down to "Mathsoft List Box."  It has an example of what you've requested (one list box dependent on the other).

View solution in original post

3 REPLIES 3

Try this:

Help -> Developer's Reference -> Mathsoft Controls

Scroll to the bottom of this help page and click "Mathcad Example"

Scroll down to:

Click on the "Mathsoft Controls" link.

Scroll down to "Mathsoft List Box."  It has an example of what you've requested (one list box dependent on the other).

You may also be interested in Richard's fine collection:

Extra Components and Controls - PTC Community

RichardJ
19-Tanzanite
(To:Werner_E)

You may also be interested in Richard's fine collection:

Extra Components and Controls - PTC Community

that includes a scripted list box that will do exactly what is requested, because it can be populated from an input. No extra programming required

Announcements

Top Tags