CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

TIWCGJQMenu - available properties

General discussion

by ScottWGast » 15 May 2014 16:59

I am using TIWCGJQMenu as a menu bar across the top of my grid. I would like to use the same OnClick event for all of the TIWCGJQMenuItems, but the only thing coming across in the OnClick event. AParams.CommaText is:

'submitevent=MenuItems.Items[7].OnClick,ComponentName=menuEmailEdit'

Obviously, I can parse the value of "submitevent" to retrieve the "7" in order to determine which menu item was clicked, but I'm wondering if there is another property that I can add to BrowserParams to make it a little easier to figure out which TIWCGJQMenuItem was clicked.

'Course, I could set the TIWCGJQMenuItem.Tag property to determine which menu item was clicked...

TIA!
Scott
ScottWGast
 
Posts: 875
Joined: 23 May 2012 11:02

by Jorge Sousa » 15 May 2014 17:27

hi

Sender is the menu Item itself, Item.Index is the same
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58


Return to General - Archive

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.