Re: v13 - Plugin inside component

2017-11-17 Thread Tim Nevels via 4D_Tech
On Nov 17, 2017, at 9:33 AM, Chip Scheide wrote: > The host after completion of the component will not be in my control. > > to install a plugin... > the component will need to have a table - with a blob. In the blob will need > to be the plugin. > > upon initialization of the component I can:

Re: v13 - Plugin inside component

2017-11-16 Thread Keisuke Miyako via 4D_Tech
> 2017/11/17 9:58、Chip Scheide <4d_o...@pghrepository.org> のメール: > > The host after completion of the component will not be in my control. > > to install a plugin... > the component will need to have a table - with a blob. In the blob will need > to be the plugin. that sounds like overkill. just

Re: v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
The host after completion of the component will not be in my control. to install a plugin... the component will need to have a table - with a blob. In the blob will need to be the plugin. upon initialization of the component I can: check to see if the plugin is already installed if not blob to

Re: v13 - Plugin inside component

2017-11-16 Thread Keisuke Miyako via 4D_Tech
the plugins folder of a component is never loaded. the component's plugins folder can be empty, since the plugin is always called in the host's context. so you have two options: 1 install the plugin for both the host and component, during development. use the application build dialog to create a

Re: v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
to do this in code something like this? get database folder if mac add structure name look for plugins folder if not in existence create it copy plugin from component plugin folder if windows look for plugins folder create if needed copy from inside component plugin folder I'm not sur

Re: v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
Thanks On Fri, 17 Nov 2017 09:43:49 +1100, Wayne Stewart via 4D_Tech wrote: > Chip, > > Yep, that should do the trick > > > Regards, > > Wayne > > > [image: --] > Wayne Stewart > [image: http://]about.me/waynestewart > > > > On 17 November 2017 at 09:35, Chip

Re: v13 - Plugin inside component

2017-11-16 Thread Wayne Stewart via 4D_Tech
Chip, Yep, that should do the trick Regards, Wayne [image: --] Wayne Stewart [image: http://]about.me/waynestewart On 17 November 2017 at 09:35, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com > wrote: > I have a plugin - Keisuke's Get Folder Size - which is i

v13 - Plugin inside component

2017-11-16 Thread Chip Scheide via 4D_Tech
I have a plugin - Keisuke's Get Folder Size - which is installed (plugin folder) of a database which is itself a component. I have tested the use of the plug, directly from inside the component, and it works as expected. However, I am finally testing a lot of new code from a host database (whic