maybe I need to try explaining the situation again...

In component (wrappers for progress methods including):
- New progress object wrapper (New_Progress)
- call back method for managing a user closing the progress object 
(user_Closed_Progress).
- The call back method is referenced in the wrapper for a new Progress 
object.

In the host
- a call to New_Progress which looks like this:
$Progress_ID:=New_Progress("Top message};"Bottom message")

this opens a progress object/window and it functions as expected.
calls to the update progress' messages work as expected.
closing the progress object (by code) work as expected.

However, if the user closes the progress object - I am getting an 
error, previous mentioned, saying:
- The callback method 'user_Closed_Progress' does not exist, or is not 
shared by the host.

I do not understand why I am getting this error, as the callback method 
(user_Closed_Progress) exists in the component.

On Fri, 8 Jun 2018 17:32:02 -0700, Kirk Brooks via 4D_Tech wrote:
> Chip,
> Keep in mind that if you call the Progress methods from the component they
> run in the context of the component. Which means they aren't sharing memory
> space with the host db.
> 
> 
> On Fri, Jun 8, 2018 at 3:27 PM Chip Scheide via 4D_Tech <
> [email protected]> wrote:
> 
>> I am referencing Progress (4D natively installed component), in a
>> component.
>> I wrap Progress calls in my own methods, including the call to New
>> Progress where I install my own callback method to execute on user
>> close of the progress thermometer.
>> 
>> I am getting an error when the user tries to close the progress window
>> saying that the callback method either does not exist (it does in the
>> component referencing Progress) or it is not shared in the host.
>> 
>> Any ideas?? the documentation on Progress is thin...
>> 
>> Thanks
>> Chip
>> 
>> ---------------
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing
>> **********************************************************************
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:[email protected]
>> **********************************************************************
> 
> 
> 
> -- 
> Kirk Brooks
> San Francisco, CA
> =======================
> 
> *We go vote - they go home*
> **********************************************************************
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:[email protected]
> **********************************************************************
---------------
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to