|
Mizui Newbie
Joined: 05 May 2010 Posts: 6
|
Posted: Wed May 05, 2010 10:25 am
Multistate Trigger and Button |
Is there a easy way to access to the 2nd state trigger/button pattern/caption using the cmud gui?
After I created trigger a, using #condition adding a state to the trigger works fine, but there is no obvious way to look at the pattern at 2nd and on state pattern.
Same for the multistate button also. Adding a state on a button is easy ... but I can't review the caption and cmd after I did.
Is there a way to go around this? or am I just dumb and miss something? |
|
|
|
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Wed May 05, 2010 1:56 pm |
In the Package Editor, find the multistate button or trigger. Next to it should be a plus sign, "+", just like you see next to your classes. Click on the plus sign to see the contents, i.e. the scripts inside the class or the substates of a trigger or button.
|
|
|
|
Mizui Newbie
Joined: 05 May 2010 Posts: 6
|
Posted: Wed May 05, 2010 2:44 pm |
intuitively I was looking for that +. For some reason that + never show up for me.
From the last pubic version of cmud to the newest beta ... I wonder if there is anyway to fix this? or did I get some setting wrong? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed May 05, 2010 4:37 pm |
Make sure in the View menu of the package editor that the "Group by Class" option is selected. Otherwise I can't think of any way for the + to not be shown. It's a Windows TreeView component, so it's up to Windows to draw the + widget.
|
|
|
|
Mizui Newbie
Joined: 05 May 2010 Posts: 6
|
Posted: Wed May 05, 2010 10:33 pm |
I think there is something wrong with my cmud.
I check the group by class option as you have told me, and it still doesn't show the pattern and cmd of all the substates.
I can work around the multistate button (clicking the button to change the state, and the caption and cmd will switch) but not the multistate trigger.
Also I have been having issue with clicking an item (class folder, trigger, button, and whatnot) on the tree menu ...
Sometimes when I click it and it bounce me back to the default folder
Unless I open it on a seperate tab, otherwise it will keep doing it.
Even if I open it on another tab, sometimes it still won't work.
I used to think this is normal because it is a beta version, but I don't think so anymore.
Now I am wondering if there are any setting with the window that might cause this?
I am using cmud 3.16b and window xp sp3 with everything up to date.
On a side note, does cmud works better on win 7 than on xp? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Wed May 05, 2010 11:16 pm |
Sounds like your setting file is corrupted. Try doing an Export All and save the XML file. Then delete or rename your *.pkg file, then run CMUD and open your session offline. It will create a new, blank package file. Then go into the package editor and use the File/Import option to import the XML file you saved in the first step.
If the + appears next to the main window object then it should be displayed next to triggers and buttons with multiple states, but it's sounding more like your settings are corrupted and CMUD doesn't think you have multiple states for your buttons or triggers.
CMUD supports some Win7-specific features, but should still work just fine on XP. |
|
|
|
|
|