Programming with Reflection

image\rwnprg32.gif GetNumButtons method


Syntax NumButtons = object.GetNumButtons



Returns the number of toolbar buttons.


NumButtons Return type: Integer
The number of buttons on the toolbar.

Note: Because this method returns a value but does not take any arguments, some OLE clients return an error when you try to use this method. If this happens, try appending parentheses to the end of the command. For example:

howMany = myobject.GetNumButtons( )


image\jump.gif Example

image\jump.gif Keyword Index

image\popup.gif Related Topics

image\popup.gif Reflection products that use this command