Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prev Next page command button and disabled pages
Message
From
02/11/2004 07:49:50
Jon Neale
Bond International Software
Wootton Bassett, United Kingdom
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00956952
Message ID:
00956959
Views:
15
This message has been marked as a message which has helped to the initial question of the thread.
YOu will need to loop this code:

THISFORM.pgf.ACTIVEPAGE = IIF(THISFORM.pgf.ACTIVEPAGE = THISFORM.pgf.PAGECOUNT, ;
1, THISFORM.pgf.ACTIVEPAGE + 1)

To This

FOR i = 1 TO THISFORM.pgf.PAGECOUNT
lnPage = IIF(THISFORM.pgf.ACTIVEPAGE = THISFORM.pgf.PAGECOUNT, ;
1, THISFORM.pgf.ACTIVEPAGE + 1)
IF THISFORM.pgf.Page(lnPage).enabled && whatever property your using to identify it as being disabled
* the page is enabled go to it

THISFORM.pgf.ACTIVEPAGE = lnPage
EXIT
ENDIF

NEXT

this isnt tested but should be along the lines of what you need.

HTH

Jon
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform