Home > Code Library > SmartMenuXP > ChildCount

Last Update 01 Nov 2001

 


Search:



  

Options:

   

   

   

   



SmartMenuXP Reference

ChildCount Method

Returns a value that indicates the number of menu items for which the menu item specified as a parameter is the parent .

Syntax

object.ChildCount(Parent)

The ChildCount syntax has these parts:

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

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.