Welcome, Guest
Please Login or Register.    Lost Password?

Global variables
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Global variables
#4294
Global variables 7 Years ago  
Can you please add global variables that can be accessed from all windows? For example, I want to use variables to set the color of my skin, but I need one for each window. It would be better if I could have a global variable for color that applied to all the windows.
nick2588
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Gender: Male nick.afraid.org
The administrator has disabled public write access.
 
#4298
Re:Global variables 7 Years ago  
The manual says this:

window - Defines the window where the variable is defined. If the same variable is used in several windows you need to create a separate element for each window. If this attribute is not defined the variable is set in all windows (and it will also show in the settings dialog for every window)

Have you tried it like that? Does it work?
Rainy
Moderator
Posts: 5963
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#4302
Re:Global variables 7 Years ago  
It does not work.

The variables does indeed appear in the Settings dialog for all the windows, but I cannot access it from the other windows in the XML file.
nick2588
Fresh Boarder
Posts: 11
graphgraph
User Offline Click here to see the profile of this user
Gender: Male nick.afraid.org
The administrator has disabled public write access.
 
#4304
Re:Global variables 7 Years ago  
Ok, I'll check that out.
Rainy
Moderator
Posts: 5963
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop