RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
Hey Stephen - sorry its taken me so long to respond to your reply. You know I always appreciate your insights - all joking aside... 1st - I'm not actually compiling the screen into an EXE. Refer to one of my previous replies to this thread to understand why. To answer your other questions in your

Re: Accessing Form Objects Numerically...

2012-06-21 Thread MB Software Solutions, LLC
On 6/21/2012 5:03 PM, Kurt Wendt wrote: > Those lines appearing like that were so peculiar - I didn't even THINK > to do the Refresh thing. I shall give that a shot and see what > happens... > > Although I just DID try it - and, no luck - still the little lines > appear! > > :-( And the only think

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
Those lines appearing like that were so peculiar - I didn't even THINK to do the Refresh thing. I shall give that a shot and see what happens... Although I just DID try it - and, no luck - still the little lines appear! :-( -K- -Original Message- From: profoxtech-boun...@leafe.com [mail

Re: Accessing Form Objects Numerically...

2012-06-21 Thread MB Software Solutions, LLC
On 6/21/2012 12:19 PM, Kurt Wendt wrote: > You TOTALLY Got me on that one! Ouch!!! > > Yes - I just did try using the SetAll command - and it also works. > Although, its just taking 3 lines of code down to 1. But, that's cool > too. > > However, strangely enough - I have another new strange error.

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
However, in the OLD system - which I am making this screen so it can work in BOTH the Old and the New system - there are NO Classes in the Old system. Also, by making this as a Stand-alone Form, I can simply drop it onto the client system - and both the Old and New systems can BOTH see the screen.

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Allen
The main reason for a class, IMHO, is if you need to adjust anything, add a property or method. To make a class from the offset means you have choices later. And anyone who programs will know, the original simple idea is probably not what you end up with. Its not like classes are hard to make.

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
-up a new window and does the proper graphical looking search! -K- -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Allen Sent: Thursday, June 21, 2012 12:26 PM To: profoxt...@leafe.com Subject: Re: Accessing Form Objects Numerically..

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Allen
Wendt Sent: Thursday, June 21, 2012 6:18 PM To: profoxt...@leafe.com Subject: RE: Accessing Form Objects Numerically... Even if I add something later - it will still be a Visual Control with a Visible property. But, if I use the SetAll - and there Was a New Control that did NOT have a Visible property

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
You TOTALLY Got me on that one! Ouch!!! Yes - I just did try using the SetAll command - and it also works. Although, its just taking 3 lines of code down to 1. But, that's cool too. However, strangely enough - I have another new strange error. When I make all the controls visible again - after t

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Allen Sent: Thursday, June 21, 2012 12:12 PM To: profoxt...@leafe.com Subject: Re: Accessing Form Objects Numerically... What if you add something later? Al -Original Message- From: Kurt Wendt Yes

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Allen
What if you add something later? Al -Original Message- From: Kurt Wendt Yes - Richard makes a good point. But, since I know all the objects I create will have a visible property - and I will be Testing the screen before giving it to the QA Techs to install - I'm sure I won't have a prob

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
red I also don't need the Catch stuff... -K- -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of MB Software Solutions, LLC Sent: Thursday, June 21, 2012 11:25 AM To: profoxt...@leafe.com Subject: Re: Accessing Form Objects Numerica

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
Ah man - why does everybody always bust on Stephen? Well - better him than me!!!:-) Stephen - I will respond to your points shortly - since it needs a more lengthy reply - and I really trying to push forwards on this pojrect - when not also bothered by others here at work... -K- -Ori

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
-- rk -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Kurt Wendt Sent: Thursday, June 21, 2012 10:57 AM To: profoxt...@leafe.com Subject: RE: Accessing Form Objects Numerically... FOR nCnt = 1 TO Thisform.ControlCount

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Stephen Russell
On Thu, Jun 21, 2012 at 10:22 AM, MB Software Solutions, LLC wrote: > On 6/21/2012 11:07 AM, Kurt Wendt wrote: >> But - Stephen - why bother. Those 3 lines of code I showed - are SO >> UTTERLY Simple - and does exactly what's need. Why waste time and make >> things more complex than they need to b

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Richard Kaye
other than text boxes and labels, you don't have to worry about this. -- rk -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Kurt Wendt Sent: Thursday, June 21, 2012 11:10 AM To: profoxt...@leafe.com Subject: RE: Accessing Form

Re: Accessing Form Objects Numerically...

2012-06-21 Thread MB Software Solutions, LLC
On 6/21/2012 11:10 AM, Kurt Wendt wrote: > What kind of Non-Visual control? You mean - like a Timer object? > > But, on this form - it will all be standard stuff, labels, text boxes, > buttons and a Grid. All standard Visual controls, which will of course > all have a Visible property. > > Again -

Re: Accessing Form Objects Numerically...

2012-06-21 Thread MB Software Solutions, LLC
On 6/21/2012 11:07 AM, Kurt Wendt wrote: > But - Stephen - why bother. Those 3 lines of code I showed - are SO > UTTERLY Simple - and does exactly what's need. Why waste time and make > things more complex than they need to be? Bingo! > > Or - were you just attempting humor in the last response??

Re: Accessing Form Objects Numerically...

2012-06-21 Thread MB Software Solutions, LLC
On 6/21/2012 10:56 AM, Kurt Wendt wrote: > So - I implemented this: > FOR nCnt = 1 TO Thisform.ControlCount > Thisform.Controls[nCnt].Visible = .F. > ENDFOR > > And - OMG - it worked like a Charm!!! Such utterly simple code - yet, it > does EXACTLY What I needed. > > But, still

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
21, 2012 10:57 AM To: profoxt...@leafe.com Subject: RE: Accessing Form Objects Numerically... FOR nCnt = 1 TO Thisform.ControlCount Thisform.Controls[nCnt].Visible = .F. ENDFOR ___ Post Messages to: ProFox@leafe.com Subscript

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
But - Stephen - why bother. Those 3 lines of code I showed - are SO UTTERLY Simple - and does exactly what's need. Why waste time and make things more complex than they need to be? Or - were you just attempting humor in the last response??? :-) -K- -Original Message- From: profoxtech-bou

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Richard Kaye
- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Kurt Wendt Sent: Thursday, June 21, 2012 10:57 AM To: profoxt...@leafe.com Subject: RE: Accessing Form Objects Numerically... FOR nCnt = 1 TO Thisform.ControlCount Thisform.Controls[nCnt].Vi

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Stephen Russell
On Thu, Jun 21, 2012 at 9:56 AM, Kurt Wendt wrote: > Mike, > > Based upon what you wrote below - I went back to the online help to try > and figure it out. I found an example in there - with creating some kind > of Array of Buttons on a screen. But, even in that example - it seemed > to show that

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
Mike, Based upon what you wrote below - I went back to the online help to try and figure it out. I found an example in there - with creating some kind of Array of Buttons on a screen. But, even in that example - it seemed to show that I must know the names of the Objects on the screen - which is e

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
Hey there Mike - thank you SO VERY Much for this help - and pointing me in the right direction. Its oh SO Helpful. As always - the ProFox list COMES Thru when needed the most. I shall definitely hit the HELP file as you suggested for any additional explanation on the coding. One thing though. When

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
Yup - same number - no change there! -K- -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Stephen Russell Sent: Thursday, June 21, 2012 9:33 AM To: profoxt...@leafe.com Subject: Re: Accessing Form Objects Numerically... On Thu, Jun

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
jects Numerically... Memphis has some neat beers. :) Al -Original Message- From: Kurt Wendt Sent: Thursday, June 21, 2012 3:22 PM To: profoxt...@leafe.com Subject: RE: Accessing Form Objects Numerically... Ha HA HA! You're a funny one Mr. Russell! At least I'm not TOO Young to

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Allen
Memphis has some neat beers. :) Al -Original Message- From: Kurt Wendt Sent: Thursday, June 21, 2012 3:22 PM To: profoxt...@leafe.com Subject: RE: Accessing Form Objects Numerically... Ha HA HA! You're a funny one Mr. Russell! At least I'm not TOO Young to go have a Beer!

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Stephen Russell
On Thu, Jun 21, 2012 at 8:22 AM, Kurt Wendt wrote: > Ha HA HA! You're a funny one Mr. Russell! > > At least I'm not TOO Young to go have a Beer! So - when is THAT going to > happen again - when will you be back out to the Island again??? --- I have a MAJOR system conversion first week

RE: Accessing Form Objects Numerically...

2012-06-21 Thread Kurt Wendt
Behalf Of Stephen Russell Sent: Thursday, June 21, 2012 9:21 AM To: profoxt...@leafe.com Subject: Re: Accessing Form Objects Numerically... On Wed, Jun 20, 2012 at 4:50 PM, Kurt Wendt wrote: > Format Files??? set format to CustEdit You youngster. -- Stephen Russell Sr.

Re: Accessing Form Objects Numerically...

2012-06-21 Thread Stephen Russell
On Wed, Jun 20, 2012 at 4:50 PM, Kurt Wendt wrote: > Format Files??? set format to CustEdit You youngster. -- Stephen Russell Sr. Analyst Ring Container Technology Oakland TN 901.246-0159 cell ___ Post Messages to: ProFox@leafe.c

Re: Accessing Form Objects Numerically...

2012-06-20 Thread MB Software Solutions, LLC
On 6/20/2012 5:57 PM, Kurt Wendt wrote: > Why you'd use @SAY/GET in VFP7??? I didn't use it! Its an old, OLD > system - starting way back as Foxbase+ or FP for DOS. I didn't build it > - I only support it - and add new features. Many times - if it's a > completely new screen - I will actually make

RE: Accessing Form Objects Numerically...

2012-06-20 Thread Kurt Wendt
Why you'd use @SAY/GET in VFP7??? I didn't use it! Its an old, OLD system - starting way back as Foxbase+ or FP for DOS. I didn't build it - I only support it - and add new features. Many times - if it's a completely new screen - I will actually make it graphical as a Form. The idea of using " FO

RE: Accessing Form Objects Numerically...

2012-06-20 Thread Kurt Wendt
om Subject: Re: Accessing Form Objects Numerically... On Wed, Jun 20, 2012 at 4:35 PM, Kurt Wendt wrote: > Hey folks, > > > > I'm working on something here at work - that's a bit of a PITA. This > particular client has 2 versions of a system - one looks like FP for DOS &g

Re: Accessing Form Objects Numerically...

2012-06-20 Thread MB Software Solutions, LLC
On 6/20/2012 5:35 PM, Kurt Wendt wrote: > Hey folks, > > > > I'm working on something here at work - that's a bit of a PITA. This > particular client has 2 versions of a system - one looks like FP for DOS > (white letters on Blue screen for most of the system) and runs under > VFP7. The other syste

Re: Accessing Form Objects Numerically...

2012-06-20 Thread Stephen Russell
On Wed, Jun 20, 2012 at 4:35 PM, Kurt Wendt wrote: > Hey folks, > > > > I'm working on something here at work - that's a bit of a PITA. This > particular client has 2 versions of a system - one looks like FP for DOS > (white letters on Blue screen for most of the system) and runs under > VFP7. The

Accessing Form Objects Numerically...

2012-06-20 Thread Kurt Wendt
Hey folks, I'm working on something here at work - that's a bit of a PITA. This particular client has 2 versions of a system - one looks like FP for DOS (white letters on Blue screen for most of the system) and runs under VFP7. The other system is a true VFP system with graphical screens and ru