Repository.Control.GetAllXfmeaControls

Gets a list of all existing Xfmea controls in the current project. Returns a cXfmeaControl object array that contains the control names, ID numbers and other information.

Syntax
.Control.GetAllXfmeaControls

Example
This example assumes that Xfmea controls exist in the first available project of a repository.

VBA|VB.NET MyRepository Repository ListofControls cXfmeaControl MyRepository.Project.SetCurrentProject (1) ListofControls = MyRepository.Control.GetAllXfmeaControls ControlName String ControlID Integer ControlName = ListofControls(0).Name ControlID = ListofControls(0).ID MsgBox (ControlName & ControlID)