Sigma Php Ajax framework, Ajax Components, GUI Builder
May 23, 2012, 09:51:41 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How do I create variables that are globally available?  (Read 586 times)
dman65
Jr. Member
**
Posts: 6


View Profile
« on: October 29, 2009, 03:08:02 PM »

So far for variables that I need to access globally I have been creating an invisible label. While this works for strings and numbers, it doesn't work so well for objects.

Is there some method to go about declaring a variable that I would be able to access from any event that occurs?

For instance, someone searches for an employee and finds the right one. I might want to create a variable call glEmpID that holds that employee ID. Now when I perform any employee related actions the system uses that ID to access information about that employee.

Logged
linb
Administrator
Hero Member
*****
Posts: 435


View Profile
« Reply #1 on: October 29, 2009, 05:22:53 PM »

Every linb.UI control has 'tag' and 'tagVar' properties.

Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!