Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set the focus in different pages of a pageframe 2

Status
Not open for further replies.

mdav2

Programmer
Aug 22, 2000
363
GB
I want to click a command button in page 1 of a pageframe and set the focus to another button in page 2.

I think it is something to do with the activepage but cant seem to set this.

Any help is most appreciated
 
mdav

WITH THISFORM.pgfFrame1
[tab].ActivePage = 2
[tab].Page2.cmdButton1.Click()
ENDW

Chris :)
 
Hello.

I think that in the previous message is a typo. It should be:

WITH THISFORM.pgfFrame1
.ActivePage = 2
.Page2.cmdButton1.SetFocus()
ENDW

Hope this helps Grigore Dolghin
Class Software
Bucharest, Romania
 
Hello All,
I am not strict nor hard man but may i suggest something

- If you ask about something, then there are some responses. If it helps or not, plz reply and let the others know.

- Why many man keep silent after others reply their posts. Not a thanks or something like that.

I hope this will not hurt you!

Jimmy
Jimmy Le
nhan_tiags@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top