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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

UI-Control for feature selection (reference)

LarsZiegler
8-Gravel

UI-Control for feature selection (reference)

Hello!

I want to select features or references in an UI dialog for Wildfire 3.0.

It would be fine to have the same style like in the dialog for sketched curves or sketch orientation.

Do anyone know how to make these controls(InputPanels?) ?

Background yellow, click on it activates a selection... and so on.

Hope you know what I mean.

Greetings Lars


This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2

Lars,
This should be doable in WF 3.0. The control you're looking for is a
ProUIInputPanel. In the resource file (.res) you would put an InputPanel
in your Components section and set properties in the Resources section.
Actually...here is a better way to determine how to setup the resource
file. Open Pro/E and begin a feature creation operation that displays a
dialog which has an InputPanel control that behaves the way you want yours
to behave. Open the trail file and see what dialog was opened. Then look
in the <pro loadpoint=">\text\resource directory for that .res file. Then
find the InputPanel and copy it's properties into your .res file.

1. To make the background yellow set the .BackgroundColor attribute.
2. Use the ProUIInputPanelFocusInActionSet callback to begin the
ProSelect operation.

Read the API Wizard under User's Guide->User Interface: Dialogs->Input
Panel (WF 4.0). The path in the WF 3.0 UG should be similiar.

Patrick Williams
Sr. Systems Engineer II
Mechanical Engineering Solutions
Missile Systems
Raytheon Company

+1 520.545.6995 (business)
+1 520.545.6399 (fax)
-

TU/M12/8
6221 S Palo Verde Rd
Tucson, AZ 85706 USA
www.raytheon.com



This message contains information that may be confidential and privileged.
Unless you are the addressee (or authorized to receive mail for the
addressee), you should not use, copy or disclose to anyone this message or
any information contained in this message. If you have received this
message in error, please so advise the sender by reply e-mail and delete
this message. Thank you for your cooperation.



Hi Patrick,

good idea with the trailfile. It was not so easy to find out wich res it is.

But i got it. It was datum_sket_tab.res.

So i found out that it isn't an InputPanel.

Its not possible to change the background color by the API.

The control is a table. So i try to do that...!

Keep swinging,

Lars

Announcements
NEW Creo+ Topics: Real-time Collaboration


Top Tags