Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Event Hanlder function Question
Junior Member

Posts: 3
Registered: 10/15/2004
Member Is Offline
posted on 11/1/2004 at 04:52 AM Reply With Quote
Event Hanlder function Question

So far I can associate a function with an event handler. For example: {'hs':'myfunction'}. The only param for myfunction is either item or tree. How can I pass a different param through this function. How do i call this funtion if it has an additional param?

View User's Profile View All Posts By User U2U Member

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 11/1/2004 at 11:29 AM Reply With Quote

You could assign this parameter in the item scope settings. E.g.:
So when you get tree item object in the handler function you can access the parameter value via o_item.a_config[2]['hs_param1']
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart

Go To Top

Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004