Nov 23, 2004 #1 webmonger Programmer Mar 13, 2004 66 AU Is it possible to disable the 'click on tab' action at the top of each page as I have navigation buttons with special 'jump pages' etc? Thanks
Is it possible to disable the 'click on tab' action at the top of each page as I have navigation buttons with special 'jump pages' etc? Thanks
Nov 23, 2004 #2 ramani Programmer Mar 15, 2001 4,336 AE Hi In the PageN.ActivateEvent if you put the code NODEFAULT then users cannot activate that page. However, how do you activate the page?. 1. I would suggest that, you create a form property, let us say.. lPageActivate and set its inital value to .f. or .t. as you may decide. Then whenever your pageactivate button is clicked.. make the first line of code ThisForm.lPageActivate = .t. 2. In the ActivateEvent of each page.. put the code.. IF ThisForm.lPageActivate = .f. NODEFAULT ELSE DODEFAULT() ThisForm.lPageActivate = .f. ENDIF Hope this idea helps you out ____________________________________________ ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/ Upvote 0 Downvote
Hi In the PageN.ActivateEvent if you put the code NODEFAULT then users cannot activate that page. However, how do you activate the page?. 1. I would suggest that, you create a form property, let us say.. lPageActivate and set its inital value to .f. or .t. as you may decide. Then whenever your pageactivate button is clicked.. make the first line of code ThisForm.lPageActivate = .t. 2. In the ActivateEvent of each page.. put the code.. IF ThisForm.lPageActivate = .f. NODEFAULT ELSE DODEFAULT() ThisForm.lPageActivate = .f. ENDIF Hope this idea helps you out ____________________________________________ ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/
Nov 24, 2004 #3 Mike Lewis Programmer Jan 10, 2003 17,505 Scotland Webmonger, Rather than disabling the tabs, it would be better to make them invisible. To do so, set the pageframe's Tabs property to .F. Mike Mike Lewis Edinburgh, Scotland My Visual Foxpro web site: http://www.ml-consult.demon.co.ukMy Crystal Reports web site: http://www.ml-crystal.com Upvote 0 Downvote
Webmonger, Rather than disabling the tabs, it would be better to make them invisible. To do so, set the pageframe's Tabs property to .F. Mike Mike Lewis Edinburgh, Scotland My Visual Foxpro web site: http://www.ml-consult.demon.co.ukMy Crystal Reports web site: http://www.ml-crystal.com
Nov 25, 2004 Thread starter #4 webmonger Programmer Mar 13, 2004 66 AU Mike said Rather than disabling the tabs, it would be better to make them invisible. To do so, set the pageframe's Tabs property to .F. This has the visual appearance I like but my [Next] button with code like thisform.con1.Page2.setfocus no longer works... Bryan Upvote 0 Downvote
Mike said Rather than disabling the tabs, it would be better to make them invisible. To do so, set the pageframe's Tabs property to .F. This has the visual appearance I like but my [Next] button with code like thisform.con1.Page2.setfocus no longer works... Bryan
Nov 25, 2004 Thread starter #5 webmonger Programmer Mar 13, 2004 66 AU I now have the solution to set the Activepage property on my Next buttons Thankyou Upvote 0 Downvote