Re: How to count Pageframes in a form

2006-07-13 Thread Ed Leafe
On Jul 13, 2006, at 1:39 PM, Hal Kaplan wrote: Why is it that so many times, when we are stuck and ask for help, the answer comes to us before the help does. Is being humbled the key to improved thinking? HALinNY P.S. This is not a put-down on anyone here ... Just curious as to why this

Re: How to count Pageframes in a form

2006-07-13 Thread Ken Kixmoeller (j/s)
On Jul 13, 2006, at 12:46 PM, Ed Leafe wrote: ...formulating a question forces you to think about the problem from a different POV... What a bunch of mumbo-jumbo! It is the Send button. It is magic. Simple as that. Ken ___ Post Messages to:

RE: How to count Pageframes in a form

2006-07-13 Thread Hal Kaplan
So there is something wrong with MM's SEND button, eh? HALinNY -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Kixmoeller (j/s) Sent: Thursday, July 13, 2006 14:26 To: profox@leafe.com Subject: Re: How to count Pageframes in a form On Jul 13, 2006

Re: How to count Pageframes in a form

2006-07-13 Thread Ken Kixmoeller (j/s)
On Jul 13, 2006, at 1:23 PM, Hal Kaplan wrote: So there is something wrong with MM's SEND button, eh? Every OT message Send diminishes the magic a small percent. MM and CG are the best proof. g Ken ___ Post Messages to: ProFox@leafe.com

How to count Pageframes in a form

2006-07-12 Thread Vince Teachout
I'm playing around with FOR EACH, but not getting anywhere, and I'm not sure I'm on the right track. In VFP9, how can I programatically tell how may pageframes are in the current form? I have a class of forms that may have zero, 1 or theoretically more page frames, each page frame will have a

Re: How to count Pageframes in a form

2006-07-12 Thread Steve Ellenoff
Iterate for each control on the form. Use the baseclass property of the control to see if it's a pageframe. Example code (untested): *Iterate through each control on the form FOR EACH loControl IN THISFORM.Controls IF UPPER(loControl.BaseClass) == PAGEFRAME *Iterate

Re: How to count Pageframes in a form

2006-07-12 Thread Vince Teachout
Vince Teachout wrote: In VFP9, how can I programatically tell how may pageframes are in the current form? I have a class of forms that may have zero, 1 or theoretically more page frames, each page frame will have a unique name, and I need to return number of page frames so I can iterate

Re: How to count Pageframes in a form

2006-07-12 Thread Vince Teachout
Steve Ellenoff wrote: Iterate for each control on the form. Use the baseclass property of the control to see if it's a pageframe. Example code (untested): *Iterate through each control on the form FOR EACH loControl IN THISFORM.Controls IF UPPER(loControl.BaseClass) == PAGEFRAME