better is to use the last key PUBLIC SUB Menuname_Click() and do everything with the menu item with the properties Last.xxx = ...
2009/11/29 Matti <[email protected]>: > What is the need for the index? > A menu has a name. > You can react to the click event with > PUBLIC SUB Menuname_Click() > and do everything with the menu item with the properties > Menuname.xxx = ... > enable/disable, check, and so on. > > Matti > > > David Dell schrieb: >> How can I get the index of a menu in the collection of children of its >> parent? There is no Menu.Index property. >> >> Thank you, >> David > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
