Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4113
| From | JohnMartens <martens@tennishulp.info> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: Unable to popup Window with with EditFocusChsnge() ? |
| Date | 2012-09-20 21:51 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <k3fs4o$j8n$1@dont-email.me> (permalink) |
| References | <4301a729-9a20-4399-9b76-e5af43dcbf36@googlegroups.com> <505B56D7.7000206@tennishulp.info> <f05f4434-e8b9-48ee-94d8-c6f118922d8c@googlegroups.com> |
Where do you show the GetCustomer window ?
What is the prototype of GetCustomer method ?
Op 20-9-2012 21:15, Fireball schreef:
> On Thursday, 20 September 2012 10:48:02 UTC-7, JohnMartens wrote:
>> Shouldn't it be something like this:
>>
>>
>>
>> LOCAL oNewWindow as MyWindowClass
>>
>> CASE oControl:NameSym == #sleCustomer
>>
>> oNewWindow := MyWindowClass{self}
>>
>> oNewWindow:Getcustomer(oControl:CurrentText)
>>
>> oDCsleCustomer:Value := oNewWindow:cMyReturnText
>>
>>
>>
>>
>>
>> Op 20-9-2012 19:17, grantd@dunsmoreinfo.com schreef:
>>
>>> Hello All
>>
>>> Using VO 2.8 and I am trying to use EditFocusChange() within a data entry window to pop up another window to choose a customer. When I do this I get the error: Error Code 13 [NO EXPORTed METHOD]. I have used this technique to call other validation method but not a pop up window. The calling code is as follows:
>>
>>>
>>
>>> "CASE oControl:NameSym == #sleCustomer
>>
>>> oDCsleCustomer:Value := self:Getcustomer(oControl:CurrentText)"
>>
>>>
>>
>>> GetCustomer is a window of the same class as the calling program. Can anyone tell me why this dosen't work?
>>
>>> Thank you for any help.
>>
>>>
>
> Yes I hadn't created the oNewWindow object or initialized it. Now I have it as follows but still dosen't work:
>
> LOCAL oNewWindow as GetCustomer
> ....
> ....
> CASE oControl:NameSym == #sleCustomer
> oNewWindow := GetCustomer{self}
> oNewWindow:GetCustomer(oControl:CurrentText)
>
> but I still get the error [NO EXPORTED METHOD] when I try to call GetCustomer
>
> I can open the window 'GetCustomer' from a menu but not from within the 'EditFocusChange' method.
>
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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