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
|
|||
|
|||
GUI and globletable colliding
I’m trying to make a (I think) simple GUI. All it hast to do is copy values to global table. I have used some tips and trics from this forum and its seems to work. Values from the GUI end up in the table. Except when I open the globletable and the GUI at the same time. Most of the time after a few kliks. The result is that the name of the table is deleted. After that flexsim crashes. Trying to find out what the problem is, I made a simple model whit the same functions. The GUI has a -checkbox using a coldlink and apply -combobox using a hotlink and onkillfocus and -edit fields. combobox using a hotlink and onkillfocus It has the same problem. I have posted the simple model. Has anybody a idée what I am doing wrong? |
#2
|
||||
|
||||
The applylinks() in the OnKillFocus of the combobox is causing the problem. I'm not sure exactly what is happening or why, but you can easily fix it by changing that OnKillFocus to an OnSelect.
You could also add a repaintall() command after your applylinks() there in order to see your changes in the table immediately. |
The Following User Says Thank You to Phil BoBo For This Useful Post: | ||
FrankJanssen (01-07-2011) |
Thread | Thread Starter | Forum | Replies | Last Post |
Can’t stop cranes colliding | Kenny Macleod | Q&A | 8 | 07-16-2008 10:18 AM |