|
kaeus Newbie
Joined: 27 Oct 2001 Posts: 3 Location: USA
|
Posted: Sat Sep 06, 2008 4:59 pm
Problem and Question |
Well, first my problem.
I currently have a lot of buttons for my main window. Unfortunately, when I use another window in the same session, it acquires all those buttons as well.
I dont know if its a bug, but here is my screen.
My question would be, is there any way to capture input to a separate window?
I'm currently using an oninput trigger that looks like this
Code: |
#IF (@input=1)
{
#GAG
#NOINPUT
#ECHO No Input: %1 STOPPED
}
{
#CAP input
#GAG
}
|
I want the input to be gagged from the main window and put to the other window. Also, will this capture input from my triggers and buttons? |
|
|
|
Zugg MASTER
Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Sun Sep 07, 2008 5:16 pm |
Sounds like you have your buttons within a global Module. If you only want the buttons within a single window, then only create the buttons within that particular window. If you have buttons in another package, then you need to go to each of your window objects in the settings editor and enable or disable the package with the buttons for each window.
So, we need to know a lot more about the package structure you are using along with your windows. |
|
|
|
kaeus Newbie
Joined: 27 Oct 2001 Posts: 3 Location: USA
|
Posted: Sun Sep 07, 2008 5:23 pm |
Well, the buttons are within packages, but they are not global. The odd thing is the windows don't have those packages enabled at all. The packages dont even show up as being there.
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Sun Sep 07, 2008 7:50 pm |
According to that screen shot you have the buttons defined in a module. That module is part of the same package as both your windows which is why they show up in both windows.
I would suggest creating a new package, from PE menu "File|New Package". Then drag the Input window into that package. Finally set the Buttons module to Local, and adjust any of the other modules as needed. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|