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


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

Re: Self:EndWindow()

From "Jamal Assaf" <someone@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Self:EndWindow()
Date 2015-05-12 17:33 -0400
Organization Aioe.org NNTP Server
Message-ID <mitrjj$i63$1@speranza.aioe.org> (permalink)
References <misvlv$51q$1@dont-email.me>

Show all headers | View raw


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