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


Groups > comp.lang.clipper.visual-objects > #8099

Re: Self:EndWindow()

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Self:EndWindow()
Date 2015-05-13 10:23 +0100
Organization A noiseless patient Spider
Message-ID <miv54e$d9r$1@dont-email.me> (permalink)
References <misvlv$51q$1@dont-email.me> <mitrjj$i63$1@speranza.aioe.org> <09927dba-637d-40cf-96bb-5e598fb7c277@googlegroups.com>

Show all headers | View raw


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?
>

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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

csiph-web