Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Prev Next page command button and disabled pages
Message
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:
00957492
Views:
8
Hi Bhavbhuti

>Nay, actually it had the same problem as my code, you can't assign a number to activepage which is disabled. So .pgf.ACTIVEPAGE = lnNextPage won't work.

Ah well I didn't look into that - assuming your code was on the right track.

>>Personally, if you've read any of my rants, I'd never use EXIT or LOOP, so my version of yours would have been something like:
>>
>>Do while not llGotFreePage
>>
>Okay I'll mod the code. Thanks.

Don't get me wrong - you code it as you like!

>>Incidentally, I don't think your function ever WILL return lnNextPage as you use the evil EXIT to get out as soon as you've got a free page.
>
>Well EXIT just exits the latest loop, if I remember correct and plus this thing seems to work !?!

Aye, it works - but it doesn't return lnNextPage

>Wow, I'd love that. Had recently visited the U.K. in May, should have know earlier, I would have come back with diamonds <g>.

Ah, in May it was rubies and lapus lazuli :-)

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform