>in vfp6 I have a pageframe with 4 pages
>on one of the pages I want to cancel a mouse click
>that moves to another page if certain things are not done.
>I have tried to clear typeahead and setfocus back to the same page.
>That doesn't do it.
>Any ideas
In the click event of the next page (say page 3) set the focus back to the current page (say page 2).
if KensCondition = .T.
thisform.pageframe1.page2.setfocus()
endif