Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #8087 > unrolled thread

Self:EndWindow()

Started byMartin <Martin@spam.spam>
First post2015-05-12 14:38 +0100
Last post2015-05-14 09:02 -0400
Articles 5 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Self:EndWindow() Martin <Martin@spam.spam> - 2015-05-12 14:38 +0100
    Re: Self:EndWindow() "Jamal Assaf" <someone@example.com> - 2015-05-12 17:33 -0400
      Re: Self:EndWindow() Mathias <mathias.hakansson@consultec.se> - 2015-05-12 23:59 -0700
        Re: Self:EndWindow() Martin <Martin@spam.spam> - 2015-05-13 10:23 +0100
        Re: EndWindow() "Jamal Assaf" <someone@example.com> - 2015-05-14 09:02 -0400

#8087 — Self:EndWindow()

FromMartin <Martin@spam.spam>
Date2015-05-12 14:38 +0100
SubjectSelf:EndWindow()
Message-ID<misvlv$51q$1@dont-email.me>
Just a simple question

I have since starting VO always done RETURN Self:EndWindow(), yet I 
occasionally see in other peoples codes.


Self:EndWindow()

// Something here


RETURN NIL

Any issues with this please?

[toc] | [next] | [standalone]


#8094

From"Jamal Assaf" <someone@example.com>
Date2015-05-12 17:33 -0400
Message-ID<mitrjj$i63$1@speranza.aioe.org>
In reply to#8087
>> yet I occasionally see in other peoples codes. <<

Looks like a bad coding practice by the "other people".  You hear "other 
people", that's really bad, bad!!

The self:EndWindow() must be the last called method or it the last statement 
in an IF/ENDIF clause.

If any code to need to be executed after calling the self:EndWindow(), it 
should be put it the QueryClose() and/or Close() event methods.

Jamal

"Martin"  wrote in message news:misvlv$51q$1@dont-email.me...

Just a simple question

I have since starting VO always done RETURN Self:EndWindow(), yet I
occasionally see in other peoples codes.


Self:EndWindow()

// Something here


RETURN NIL

Any issues with this please? 

[toc] | [prev] | [next] | [standalone]


#8098

FromMathias <mathias.hakansson@consultec.se>
Date2015-05-12 23:59 -0700
Message-ID<09927dba-637d-40cf-96bb-5e598fb7c277@googlegroups.com>
In reply to#8094
Yes, but if "// Something here" is a comment (like in this case) it's not that bad...

/Mathias

Den tisdag 12 maj 2015 kl. 23:33:43 UTC+2 skrev Jamal Assaf:
> >> yet I occasionally see in other peoples codes. <<
> 
> Looks like a bad coding practice by the "other people".  You hear "other 
> people", that's really bad, bad!!
> 
> The self:EndWindow() must be the last called method or it the last statement 
> in an IF/ENDIF clause.
> 
> If any code to need to be executed after calling the self:EndWindow(), it 
> should be put it the QueryClose() and/or Close() event methods.
> 
> Jamal
> 
> "Martin"  wrote in message news:misvlv$51q$1@dont-email.me...
> 
> Just a simple question
> 
> I have since starting VO always done RETURN Self:EndWindow(), yet I
> occasionally see in other peoples codes.
> 
> 
> Self:EndWindow()
> 
> // Something here
> 
> 
> RETURN NIL
> 
> Any issues with this please?

[toc] | [prev] | [next] | [standalone]


#8099

FromMartin <Martin@spam.spam>
Date2015-05-13 10:23 +0100
Message-ID<miv54e$d9r$1@dont-email.me>
In reply to#8098
OK I will start searching the code.

And make sure all are RETURN Self:EndWindow()


On 13/05/2015 07:59, Mathias wrote:
> Yes, but if "// Something here" is a comment (like in this case) it's not that bad...
>
> /Mathias
>
> Den tisdag 12 maj 2015 kl. 23:33:43 UTC+2 skrev Jamal Assaf:
>>>> yet I occasionally see in other peoples codes. <<
>>
>> Looks like a bad coding practice by the "other people".  You hear "other
>> people", that's really bad, bad!!
>>
>> The self:EndWindow() must be the last called method or it the last statement
>> in an IF/ENDIF clause.
>>
>> If any code to need to be executed after calling the self:EndWindow(), it
>> should be put it the QueryClose() and/or Close() event methods.
>>
>> Jamal
>>
>> "Martin"  wrote in message news:misvlv$51q$1@dont-email.me...
>>
>> Just a simple question
>>
>> I have since starting VO always done RETURN Self:EndWindow(), yet I
>> occasionally see in other peoples codes.
>>
>>
>> Self:EndWindow()
>>
>> // Something here
>>
>>
>> RETURN NIL
>>
>> Any issues with this please?
>

[toc] | [prev] | [next] | [standalone]


#8110 — Re: EndWindow()

From"Jamal Assaf" <someone@example.com>
Date2015-05-14 09:02 -0400
SubjectRe: EndWindow()
Message-ID<mj26cf$9hd$1@news.albasani.net>
In reply to#8098
Mathias,

I guess ambiguous questions lead to a lot of speculations, in which case, 
you're right :)

Jamal

"Mathias"  wrote in message 
news:09927dba-637d-40cf-96bb-5e598fb7c277@googlegroups.com...

Yes, but if "// Something here" is a comment (like in this case) it's not 
that bad...

/Mathias

Den tisdag 12 maj 2015 kl. 23:33:43 UTC+2 skrev Jamal Assaf:
> >> yet I occasionally see in other peoples codes. <<
>
> Looks like a bad coding practice by the "other people".  You hear "other
> people", that's really bad, bad!!
>
> The self:EndWindow() must be the last called method or it the last 
> statement
> in an IF/ENDIF clause.
>
> If any code to need to be executed after calling the self:EndWindow(), it
> should be put it the QueryClose() and/or Close() event methods.
>
> Jamal
>
> "Martin"  wrote in message news:misvlv$51q$1@dont-email.me...
>
> Just a simple question
>
> I have since starting VO always done RETURN Self:EndWindow(), yet I
> occasionally see in other peoples codes.
>
>
> Self:EndWindow()
>
> // Something here
>
>
> RETURN NIL
>
> Any issues with this please? 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web