Index
2012-10-31 13:58Desmond Lloyd : Silly Form Question: VFP
2012-10-31 14:00Tracy Pearson : RE: Silly Form Question: VFP
2012-10-31 14:18Desmond Lloyd : Re: Silly Form Question: VFP
2012-10-31 15:21Rafael Copquin : Re: Silly Form Question: VFP
2012-11-01 09:29Tracy Pearson : RE: Silly Form Question: VFP
2012-11-01 10:24Rafael Copquin : Re: Silly Form Question: VFP
2012-11-01 10:25desmond.lloyd@gmail.com: Re: Silly Form Question: VFP
2012-11-01 10:38Ed Leafe : Re: Silly Form Question: VFP
2012-11-01 10:54Tracy Pearson : RE: Silly Form Question: VFP
2012-11-01 12:07Rafael Copquin : Re: Silly Form Question: VFP
Back to top
Silly Form Question: VFP

Author: Desmond Lloyd

Posted: 2012-10-31 13:58:33   Link

Click on a command button does some stuff

I have this code:

public mproceed

mproceed = .t.

thisform.whatever(mproceed)

Inside whatever: If this condition, mproceed = .f.

return mproceed

go back to the button click and mproceed is .t.

Code blows up....

Long day I guess...

Yikes....

--- StripMime Report -- processed MIME parts ---

multipart/alternative

text/plain (text body -- kept)

text/html

---

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAAJXvaMyM_DXe0_tRR=jY4BUHcJZYJTPWOaVhy_1W1ooccUmvQ@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Desmond Lloyd
Back to top
RE: Silly Form Question: VFP

Author: Tracy Pearson

Posted: 2012-10-31 14:00:07   Link

Desmond Lloyd wrote on 2012-10-31:

> Click on a command button does some stuff

> I have this code:

>

> public mproceed

> mproceed = .t.

>

> thisform.whatever(mproceed)

>

> Inside whatever: If this condition, mproceed = .f.

> return mproceed

> go back to the button click and mproceed is .t.

>

> Code blows up....

>

> Long day I guess...

>

> Yikes....

>

Desmond,

Public?

Try this

local mproceed

mproceed = .t.

mproceed = thisform.whatever(mproceed)

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/000c01cdb799$f25098e0$d6f1caa0$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Tracy Pearson
Back to top
Re: Silly Form Question: VFP

Author: Desmond Lloyd

Posted: 2012-10-31 14:18:30   Link

Awesome, it worked! 8-) Ahhh, but you already knew that....

Thanks Again!

Desmond

On 31 October 2012 14:00, Tracy Pearson <tracy@powerchurch.com> wrote:

> Desmond Lloyd wrote on 2012-10-31:

> > Click on a command button does some stuff

> > I have this code:

> >

> > public mproceed

> > mproceed = .t.

> >

> > thisform.whatever(mproceed)

> >

> > Inside whatever: If this condition, mproceed = .f.

> > return mproceed

> > go back to the button click and mproceed is .t.

> >

> > Code blows up....

> >

> > Long day I guess...

> >

> > Yikes....

> >

>

> Desmond,

>

> Public?

>

> Try this

> local mproceed

> mproceed = .t.

>

> mproceed = thisform.whatever(mproceed)

>

>

>

> Tracy Pearson

> PowerChurch Software

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAAJXvaNWSnK_qUgp5=FR0uk929xDhfud6dXHeou=cuJ2=-x-ZQ@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Desmond Lloyd
Back to top
Re: Silly Form Question: VFP

Author: Rafael Copquin

Posted: 2012-10-31 15:21:15   Link

As always, Tracy hits right on the nail.

However, I would discourage the use of public properties.

It is better if you create a form property, which will be available to

all the form's methods, but will not interfere with any other form or

program that you run.

In that case, your code would be:

** form init event

thisform.addproperty('mproceed',.t.)

** button code

thisform. mproceed = .t.

thisform.whatever()

** there is no need for you to pass the value of thisform.mproceed as a

parameter to the whatever method, since it can pick up the property

value directly, as it is a form property

Rafael Copquin

El 31/10/2012 04:18 p.m., Desmond Lloyd escribió:

> Awesome, it worked! 8-) Ahhh, but you already knew that....

>

> Thanks Again!

> Desmond

>

>

>

>

> On 31 October 2012 14:00, Tracy Pearson <tracy@powerchurch.com> wrote:

>

>> Desmond Lloyd wrote on 2012-10-31:

>>> Click on a command button does some stuff

>>> I have this code:

>>>

>>> public mproceed

>>> mproceed = .t.

>>>

>>> thisform.whatever(mproceed)

>>>

>>> Inside whatever: If this condition, mproceed = .f.

>>> return mproceed

>>> go back to the button click and mproceed is .t.

>>>

>>> Code blows up....

>>>

>>> Long day I guess...

>>>

>>> Yikes....

>>>

>> Desmond,

>>

>> Public?

>>

>> Try this

>> local mproceed

>> mproceed = .t.

>>

>> mproceed = thisform.whatever(mproceed)

>>

>>

>>

>> Tracy Pearson

>> PowerChurch Software

>>

>>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5091883B.9070103@fibertel.com.ar

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Rafael Copquin
Back to top
RE: Silly Form Question: VFP

Author: Tracy Pearson

Posted: 2012-11-01 09:29:09   Link

Rafael Copquin wrote on 2012-10-31:

> As always, Tracy hits right on the nail.

>

Rafael,

http://deviq.com/golden-hammer

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/001201cdb83d$42043420$c60c9c60$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Tracy Pearson
Back to top
Re: Silly Form Question: VFP

Author: Rafael Copquin

Posted: 2012-11-01 10:24:59   Link

Wow! I'm sure you're better looking than the Golden Hammer :-)

BTW, when I said "hits right on the nail" I was simply making a literal

translation from a Spanish language phrase that is used to express the

fact that the person in question came up with the correct answer to a

problem.

Take care

Rafael Copquin

El 01/11/2012 11:29 a.m., Tracy Pearson escribió:

> Rafael Copquin wrote on 2012-10-31:

>> As always, Tracy hits right on the nail.

>>

> Rafael,

>

> http://deviq.com/golden-hammer

>

> Tracy Pearson

> PowerChurch Software

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5092944B.8010303@fibertel.com.ar

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Rafael Copquin
Back to top
Re: Silly Form Question: VFP

Author: desmond.lloyd@gmail.com

Posted: 2012-11-01 10:25:52   Link

A commonly used term indeed!

Sent via BlackBerry by AT&T

-----Original Message-----

From: Rafael Copquin <rcopquin@fibertel.com.ar>

Sender: "ProFox" <profox-bounces@leafe.com>Date: Thu, 01 Nov 2012 12:24:59

To: <profox@leafe.com>

Reply-To: ProFox Email List <profox@leafe.com>

Subject: Re: Silly Form Question: VFP

Wow! I'm sure you're better looking than the Golden Hammer :-)

BTW, when I said "hits right on the nail" I was simply making a literal

translation from a Spanish language phrase that is used to express the

fact that the person in question came up with the correct answer to a

problem.

Take care

Rafael Copquin

El 01/11/2012 11:29 a.m., Tracy Pearson escribió:

> Rafael Copquin wrote on 2012-10-31:

>> As always, Tracy hits right on the nail.

>>

> Rafael,

>

> http://deviq.com/golden-hammer

>

> Tracy Pearson

> PowerChurch Software

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5092944B.8010303@fibertel.com.ar

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/1659856883-1351783554-cardhu_decombobulator_blackberry.rim.net-395438158-@b25.c13.bise6.blackberry

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 desmond.lloyd@gmail.com
Back to top
Re: Silly Form Question: VFP

Author: Ed Leafe

Posted: 2012-11-01 10:38:38   Link

On Nov 1, 2012, at 10:24 AM, Rafael Copquin <rcopquin@fibertel.com.ar> wrote:

> BTW, when I said "hits right on the nail" I was simply making a literal translation from a Spanish language phrase that is used to express the fact that the person in question came up with the correct answer to a problem.

The English version of that phrase is "hit the nail on the head".

-- Ed Leafe

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/F434B96E-5284-4D9F-88C7-CBC13E4C827B@rackspace.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Ed Leafe
Back to top
RE: Silly Form Question: VFP

Author: Tracy Pearson

Posted: 2012-11-01 10:54:20   Link

Rafael Copquin wrote on 2012-11-01:

> Wow! I'm sure you're better looking than the Golden Hammer :-)

>

> BTW, when I said "hits right on the nail" I was simply making a literal

> translation from a Spanish language phrase that is used to express the

> fact that the person in question came up with the correct answer to a

> problem.

>

> Take care

> Rafael Copquin

>

Rafael,

I knew what you meant. The statement reminded me of the web page. So I

looked it up and shared it.

As for better looking, I'm sure that's relative. I have a full beard and

nearly bald.

Tracy Pearson

PowerChurch Software

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/001301cdb849$285847d0$7908d770$@powerchurch.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Tracy Pearson
Back to top
Re: Silly Form Question: VFP

Author: Rafael Copquin

Posted: 2012-11-01 12:07:19   Link

Every day your learn something new:-)

Thanks

Rafael

El 01/11/2012 12:38 p.m., Ed Leafe escribió:

> On Nov 1, 2012, at 10:24 AM, Rafael Copquin <rcopquin@fibertel.com.ar> wrote:

>

>> BTW, when I said "hits right on the nail" I was simply making a literal translation from a Spanish language phrase that is used to express the fact that the person in question came up with the correct answer to a problem.

> The English version of that phrase is "hit the nail on the head".

>

>

> -- Ed Leafe

>

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5092AC47.4090407@fibertel.com.ar

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2012 Rafael Copquin