CADability dotNET
Checks, whether a Focus change from oldFocus to newFocus implies a focus change to "toTest" or one of its child entries from some entry outside of "toTest". If newFocus is not toTest or one of its children "false" is returned. If the focus changes from one child of toTest to another or from a child of toTest to toTest itself or from toTest to one of its children, false is returned.

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

Syntax

C#
bool FocusEntered(
	IShowProperty toTest,
	IShowProperty oldFocus,
	IShowProperty newFocus
)
Visual Basic
Function FocusEntered ( _
	toTest As IShowProperty, _
	oldFocus As IShowProperty, _
	newFocus As IShowProperty _
) As Boolean
Visual C++
bool FocusEntered(
	IShowProperty^ toTest, 
	IShowProperty^ oldFocus, 
	IShowProperty^ newFocus
)

Parameters

toTest
Type: CADability.UserInterface..::..IShowProperty
the entry beeing examined
oldFocus
Type: CADability.UserInterface..::..IShowProperty
the entry that lost the focus
newFocus
Type: CADability.UserInterface..::..IShowProperty
the entry that got the focus

Return Value

true if toTest lost the focus

See Also