CADability dotNET
Sets the focus to a given entry in a given tabpage of the controlcenter. The names of the standard tabpgaes are: "Action","Project","Global","View","Symbol". If resourceId is null only the specified tabpage is selected.

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
bool SetControlCenterFocus(
	string tabPageName,
	string resourceId,
	bool openEntry,
	bool popupCOntextMenu
)
Visual Basic
Function SetControlCenterFocus ( _
	tabPageName As String, _
	resourceId As String, _
	openEntry As Boolean, _
	popupCOntextMenu As Boolean _
) As Boolean
Visual C++
bool SetControlCenterFocus(
	String^ tabPageName, 
	String^ resourceId, 
	bool openEntry, 
	bool popupCOntextMenu
)

Parameters

tabPageName
Type: System..::..String
Name of a tabpage
resourceId
Type: System..::..String
resource id of an entry or null
openEntry
Type: System..::..Boolean
the subentries of this entry should be opened
popupCOntextMenu
Type: System..::..Boolean
the context menu of this entry should be displayed

See Also