AccelTables property

Microsoft Visio Developer Reference

AccelTables property

       

Returns the AccelTables collection of a UIObject object.

Version added

4.0

Syntax

objRet = object.AccelTables

objRet

An AccelTables collection.

object

Required. An expression that returns the UIObject object that owns the collection.

Remarks

If a UIObject object represents menu items and accelerators (for example, if you retrieved the object using the BuiltInMenus property of an Application object), then its AccelTables collection represents tables of accelerator keys for that UIObject object.

To retrieve accelerators for a particular window context, for example, the drawing window, use the ItemAtID property of an AccelTables collection. If a window context does not include accelerators, it has no AccelTables collection. For a list of valid window context IDs, see the SetID property.