Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Phantom Phocus - SetFocus()
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00931166
Message ID:
00931174
Views:
23
Okay, you were right. Here's what I did:
WITH ThisForm
	SELECT (.cTable)	&& Select the appropriate table for the Page of 
				&& the PageFrame the user is on.
	IF .cmdTransDist.Caption = "\<Transaction"
		.pgfAPTransaction.Page1.Click()
		.pgfAPTransaction.ActivePage = 1
		*.pgfAPTransaction.Page1.SetFocus()
		.pgfAPTransaction.Page1.txtdVoucherDate.SetFocus()
	ELSE
		.pgfAPTransaction.Page2.Click()
		.pgfAPTransaction.ActivePage = 2
		.pgfAPTransaction.Page2.SetFocus()
		.pgfAPTransaction.Page2.txtcAcct1.SetFocus()
	ENDIF
ENDWITH
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform