Examples: CheckFocusSpring

The following macro was recorded on a platform that didn’t allow focusing to push button controls. The focus is moved to the ZIP field. Then the Description button is clicked. Since the focus can't stay on the Description button, it “springs” back to the ZIP field.

CheckActiveWin dictionary 'default' form 'House_Entry' window 'House_Entry' 
	MoveTo field ZIP 
	MoveTo field '(L) Description Button' 
	ClickHit field '(L) Description Button' 
	CheckFocusSpring field Zip 

Documentation Feedback