Re: good job needs good doc

2018-09-14 Thread Keisuke Miyako via 4D_Tech
The URL should be localised for each R release,
you should be able to restore it with "Factory Settings".

http://doc.4d.com/4dv16r6/help/command/ja/

ja = fr, en, etc.

> 2018/09/13 0:44、Arnaud de Montard via 4D_Tech <4d_tech@lists.4d.com>のメール:
>
> When I use 4dv16r6, I'd like the alt clic shortcut on a command to open the 
> good version of doc.
> Of course not, it drives me nuts.
> Any idea?
> Where are documented the links we can use?




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Style Text variable to Pasteboard

2018-09-14 Thread William Swann via 4D_Tech

Hello all,

I have hit the wall. v14.6, Mac and Windows. I created a Style Text 
variable, populate it and can display the same with formatting integrity 
intact upon a page change. In between the page change I decided to take 
the variable and try and place it on the Clipboard/Pasteboard using the 
snippets below. The number is the WIndows number for RTF. I have tried 
the variant with 4D signatures. When the text gets to the Pasteboard, it 
shows the tags. When I copy the styled text display area using the menu, 
the pasteboard has the styled text. Using GET PASTEBOARD DATA TYPE 
returns 5 array elements, 4 really as one is blank.


C_BLOB($textBlob)
CLEAR PASTEBOARD

 //APPEND DATA TO PASTEBOARD("com.4d.private.text.native";$textBlob;*)
 //APPEND DATA TO PASTEBOARD("com.4d.private.text.utf16";$textBlob;*)
 //APPEND DATA TO PASTEBOARD("com.4d.private.text.html";$textBlob;*)

TEXT TO BLOB($ptrText->;$textBlob;UTF8 text without length)
APPEND DATA TO PASTEBOARD("49336";$textBlob)
SET BLOB SIZE($textBlob;0)


I guess it come down to telling Windows or the Mac what type of data I 
am placing there.It seems that there is where I am having the problem of 
architecting the correct data for the pasteboard. There are no graphics 
in the text, just bold facing and underlining. I want to put the 
formatted text on the pasteboard, so the user can immediately paste into 
Word or Outlook. Any thoughts would be appreciated.


Thanks!

Bill Swann


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13(+?) - Components and host processes

2018-09-14 Thread Chip Scheide via 4D_Tech
thanks


> According to the docs, Processes are in the Unshared category of objects:
> http://doc.4d.com/4Dv15/4D/15.6/Interaction-between-components-and-host-databases.300-3836723.en.html#516546
> 
> What you can do is this;
> 
> 1) create a method in the host database that returns the data you are 
> looking for
> 2) set the method properties to 'shared between host and component'
> http://doc.4d.com/4Dv15/4D/15.6/Interaction-between-components-and-host-databases.300-3836723.en.html#516569
> 
> Then your component can call this method and obtain the information 
> from the context of the host.
> 
> -Tim
> 
> 
> Timothy Penner
> Senior Technical Services Engineer
> 
> 4D Inc
> 95 S. Market Street, Suite #240
> CA 95113 San Jose
> United States
> 
> Téléphone : +1-408-557-4600
> Standard :  +1-408-557-4600
> Fax :   +1-408-271-5080
> Email : tpen...@4d.com
> Web :   www.4D.com
> 
> 
> 
> 
> 
> 

Hell is other people 
 Jean-Paul Sartre
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: v13(+?) - Components and host processes

2018-09-14 Thread Timothy Penner via 4D_Tech
According to the docs, Processes are in the Unshared category of objects:
http://doc.4d.com/4Dv15/4D/15.6/Interaction-between-components-and-host-databases.300-3836723.en.html#516546

What you can do is this;

1) create a method in the host database that returns the data you are looking 
for
2) set the method properties to 'shared between host and component'
http://doc.4d.com/4Dv15/4D/15.6/Interaction-between-components-and-host-databases.300-3836723.en.html#516569

Then your component can call this method and obtain the information from the 
context of the host.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

v13(+?) - Components and host processes

2018-09-14 Thread Chip Scheide via 4D_Tech
can/does a component see the current state of a host process?

In a component, I have  a line of code in a for (count tasks) loop
PROCESS PROPERTIES($i;$Proc_Name;$Proc_State;$Proc_Time)

(context of the component) 
The processes name is correctly returned, but the process state 
returned is 0 (zero),

when I execute Process State($i) in the debugger (context of the host) 
it returns process state 2.

if a component can/does see the correct process state of a host 
process, any other ideas why I am getting 2 different states for the 
same process using 2 different commands? 
(btw - zero is incorrect)

Thanks
Chip


---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Client as Web Server - Using same 4D Process if web access from diff. machines

2018-09-14 Thread Randy Engle via 4D_Tech
Keith,

Thanks.  Will investigate

Randy Engle

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Keith White via 
4D_Tech
Sent: Friday, September 14, 2018 1:29 PM
To: 4d_tech@lists.4d.com
Cc: Keith White 
Subject: Re: 4D Client as Web Server - Using same 4D Process if web access from 
diff. machines

Hi

That’s actually normal for a 4D Web Server.  You’re not guaranteed to get a new 
process for each request.  Web processes can be reused.

I think there is a structure setting to control it when using 4D Remote as a 
web server, though I forget what it’s called. There is also a setting for 4D 
Web server to specify the minimum number of processes to keep around for web 
requests.

Either way, you can’t 100% rely on process variables, selections, sets etc to 
be clean at the start of a web process.

Hope that helps

Best regards

Keith White
Synergist Express Ltd, UK
4697775
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Client as Web Server - Using same 4D Process if web access from diff. machines

2018-09-14 Thread Keith White via 4D_Tech
Hi

That’s actually normal for a 4D Web Server.  You’re not guaranteed to get a new 
process for each request.  Web processes can be reused.

I think there is a structure setting to control it when using 4D Remote as a 
web server, though I forget what it’s called. There is also a setting for 4D 
Web server to specify the minimum number of processes to keep around for web 
requests.

Either way, you can’t 100% rely on process variables, selections, sets etc to 
be clean at the start of a web process.

Hope that helps

Best regards

Keith White
Synergist Express Ltd, UK
4697775
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: PDF generation on Windows - Latest Thinking

2018-09-14 Thread Daniel N. Solenthaler via 4D_Tech
Hi all,

we have been using Armin's PDF Plugin for years now and I can only recommend it.

Rock solid, no headaches. :-)

Daniel
dan...@solenthaler.com 

> Am 13.09.2018 um 20:17 schrieb 4d_tech-requ...@lists.4d.com 
> :
> 
> Message: 3
> Date: Thu, 13 Sep 2018 07:10:54 -0700 (MST)
> From: ADeeg mailto:d...@node.de>>
> To: 4d_tech@lists.4d.com 
> Subject: RE: PDF generation on Windows - Latest Thinking
> Message-ID: <1536847854065-0.p...@n5.nabble.com 
> >
> Content-Type: text/plain; charset=us-ascii
> 
> Hi all,
> 
> if you need a stable rock solid solution to print pdf files on windows, have
> a look at our pdf plugin with pdf driver.
> 
> pdf printer driver and 32/64 Bit 4D plugin (v17 too ;-)
> no boring update messages
> much smaller pdfs than the win 10 built in driver
> add bookmarks
> add letter forms
> mail with ms outlook
> combine different print jobs to a single pdf with bookmarks and letterforms 
> 
> and much more features
> 
> free up your head, save time and use it for all windows plattforms
> Try it, integrate it, buy it and forget all the previous trouble with
> different solutions
> no annual fees
> 
> Link: http://www.node.de/indexplug.htm 
> 
> We use it in our own vertical market software and the plugin gets updates
> since 14 years
> 
> Regards Armin

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

RE: 4D Client as Web Server - Using same 4D Process if web access from diff. machines

2018-09-14 Thread Timothy Penner via 4D_Tech
When looking at the Web Server (Client) settings, are you using automatic 
session management?
http://doc.4d.com/4Dv15/4D/15.6/Web-Sessions-Management.300-3817755.en.html

Are you using the WEB CLOSE SESSION command?
http://doc.4d.com/4Dv15/4D/15.6/WEB-CLOSE-SESSION.301-3817719.en.html

Reminder, the Client Web Server has different settings than the Local (Server 
vs Desktop) Web Server.

-Tim



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Client as Web Server - Using same 4D Process if web access from diff. machines

2018-09-14 Thread Randy Engle via 4D_Tech
Humble request to any that have used 4D Client as the web server:
I'm getting "interesting" results when doing this.

If a user logs into my web app from machine "A", there are some process 
variables set such as:

User_ID, etc.

If someone on machine "B" accesses from the web
(No log in, just goes to the "home page")

Then, the e.g. User_ID variable is populated from the previous log in.

So 4D is using the same process for any access via web.

This is not a good thing!
Clearly, I'm being a meatball and doing something muy stupido, (or at least I 
hope that is the case.)

These all work as expected:
4D Server
4D Local Mode
4D Volume Desktop

Windows 10 - 4D 16r6

Any comments most welcome


Randy Engle


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Sum Function will not add first in series

2018-09-14 Thread mferguson--- via 4D_Tech
Hi,

A customer reports about v15:

" when you Sum a field,  if there’s only 1 record,  the resulting value is 
returned as a 0 no matter if the field is <>0.”

Has anyone encountered this?

Thanks

Michael Ferguson
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF generation on Windows - Latest Thinking

2018-09-14 Thread ADeeg via 4D_Tech
Chuck,

the plugin price is listed here: http://www.node.de/indexplug.htm

The license is per developer. Buy it once and distribute your solutions to
as many clients and servers as you like.


Regards Armin


4D Tech mailing list wrote
> Armin
> 
> Can advise pricing for developer and deployment in server environments
> 
> Thanks and regards
> 
> Chuck
> 
> On Thu, Sep 13, 2018 at 10:11 AM ADeeg via 4D_Tech <

> 4d_tech@.4d

>>
> wrote:





--
Sent from: http://4d.1045681.n5.nabble.com/4D-Tech-f1376241.html
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**