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


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

Re: Unable to popup Window with with EditFocusChsnge() ?

From JohnMartens <martens@tennishulp.info>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Unable to popup Window with with EditFocusChsnge() ?
Date 2012-09-21 07:48 +0200
Organization A noiseless patient Spider
Message-ID <k3gv3j$bmp$1@dont-email.me> (permalink)
References (3 earlier) <k3fs4o$j8n$1@dont-email.me> <69352e10-a232-4726-a35e-32a3ff6edfd1@googlegroups.com> <fb1ba317-2d85-4aaf-a3b2-e37a79027126@googlegroups.com> <826dfa9b-15ff-4e36-83c0-340a579db63a@googlegroups.com> <ac2ck9Favm2U1@mid.individual.net>

Show all headers | View raw


in order to prevent EFC to be called again and again I do this:

Methos EditFocosChange CLASS MyWindow

SELF:lPerformEfcAgain := false

DO CASE
CASE ! SELF:lPerformEfc
	// Do nothing extra
CASE oControl:NameSym == #sleCustomer
	// Do your stuff
ENDCASE

SELF:lPerformEfcAgain := true

I do not know wether this is a neat solution or not but it works for me

John




Op 21-9-2012 7:35, Wolfgang Riedmann schreef:
> Hi,
>
>> You have summarized the problem exactly. I can call the GetCustomer()
>> window  from a menu but when I do it directly as you suggested I get
>> the error Error Code 13 [NO ESPORTED METHOD]. The same occurs when I
>> create and initialize an object as suggestd by JohnMartens. I must be
>> missing something about calling a window from within an
>> EditFocusChange() method. I can call any other method from the
>> EditFocusChange just not a another window.
>
> EditFocusChange() can be called where the initialization of the
> windows, so make sure that the initializazion of the window is
> terminated before you call your validation code.
>
> Wolfgang
>
>

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


Thread

Unable to popup Window with with EditFocusChsnge() ? grantd@dunsmoreinfo.com - 2012-09-20 10:17 -0700
  Re: Unable to popup Window with with EditFocusChsnge() ? JohnMartens <martens@tennishulp.info> - 2012-09-20 19:48 +0200
    Re: Unable to popup Window with with EditFocusChsnge() ? Fireball <grantd@dunsmoreinfo.com> - 2012-09-20 12:15 -0700
      Re: Unable to popup Window with with EditFocusChsnge() ? JohnMartens <martens@tennishulp.info> - 2012-09-20 21:51 +0200
        Re: Unable to popup Window with with EditFocusChsnge() ? Fireball <grantd@dunsmoreinfo.com> - 2012-09-20 13:38 -0700
          Re: Unable to popup Window with with EditFocusChsnge() ? Frans Wauters <info@wautersit.com> - 2012-09-20 15:34 -0700
            Re: Unable to popup Window with with EditFocusChsnge() ? Fireball <grantd@dunsmoreinfo.com> - 2012-09-20 17:49 -0700
              Re: Unable to popup Window with with EditFocusChsnge() ? "Wolfgang Riedmann" <wriedmann@gmail.com> - 2012-09-21 05:35 +0000
                Re: Unable to popup Window with with EditFocusChsnge() ? JohnMartens <martens@tennishulp.info> - 2012-09-21 07:48 +0200
                Re: Unable to popup Window with with EditFocusChsnge() ? Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2012-09-21 08:54 +0200
      Re: Unable to popup Window with with EditFocusChsnge() ? Massimo Bighelli <info@arcasistemi.it> - 2012-09-21 18:12 +0200
        Re: Unable to popup Window with with EditFocusChsnge() ? Fireball <grantd@dunsmoreinfo.com> - 2012-09-21 10:12 -0700

csiph-web