ATTENTIONThis FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices. |
flexsim.com |
#1
|
|||
|
|||
Locate objects from table
Hi everybody!
I need some help about GUIs. How can I know what cell the user has selected from a table in my gui? I need this information because for each cell of the table there is the name of an object in my model, and i want to zoom the view to the object as the user select a cell wich contains its name. Is there a better solution to focus the view right to a selected object? Thank you in advance bye |
#2
|
||||
|
||||
You can use the selectedobject() command to know which cell was clicked on in a table.
Attached is an example that shows how this can be done. |
The Following 4 Users Say Thank You to Phil BoBo For This Useful Post: | ||
Tom David (03-16-2010) |
Tags |
cell, guis, table, view, zoom |
Thread | Thread Starter | Forum | Replies | Last Post |
change the objects in self modeled objects | Manuel Kraenzle | Q&A | 7 | 10-27-2008 02:29 PM |
Can I make a column of a global table to type table? | qin tian | Q&A | 0 | 10-01-2008 09:27 PM |
Error: Cannot find the input table or query 'Objects'. | AlanZhang | Q&A | 8 | 05-04-2008 07:06 PM |