Home > Code Library > SmartMenuXP > Parent

Last Update 01 Nov 2001

 


Search:



  

Options:

   

   

   

   



SmartMenuXP Reference

Parent Property

Returns the parent ID of the menu item.

Syntax

object.Parent(menuID)

The Parent property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartMenuList object.
menuID A numeric expression that evaluates to a menu item.


Remarks

Every menu item has a parent. Menu items on the menu bar always have Parent = 0.

 
Copyright © 2001, Andrés Pons (andres@vbsmart.com). All rights reserved.