AfrFoundation Macro AddAccessChild

Macro AddAccessChild (variableName,childName)
Declares an access to add in a container.
Role: Container's accesses are chained. The access is attached to its container by this macro at the end of the container's children list. To chain accesses you use the macro. If an access with the same name already exists in the container, it is replaced by the given access.
Parameters:
variableName
The pointer to the container's instance. This pointer is created by
whose classname parameter can be:
CATCmdContainer
The container is a toolbar. childName is the last access of the toolbar
CATCmdContainer
The container is a menubar. childName is the last menu of the menubar
CATCmdWorkshop
The container is a workshop. childName is the last toolbar of the workshop
CATCmdWorkbench
The container is a workbench. childName is the last toolbar of the workbench
childName
The pointer to the last access instance

This object is included in the file: CATCreateWorkshop.h

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.