Re: components - questions about variable scope

2017-04-22 Thread Chip Scheide via 4D_Tech
so I started, on Friday... why I do not know :) I have a method that I am trying to move into a component it saves the user group to either a field in the (host) database, a disk file, or both. Maybe im going about this with the wrong mindset, but, what I wanted to do was this:

Re: components - questions about variable scope

2017-04-22 Thread Chip Scheide via 4D_Tech
to clarify for myself In host database: Wnd_CloseBox(True) //do a bunch of stuff (in same process - later) if(Wnd_CloseBox) // this will happen as it was set before (in different process) if(Wnd_CloseBox) // this will Not happen as it was not set before is that correct? > Chip,

Re: components - questions about variable scope

2017-04-22 Thread Arnaud de Montard via 4D_Tech
> Le 21 avr. 2017 à 23:41, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> a > écrit : > > I am working on my first component - > all the chat about them :) > > process and inter process variables > what can be seen by the component of/from the host, and vis-verse > > At the moment - I am

Re: components - questions about variable scope

2017-04-21 Thread Wayne Stewart via 4D_Tech
Chip, Totally separate variable name space. You can access variables via pointer and that's it. Otherwise I use access methods quite a lot. Consider this method (from a component) to set a variable associated with a boolean: // Project Method: Wnd_CloseBox ({Include a close box?}) -->

components - questions about variable scope

2017-04-21 Thread Chip Scheide via 4D_Tech
I am working on my first component - all the chat about them :) process and inter process variables what can be seen by the component of/from the host, and vis-verse At the moment - I am looking at an inter process var in my nascent component, can the host database see this? if I change an IP