Re: Query By Attribute vs Map NULL values to blank values

2017-10-09 Thread John Baughman via 4D_Tech
Keisuke,

No sure I understand your response.

I am working in R4 and was trying to query on an object field and 
thought I could leave the field undefined using Query By Attribute. Not so, but 
I am content with initializing all the records with an object so the the query 
works with #.

I still do not get why the R4 documentation for Query by attribute 
discusses how a # query will function if the "Map null to blank” checkbox is or 
is not checked it the checkbox does not exist for an object field.

John

> On Oct 9, 2017, at 3:08 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> the "map null to blank" property was originally introduced in v11,
> as a way to tell SQL that pre-existing NULLs
> (which could typically be created by adding fields)
> should not be considered NULLs in SQL.
> otherwise, as far as SQL is concerned,
> NULLs should never be mapped to blanks.
> (that is why the CREATE TABLE command does not allow this property to be 
> enabled)
> 
>> The documentation for Query by Attribute discusses at length how a # query 
>> performs with or without the Map NULL values to blank values checked.
> 
> this passage was added in v16
> 
> http://doc.4d.com/4Dv16R4/4D/16-R4/QUERY-BY-ATTRIBUTE.301-3317528.en.html
> 
> c.f.
> 
> http://doc.4d.com/4Dv15/4D/15/QUERY-BY-ATTRIBUTE.301-2018639.en.html
> 
> and the you immediate notice that "on" is considered the "4D way" and "off" 
> the "SQL way".
> 
> as for the question,
> 
>> I do not see this checkbox  in the field Explorer window for an Object 
>> field. Am I missing something here? It is there for other types of fields 
>> but not Object fields.
> 
> maybe you need to check the version.
> 
> 
> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com





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

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Sujit,

Don't get me wrong.

I do what Keisuke says as well, I just capture the font name on startup so
I can use it later.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 10 October 2017 at 15:34, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> I think I am going to bite the bullet and do as Keisuke suggests. Testing
> it I found the User experience is way better..  An easy sprint or 2 for the
> hundreds of forms in the DB.
>
> On Tue, Oct 10, 2017 at 3:12 PM, Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Hi,
> >
> > I guess that's not a major concern for me.
> >
> >
> > Regards,
> >
> > Wayne
> >
> >
> > [image: --]
> > Wayne Stewart
> > [image: http://]about.me/waynestewart
> > 
> >
> >
> > On 10 October 2017 at 14:56, Keisuke Miyako via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> > > > 2017/10/10 12:41、Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com>
> > のメール:
> > > > <>WGD_o.Font:=New object
> > > > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
> > >
> > > as I mentioned in my other post,
> > >
> > > changing the font according to what you get from this,
> > > or any other ways to obtain the system font name,
> > > is going to fail when the app starts to display and accept text outside
> > > the latin alphabet.
> > >
> > > but of course, that may not be your concern at all.
> > > in that case, I have no reasons to stop you.
> > >
> > >
> > >
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > FAQ:  http://lists.4d.com/faqnug.html
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> > >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Yeah Sure. But the field spacing is way off and a realignment and
repositioning is inevitable.

On Tue, Oct 10, 2017 at 3:53 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> keep in mind that since v13,
>
> you can find in design your "default" stylesheet and replace it with
> "Automatic".
>
> it's how 4D replaced all its internal dialogs.
>
> > 2017/10/10 13:34、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > An easy sprint or 2 for the
> > hundreds of forms in the DB.
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Keisuke Miyako via 4D_Tech
keep in mind that since v13,

you can find in design your "default" stylesheet and replace it with 
"Automatic".

it's how 4D replaced all its internal dialogs.

> 2017/10/10 13:34、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> An easy sprint or 2 for the
> hundreds of forms in the DB.




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

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
I think I am going to bite the bullet and do as Keisuke suggests. Testing
it I found the User experience is way better..  An easy sprint or 2 for the
hundreds of forms in the DB.

On Tue, Oct 10, 2017 at 3:12 PM, Wayne Stewart via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi,
>
> I guess that's not a major concern for me.
>
>
> Regards,
>
> Wayne
>
>
> [image: --]
> Wayne Stewart
> [image: http://]about.me/waynestewart
> 
>
>
> On 10 October 2017 at 14:56, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > > 2017/10/10 12:41、Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> > > <>WGD_o.Font:=New object
> > > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
> >
> > as I mentioned in my other post,
> >
> > changing the font according to what you get from this,
> > or any other ways to obtain the system font name,
> > is going to fail when the app starts to display and accept text outside
> > the latin alphabet.
> >
> > but of course, that may not be your concern at all.
> > in that case, I have no reasons to stop you.
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Hi,

I guess that's not a major concern for me.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 10 October 2017 at 14:56, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> > 2017/10/10 12:41、Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > <>WGD_o.Font:=New object
> > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
>
> as I mentioned in my other post,
>
> changing the font according to what you get from this,
> or any other ways to obtain the system font name,
> is going to fail when the app starts to display and accept text outside
> the latin alphabet.
>
> but of course, that may not be your concern at all.
> in that case, I have no reasons to stop you.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Keisuke Miyako via 4D_Tech
> 2017/10/10 12:41、Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com> のメール:
> <>WGD_o.Font:=New object
> <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")

as I mentioned in my other post,

changing the font according to what you get from this,
or any other ways to obtain the system font name,
is going to fail when the app starts to display and accept text outside the 
latin alphabet.

but of course, that may not be your concern at all.
in that case, I have no reasons to stop you.



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

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Sujit,

I do use the style sheet but I resize some of my dialogs/windows to fit the
amount of text being displayed.  This way I know the name of the font when
the calculations are made.

Sorry, that wasn't clear.


Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 10 October 2017 at 14:44, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> SO you don't use the property list to set the stylesheets?
>
> On Tue, Oct 10, 2017 at 2:41 PM, Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Hi,
> >
> > What I do is open a form on startup in a window outside etc screen
> > boundary.
> >
> > On that form I have one variable set to Automatic.
> >
> > In the On load method I call:
> >
> > <>WGD_o.Font:=New object
> > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
> >
> > In this particular example <>WGD_o is an application wide IP object that
> I
> > use to stuff things in.
> >
> > I then have the name to be used for the system font available for
> > calling thought the system.
> >
> > Cheers,
> >
> > Wayne
> >
> >
> >
> >
> > Regards,
> >
> > Wayne
> >
> >
> > [image: --]
> > Wayne Stewart
> > [image: http://]about.me/waynestewart
> > 
> >
> >
> > On 10 October 2017 at 14:32, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com>
> > wrote:
> >
> > > Thanks for your input. The standard Automatic font for data input is
> > rather
> > > nice - I must say. Gives the interface a nice uncluttered look and I am
> > > sure an enhanced data entry experience.  Something that users using web
> > > applications will be familiar with. A lot of "old style" 4D
> applications
> > > are cluttered with lots of fields packed together. Obviously with size
> 13
> > > fonts the screen real estate has to be redesigned to accomodate all the
> > > fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> > > waiting for the true elastic bootstrap 4D UI or perhaps I should not
> wait
> > > and just use web areas for all forms..
> > >
> > > :-)
> > >
> > >
> > >
> > >
> > > On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> > > 4d_tech@lists.4d.com> wrote:
> > >
> > > > no,
> > > >
> > > > it simply means that the form is specifically designed.
> > > >
> > > > https://developer.apple.com/macos/human-interface-
> > > > guidelines/visual-design/typography/
> > > >
> > > > > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> > > > >
> > > > > "Automatic style sheets manage the font as well as its size and
> > color"
> > > > >
> > > > > However, when I apply the "Automatic" style sheet I get a System
> Font
> > > 13
> > > > > for fields and variables which is way too large for the form
> design I
> > > > have.
> > > > > Does this mean I have to redesign all the forms?
> > > >
> > > >
> > > >
> > > > 
> **
> > > > 4D Internet Users Group (4D iNUG)
> > > > FAQ:  http://lists.4d.com/faqnug.html
> > > > Archive:  http://lists.4d.com/archives.html
> > > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > > 
> **
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > xxx
> > > "There must be ingenuity as well as intention, strategy as well as
> > > strength. "
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > FAQ:  http://lists.4d.com/faqnug.html
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> > >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
SO you don't use the property list to set the stylesheets?

On Tue, Oct 10, 2017 at 2:41 PM, Wayne Stewart via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi,
>
> What I do is open a form on startup in a window outside etc screen
> boundary.
>
> On that form I have one variable set to Automatic.
>
> In the On load method I call:
>
> <>WGD_o.Font:=New object
> <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
>
> In this particular example <>WGD_o is an application wide IP object that I
> use to stuff things in.
>
> I then have the name to be used for the system font available for
> calling thought the system.
>
> Cheers,
>
> Wayne
>
>
>
>
> Regards,
>
> Wayne
>
>
> [image: --]
> Wayne Stewart
> [image: http://]about.me/waynestewart
> 
>
>
> On 10 October 2017 at 14:32, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> > Thanks for your input. The standard Automatic font for data input is
> rather
> > nice - I must say. Gives the interface a nice uncluttered look and I am
> > sure an enhanced data entry experience.  Something that users using web
> > applications will be familiar with. A lot of "old style" 4D applications
> > are cluttered with lots of fields packed together. Obviously with size 13
> > fonts the screen real estate has to be redesigned to accomodate all the
> > fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> > waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
> > and just use web areas for all forms..
> >
> > :-)
> >
> >
> >
> >
> > On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> > > no,
> > >
> > > it simply means that the form is specifically designed.
> > >
> > > https://developer.apple.com/macos/human-interface-
> > > guidelines/visual-design/typography/
> > >
> > > > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > > >
> > > > "Automatic style sheets manage the font as well as its size and
> color"
> > > >
> > > > However, when I apply the "Automatic" style sheet I get a System Font
> > 13
> > > > for fields and variables which is way too large for the form design I
> > > have.
> > > > Does this mean I have to redesign all the forms?
> > >
> > >
> > >
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > FAQ:  http://lists.4d.com/faqnug.html
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> > >
> >
> >
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Wayne Stewart via 4D_Tech
Hi,

What I do is open a form on startup in a window outside etc screen boundary.

On that form I have one variable set to Automatic.

In the On load method I call:

<>WGD_o.Font:=New object
<>WGD_o.Font.Name:=OBJECT Get font(*;"auto")

In this particular example <>WGD_o is an application wide IP object that I
use to stuff things in.

I then have the name to be used for the system font available for
calling thought the system.

Cheers,

Wayne




Regards,

Wayne


[image: --]
Wayne Stewart
[image: http://]about.me/waynestewart



On 10 October 2017 at 14:32, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Thanks for your input. The standard Automatic font for data input is rather
> nice - I must say. Gives the interface a nice uncluttered look and I am
> sure an enhanced data entry experience.  Something that users using web
> applications will be familiar with. A lot of "old style" 4D applications
> are cluttered with lots of fields packed together. Obviously with size 13
> fonts the screen real estate has to be redesigned to accomodate all the
> fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
> and just use web areas for all forms..
>
> :-)
>
>
>
>
> On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > no,
> >
> > it simply means that the form is specifically designed.
> >
> > https://developer.apple.com/macos/human-interface-
> > guidelines/visual-design/typography/
> >
> > > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > >
> > > "Automatic style sheets manage the font as well as its size and color"
> > >
> > > However, when I apply the "Automatic" style sheet I get a System Font
> 13
> > > for fields and variables which is way too large for the form design I
> > have.
> > > Does this mean I have to redesign all the forms?
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Nice tips here..

https://mono.company/journal/design-practice/the-10-commandments-of-good-form-design-on-the-web/


On Tue, Oct 10, 2017 at 2:32 PM, Sujit Shah  wrote:

> Thanks for your input. The standard Automatic font for data input is
> rather nice - I must say. Gives the interface a nice uncluttered look and I
> am sure an enhanced data entry experience.  Something that users using web
> applications will be familiar with. A lot of "old style" 4D applications
> are cluttered with lots of fields packed together. Obviously with size 13
> fonts the screen real estate has to be redesigned to accomodate all the
> fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
> and just use web areas for all forms..
>
> :-)
>
>
>
>
> On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> no,
>>
>> it simply means that the form is specifically designed.
>>
>> https://developer.apple.com/macos/human-interface-guidelines
>> /visual-design/typography/
>>
>> > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> >
>> > "Automatic style sheets manage the font as well as its size and color"
>> >
>> > However, when I apply the "Automatic" style sheet I get a System Font 13
>> > for fields and variables which is way too large for the form design I
>> have.
>> > Does this mean I have to redesign all the forms?
>>
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Thanks for your input. The standard Automatic font for data input is rather
nice - I must say. Gives the interface a nice uncluttered look and I am
sure an enhanced data entry experience.  Something that users using web
applications will be familiar with. A lot of "old style" 4D applications
are cluttered with lots of fields packed together. Obviously with size 13
fonts the screen real estate has to be redesigned to accomodate all the
fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
and just use web areas for all forms..

:-)




On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> no,
>
> it simply means that the form is specifically designed.
>
> https://developer.apple.com/macos/human-interface-
> guidelines/visual-design/typography/
>
> > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >
> > "Automatic style sheets manage the font as well as its size and color"
> >
> > However, when I apply the "Automatic" style sheet I get a System Font 13
> > for fields and variables which is way too large for the form design I
> have.
> > Does this mean I have to redesign all the forms?
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Keisuke Miyako via 4D_Tech
no,

it simply means that the form is specifically designed.

https://developer.apple.com/macos/human-interface-guidelines/visual-design/typography/

> 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> "Automatic style sheets manage the font as well as its size and color"
>
> However, when I apply the "Automatic" style sheet I get a System Font 13
> for fields and variables which is way too large for the form design I have.
> Does this mean I have to redesign all the forms?



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

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Does this also explain the problem I have with retina displays?

On Tue, Oct 10, 2017 at 12:57 PM, Sujit Shah  wrote:

> I see from http://doc.4d.com/4Dv16/4D/16.1/Automatic-style-
> sheets.300-3373396.en.html
>
> "Automatic style sheets manage the font as well as its size and color"
>
> However, when I apply the "Automatic" style sheet I get a System Font 13
> for fields and variables which is way too large for the form design I have.
> Does this mean I have to redesign all the forms?
>
> :-(
>
>
>
> On Tue, Oct 10, 2017 at 11:46 AM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> on the use of system font:
>>
>> the only correct (that is, intended) way to use the system font in 4D is
>> to use it indirectly with the automatic stylesheet feature.
>>
>> it is NOT recommended to use "system font" via the default stylesheet, or
>> any stylesheet, except the automatic stylesheet, or change an object's font
>> to "system font" using OBJECT SET FONT. all these features simply reference
>> the font by its name, but the system font is not just another font name, it
>> is more than that.
>>
>> from a technical point of view, it is resolved via the Theme API on
>> Windows
>> https://msdn.microsoft.com/en-us/library/windows/desktop/bb7
>> 73210(v=vs.85).aspx
>> and CoreText API on macOS.
>> https://developer.apple.com/documentation/coretext/ctfont?language=objc
>>
>> the system font is rendered according to context, that is, the control
>> (form object) type, its size (notably its height) the screen DPI on Windows
>> and even the language or languages that appear in the text. if you simply
>> apply the SF font like any other font, you won't get the full benefit of
>> the system font feature.
>>
>> it is a hidden font name, with a dot prefix. one way to use it (defying
>> the designer's intent) is to create an HTML with the CSS style (you can
>> find ways to do that on the internet), open it in a web browser, copy and
>> paste the text (with style) to an editor (iWorks, TextEdit, anything), and
>> then register that font in the system font panel as a favourite. once you
>> know its hidden name, you can use it in 4D as well. but it won't behave the
>> same way as the system font let alone the automatic stylesheet, you are
>> intentionally using a static subset of those dynamic features against the
>> designer's intent.
>>
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
I see from
http://doc.4d.com/4Dv16/4D/16.1/Automatic-style-sheets.300-3373396.en.html

"Automatic style sheets manage the font as well as its size and color"

However, when I apply the "Automatic" style sheet I get a System Font 13
for fields and variables which is way too large for the form design I have.
Does this mean I have to redesign all the forms?

:-(



On Tue, Oct 10, 2017 at 11:46 AM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> on the use of system font:
>
> the only correct (that is, intended) way to use the system font in 4D is
> to use it indirectly with the automatic stylesheet feature.
>
> it is NOT recommended to use "system font" via the default stylesheet, or
> any stylesheet, except the automatic stylesheet, or change an object's font
> to "system font" using OBJECT SET FONT. all these features simply reference
> the font by its name, but the system font is not just another font name, it
> is more than that.
>
> from a technical point of view, it is resolved via the Theme API on Windows
> https://msdn.microsoft.com/en-us/library/windows/desktop/
> bb773210(v=vs.85).aspx
> and CoreText API on macOS.
> https://developer.apple.com/documentation/coretext/ctfont?language=objc
>
> the system font is rendered according to context, that is, the control
> (form object) type, its size (notably its height) the screen DPI on Windows
> and even the language or languages that appear in the text. if you simply
> apply the SF font like any other font, you won't get the full benefit of
> the system font feature.
>
> it is a hidden font name, with a dot prefix. one way to use it (defying
> the designer's intent) is to create an HTML with the CSS style (you can
> find ways to do that on the internet), open it in a web browser, copy and
> paste the text (with style) to an editor (iWorks, TextEdit, anything), and
> then register that font in the system font panel as a favourite. once you
> know its hidden name, you can use it in 4D as well. but it won't behave the
> same way as the system font let alone the automatic stylesheet, you are
> intentionally using a static subset of those dynamic features against the
> designer's intent.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Query By Attribute vs Map NULL values to blank values

2017-10-09 Thread Keisuke Miyako via 4D_Tech
the "map null to blank" property was originally introduced in v11,
as a way to tell SQL that pre-existing NULLs
(which could typically be created by adding fields)
should not be considered NULLs in SQL.
otherwise, as far as SQL is concerned,
NULLs should never be mapped to blanks.
(that is why the CREATE TABLE command does not allow this property to be 
enabled)

> The documentation for Query by Attribute discusses at length how a # query 
> performs with or without the Map NULL values to blank values checked.

this passage was added in v16

http://doc.4d.com/4Dv16R4/4D/16-R4/QUERY-BY-ATTRIBUTE.301-3317528.en.html

c.f.

http://doc.4d.com/4Dv15/4D/15/QUERY-BY-ATTRIBUTE.301-2018639.en.html

and the you immediate notice that "on" is considered the "4D way" and "off" the 
"SQL way".

as for the question,

> I do not see this checkbox  in the field Explorer window for an Object field. 
> Am I missing something here? It is there for other types of fields but not 
> Object fields.

maybe you need to check the version.




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

Re: Import from RTF

2017-10-09 Thread Keisuke Miyako via 4D_Tech
a simple converter:

https://github.com/miyako/4d-plugin-RTF2TEXT

> 2017/10/10 0:41、stardata.info via 4D_Tech <4d_tech@lists.4d.com> のメール:
> I use 4D V15 on windows and i need to import from an RTF file.
> Is possible to do using 4D?




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

Re: San Fransisco Font

2017-10-09 Thread Keisuke Miyako via 4D_Tech
on the use of system font:

the only correct (that is, intended) way to use the system font in 4D is to use 
it indirectly with the automatic stylesheet feature.

it is NOT recommended to use "system font" via the default stylesheet, or any 
stylesheet, except the automatic stylesheet, or change an object's font to 
"system font" using OBJECT SET FONT. all these features simply reference the 
font by its name, but the system font is not just another font name, it is more 
than that.

from a technical point of view, it is resolved via the Theme API on Windows
https://msdn.microsoft.com/en-us/library/windows/desktop/bb773210(v=vs.85).aspx
and CoreText API on macOS.
https://developer.apple.com/documentation/coretext/ctfont?language=objc

the system font is rendered according to context, that is, the control (form 
object) type, its size (notably its height) the screen DPI on Windows and even 
the language or languages that appear in the text. if you simply apply the SF 
font like any other font, you won't get the full benefit of the system font 
feature.

it is a hidden font name, with a dot prefix. one way to use it (defying the 
designer's intent) is to create an HTML with the CSS style (you can find ways 
to do that on the internet), open it in a web browser, copy and paste the text 
(with style) to an editor (iWorks, TextEdit, anything), and then register that 
font in the system font panel as a favourite. once you know its hidden name, 
you can use it in 4D as well. but it won't behave the same way as the system 
font let alone the automatic stylesheet, you are intentionally using a static 
subset of those dynamic features against the designer's intent.



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

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
As always thanks for the confirmation


On Tue, 10 Oct 2017 at 9:32 am, Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> You can use any size.
>
> --
> Jeffrey Kain
> jeffrey.k...@gmail.com
>
>
>
>
> > On Oct 9, 2017, at 6:30 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Thanks for the insight. The system font on Mac Appears small (says size
> > 10). Can the size be increased to 11? Will each user need to add a size
> to
> > the font library? It seems to be working for me without adding one. But
> > that does not mean it will work on all Macs.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Jeffrey Kain via 4D_Tech
You can use any size.

--
Jeffrey Kain
jeffrey.k...@gmail.com




> On Oct 9, 2017, at 6:30 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Thanks for the insight. The system font on Mac Appears small (says size
> 10). Can the size be increased to 11? Will each user need to add a size to
> the font library? It seems to be working for me without adding one. But
> that does not mean it will work on all Macs.

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

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Thanks for the insight. The system font on Mac Appears small (says size
10). Can the size be increased to 11? Will each user need to add a size to
the font library? It seems to be working for me without adding one. But
that does not mean it will work on all Macs.

On Tue, Oct 10, 2017 at 8:23 AM, Spencer Hinsdale via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Here's how to get font and something about style sheet "automatic":
>
> http://kb.4d.com/resources/inug?msgid=GmailId15d3951d31795686 <
> http://kb.4d.com/resources/inug?msgid=GmailId15d3951d31795686>
>
> I don't know from "Default" but I do vaguely recall having boxes for 95,
> 2000, and XP.  :)
>
> > On Oct 9, 2017, at 1:46 PM, Jeffrey Kain via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > In my experience, the Default style sheet doesn't work correctly. On El
> Capitan and Sierra, it uses the Yosemite system font no matter what. But if
> you make a new style sheet that refers to "System Font" you'll end up the
> correct font on each OS. Not sure why "Default" doesn't work properly... I
> never really dug into it.
> >
> > Keep in mind that the Yosemite system font is significantly wider than
> its successors.
> >
> > --
> > Jeffrey Kain
> > jeffrey.k...@gmail.com
> >
> >> On Oct 9, 2017, at 4:28 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >>
> >> My thinking has been to use the “Default “ style sheet and explicitly
> set
> >> it to the prevailing system font on both platforms. However, the
> stylesheet
> >> editor has only one setting for macOS and some obsolete windows OS.
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Spencer Hinsdale via 4D_Tech
Here's how to get font and something about style sheet "automatic":

http://kb.4d.com/resources/inug?msgid=GmailId15d3951d31795686 


I don't know from "Default" but I do vaguely recall having boxes for 95, 2000, 
and XP.  :)

> On Oct 9, 2017, at 1:46 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> In my experience, the Default style sheet doesn't work correctly. On El 
> Capitan and Sierra, it uses the Yosemite system font no matter what. But if 
> you make a new style sheet that refers to "System Font" you'll end up the 
> correct font on each OS. Not sure why "Default" doesn't work properly... I 
> never really dug into it.
> 
> Keep in mind that the Yosemite system font is significantly wider than its 
> successors.
> 
> --
> Jeffrey Kain
> jeffrey.k...@gmail.com
> 
>> On Oct 9, 2017, at 4:28 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> 
>> wrote:
>> 
>> My thinking has been to use the “Default “ style sheet and explicitly set
>> it to the prevailing system font on both platforms. However, the stylesheet
>> editor has only one setting for macOS and some obsolete windows OS.
> 
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

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

Re: San Fransisco Font

2017-10-09 Thread Jeffrey Kain via 4D_Tech
In my experience, the Default style sheet doesn't work correctly. On El Capitan 
and Sierra, it uses the Yosemite system font no matter what. But if you make a 
new style sheet that refers to "System Font" you'll end up the correct font on 
each OS. Not sure why "Default" doesn't work properly... I never really dug 
into it.

Keep in mind that the Yosemite system font is significantly wider than its 
successors.

--
Jeffrey Kain
jeffrey.k...@gmail.com

> On Oct 9, 2017, at 4:28 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> My thinking has been to use the “Default “ style sheet and explicitly set
> it to the prevailing system font on both platforms. However, the stylesheet
> editor has only one setting for macOS and some obsolete windows OS.

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

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
So you are implying that I should set all style sheets to the system font

My thinking has been to use the “Default “ style sheet and explicitly set
it to the prevailing system font on both platforms. However, the stylesheet
editor has only one setting for macOS and some obsolete windows OS.

I guess I have to figure out how to change all objects to system globally.











On Tue, 10 Oct 2017 at 2:51 am, Ortwin Zillgen via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> > Still does not explain why I cannot see the SF font in the fonts library.
>
> you'll find them starting here
> 
> and end of list
> 
>
>
> > All tge objects are set to the “default “ style sheet set to Segoi UI for
> > Windows and Lucida Grande for MacOs
> >
> > I will avoid System Font as the user can manipulate this.
>
> you know, this is 1990-ies style of UI.
> Stick with system font, 4D supports that. The customer dependent fonts
> should be those for printing, only.
>
>
> Regards
> O r t w i n  Z i l l g e n
> -
>    
>  
> member of developer-network 
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

[ANN] New version of 4Dv16 Code Analysis Component available

2017-10-09 Thread Dani Beaubien via 4D_Tech
Just a heads up. The most recent version has been released. It is v16 only.

http://openroaddevelopment.com/downloads.html 



Code Analysis 2017.3 - Oct 9, 2017
==
General
 - Converted to 4D v16.
 - Reimplemented code that parses and tokenizes the 4d methods that the Code 
Analysis uses for statistics. Slight improvement in speed and fixes a number of 
parsing bugs.
 - Added UI for unit tests that have been implemented within the component.

Code Analysis Window: Exporting All as Text
  - Modified the code that is used to detect when a file in an included folder 
should be copied to the destination.
  Only files that have truly changed will be copied.
  A file that has an updated modification date but has no changes within 
the file will not be copied.

Code Analysis Window: Folder Differences
 - Improved the algorithm that is used to compare files in the identified 
folders. Properly identifies files that confirmed to be different regardless of 
file modification dates. No more false positives when doing a checkout from git.

Code Analysis Window: Index Analysis
 - Optimized the code used for doing the index count analysis. Performance 
significantly improved.

Components Methods Shared to the Host
 - Added "BuildNo_GetBuildNo_CodeAnalysis". The method will return an C_OBJECT 
that contains the version information for the component.
   For example: {"releaseYear":"2017", "releaseNo":"r1", "buildNo":"20170529", 
"versionShort":"2017.r1", "versionLong":"2017.r1 (build 20170529)"}
 - Added "CA_Pref_SetExportFolder". The method will set the root folder where 
the component will export all of it's files and folders to.
 - Added "CA_Pref_SetEOL". The method sets the end-of-line character that is 
used when exporting methods. Possible values are: "\r", "\n", "\r\n", or "".
 - Added "CA_Pref_GetStructureKey". The method will return the unique key that 
is attributed to the host structure.
 - Added "CA_Pref_SetStructureKey". The method allows the caller to specify the 
unique key that is attributed to the host structure.
 - Added "CA_Pref_GetPreferencesFolder". The method returns the path to where 
the component stores all of it's structure specific preferences.

Code Analysis Window: Structure Analysis
  - Added a new tab that shows the fields and tables that are directly 
referenced in code. This tab can be used to indicate the structure elements 
that are not used.

Explorer Window
 - Added ability to hide methods that are preemptive capable, incapable or 
indifferent.

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

Re: Import from RTF

2017-10-09 Thread Koen Van Hooreweghe via 4D_Tech
Hi Ferdinando,

Open it in 4D Write. 

HTH
Koen

> Op 9 okt. 2017, om 17:41 heeft stardata.info via 4D_Tech 
> <4d_tech@lists.4d.com> het volgende geschreven:
> 
> I use 4D V15 on windows and i need to import from an RTF file.
> 
> Is possible to do using 4D?

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

Re: San Fransisco Font

2017-10-09 Thread Ortwin Zillgen via 4D_Tech
> Still does not explain why I cannot see the SF font in the fonts library.

you'll find them starting here

and end of list



> All tge objects are set to the “default “ style sheet set to Segoi UI for
> Windows and Lucida Grande for MacOs
> 
> I will avoid System Font as the user can manipulate this.

you know, this is 1990-ies style of UI.
Stick with system font, 4D supports that. The customer dependent fonts should 
be those for printing, only.


Regards
O r t w i n  Z i l l g e n
-
   
 
member of developer-network 

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

Import from RTF

2017-10-09 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V15 on windows and i need to import from an RTF file.

Is possible to do using 4D?

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

Import from RTF

2017-10-09 Thread stardata.info via 4D_Tech

Hi All,

I use 4D V15 on windows and i need to import from an RTF file.

Is possible to do using 4D?

Thanks
/Ferdinando/

Il 06/10/2017 17:48, 4d_tech-requ...@lists.4d.com ha scritto:

Send 4D_Tech mailing list submissions to
4d_tech@lists.4d.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.4d.com/mailman/listinfo/4d_tech
or, via email, send a message with subject or body 'help' to
4d_tech-requ...@lists.4d.com

You can reach the person managing the list at
4d_tech-ow...@lists.4d.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of 4D_Tech digest..."


Today's Topics:

1. Re: Create multi array (Jeremy Roussak)
2. AW: Create multi array (Flury Olivier)
3. Re: Create multi array (Spencer Hinsdale)
4. Re: Create multi array (Arnaud de Montard)
5. Re: [offish]Volume of mail (Arnaud de Montard)
6. Re: [offish]Volume of mail (Peter Jakobsson)
7. Re: [offish]Volume of mail (Jim Medlen)
8. Re: How do workers die? (Julio Carneiro)
9. What happened to 4D documentation in R releases? (Richard Wright)
   10. RE: What happened to 4D documentation in R releases?
   (Michael McCall)


--

Message: 1
Date: Fri, 06 Oct 2017 10:16:04 +0100
From: Jeremy Roussak 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Create multi array
Message-ID: <90d57a97-1192-4856-821f-7685fe7da...@mac.com>
Content-Type: text/plain;   charset=us-ascii

EXECUTE FORMULA should do the trick.

For ($i;1;17)
$s:="ARRAY REAL(aANA_"+String($i)+";0)"
EXECUTE FORMULA($s)
End for

Jeremy

Jeremy Roussak
j...@mac.com




On 6 Oct 2017, at 09:57, stardata.info via 4D_Tech <4d_tech@lists.4d.com> wrote:

Hi All,

I need to create 20 arrays that have a similar name.
I can do this using the pointers?
I try with this code, but in compiled mode not work.

For ($I;1;17)
$vPoint:=Get pointer("aAna_"+String($I))
ARRAY REAL("aAna_"+String($I);0)
End for

Have suggestions?

Thanks
Ferdinando


--

Message: 2
Date: Fri, 6 Oct 2017 12:21:55 +0200
From: "Flury Olivier" 
To: "'4D iNug Technical'" <4d_tech@lists.4d.com>
Subject: AW: Create multi array
Message-ID: <008401d33e8c$ef59f530$ce0ddf90$@vtxnet.ch>
Content-Type: text/plain;   charset="utf-8"

I would not do this unless there is no other solution for the problem I want to 
solve.

Better solutions:

- Pre-declare a number of arrays (Array text(MyArray_001 etc.) and use them by get 
pointer (Get pointer ("MyArray_"+string($lCounter))
- On interface level you can address most elements without declaring a process 
variable, e.g. Listbox columns.

If you do an EXECUTE FORMULA check this:

http://doc.4d.com/4Dv16/4D/16.2/Using-tokens-in-formulas.300-3432926.en.html

-Ursprüngliche Nachricht-
Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Jeremy 
Roussak via 4D_Tech
Gesendet: Freitag, 6. Oktober 2017 11:16
An: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Jeremy Roussak 
Betreff: Re: Create multi array

EXECUTE FORMULA should do the trick.

For ($i;1;17)
$s:="ARRAY REAL(aANA_"+String($i)+";0)"
EXECUTE FORMULA($s)
End for

Jeremy

Jeremy Roussak
j...@mac.com




On 6 Oct 2017, at 09:57, stardata.info via 4D_Tech <4d_tech@lists.4d.com> wrote:

Hi All,

I need to create 20 arrays that have a similar name.
I can do this using the pointers?
I try with this code, but in compiled mode not work.

For ($I;1;17)
$vPoint:=Get pointer("aAna_"+String($I)) ARRAY
REAL("aAna_"+String($I);0) End for

Have suggestions?

Thanks
Ferdinando



--

Message: 3
Date: Fri, 6 Oct 2017 03:43:56 -0700
From: Spencer Hinsdale 
To: 4D iNug Technical <4d_tech@lists.4d.com>
Subject: Re: Create multi array
Message-ID: <22d55f41-1f21-48a3-86f5-980de5ea9...@bigsoftware.com>
Content-Type: text/plain;   charset=us-ascii


1) Use a Two Dimensional Array:
http://doc.4d.com/4Dv16/4D/16.2/Two-dimensional-Arrays.300-3433911.en.html

2) Decide if your arrays are Rows or Columns.  The Docs call them Rows.  If you decide 
your arrays are Columns, then you must REMEMBER the Docs need "translation" 
anytime you refer to them.

3) Decide if you will use array zero.  If you decide to use array zero, then 
you must REMEMBER to Clear it yourself.


That's it.


You will want to fill your arrays, so you may want to pass them to another 
method, or perhaps another process, or even another computer (method with 
execute-on-server attribute).  You will want to declare them.  You can declare 
20 arrays in 20 lines.  Or, see #1.

You may want to display your arrays.  If so, you will use a List Box.  And your 
arrays will be Columns.  See #2.

And you may want somewhere to put additional info, that goes with the data when 
you pass the arrays, and stays synchronized when 

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Koen Van Hooreweghe via 4D_Tech
Hi Ken,

Any other buttons on the form mistakingly having the same shortcut?
I think 4D is using the object level to determine which button actually gets 
clicked.

Koen

> Op 9 okt. 2017, om 15:41 heeft Ken Daniel via 4D_Tech <4d_tech@lists.4d.com> 
> het volgende geschreven:
> 
> Koen & Steve, thanks for the tip, but in this case I am using POST
> KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
> assigned to a button. It only fails to work in this one converted database.
> I've converted another database to v16 for a different application and it
> works fine. I've compared the two databases and can't discern any
> difference. In another test, if I execute POST KEY (Character Code("a")), I
> can see it populate a variable field with the letter "a", but it just won't
> execute the code assigned to the button with that shortcut. Ken




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

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

RE: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Stephen J. Orth via 4D_Tech
Ken,

Sure sounds like something is intercepting this keystroke combination.

If you change the key combination assigned to the button, does the combination 
get intercepted?

Did you put a trace bullet/command in the button script, just to see if it is 
getting into the button script?

Can you trace to see what is happening when you press the key combination?


Steve

-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Ken Daniel via 
4D_Tech
Sent: Monday, October 09, 2017 9:19 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Ken Daniel 
Subject: Re: Post Key command not working in converted 4Dv16 database

Spencer, no change in behavior with disabling any event handler, but thanks
for the suggestion. Ken


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

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Ken Daniel via 4D_Tech
Spencer, no change in behavior with disabling any event handler, but thanks
for the suggestion. Ken

On Mon, Oct 9, 2017 at 10:02 AM, Spencer Hinsdale via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> You might try the key command to disable any event handler:
> http://doc.4d.com/4Dv16/4D/16.2/ON-EVENT-CALL.301-3432983.en.html <
> http://doc.4d.com/4Dv16/4D/16.2/ON-EVENT-CALL.301-3432983.en.html>
>
>
>
> > On Oct 9, 2017, at 6:41 AM, Ken Daniel via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Koen & Steve, thanks for the tip, but in this case I am using POST
> > KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
> > assigned to a button. It only fails to work in this one converted
> database.
> > I've converted another database to v16 for a different application and it
> > works fine. I've compared the two databases and can't discern any
> > difference. In another test, if I execute POST KEY (Character
> Code("a")), I
> > can see it populate a variable field with the letter "a", but it just
> won't
> > execute the code assigned to the button with that shortcut. Ken
> >
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Making LOG EVENT thread-safe

2017-10-09 Thread Chip Scheide via 4D_Tech
question:
was your IP var a longint?, Real?, or Doublelong (whatever it is 
called)?

This might make some difference to your testing.. BUT... based on your 
discovered size limit, it seems that the Worker Queue is limited by 
some internal reference to a long integer... MaxLong being 
approximately 2.1 billion

On Sun, 8 Oct 2017 16:20:58 -1000, John Baughman via 4D_Tech wrote:
> 
> Worker processes only handle 1 call at a time, creating a queue 
> of calls which are handled in turn. I found that the LogWriter test 
> was rapidly maintaining a huge queue growing to over 100,000 calls 
> almost instantly. The crash occurred when the queue reached something 
> in the neighborhood of 2.1 million calls, approximately 2,101,000 
> calls. This was 100% repeatable.
---
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: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Spencer Hinsdale via 4D_Tech
You might try the key command to disable any event handler:
http://doc.4d.com/4Dv16/4D/16.2/ON-EVENT-CALL.301-3432983.en.html 




> On Oct 9, 2017, at 6:41 AM, Ken Daniel via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Koen & Steve, thanks for the tip, but in this case I am using POST
> KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
> assigned to a button. It only fails to work in this one converted database.
> I've converted another database to v16 for a different application and it
> works fine. I've compared the two databases and can't discern any
> difference. In another test, if I execute POST KEY (Character Code("a")), I
> can see it populate a variable field with the letter "a", but it just won't
> execute the code assigned to the button with that shortcut. Ken
> 

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

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Tom Dillon via 4D_Tech
Ken Daniel via 4D_Tech wrote:

>I am using POST
>KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
>assigned to a button.

In the database settings, do you have the Cancel Input Form set to Ctrl-period?

-- 
   --
   Tom Dillon   825 N. 500 W.
   DataCraft   Moab, UT 84532
   tomdil...@datacraft-inc.com   720/209-6502
   --
  You can never be one minute early,
  but you can be one minute late. --- Sunastar
   --


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

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Ken Daniel via 4D_Tech
Koen & Steve, thanks for the tip, but in this case I am using POST
KEY(Character code(".");Command key mask) and had the shortcut of Ctrl .
assigned to a button. It only fails to work in this one converted database.
I've converted another database to v16 for a different application and it
works fine. I've compared the two databases and can't discern any
difference. In another test, if I execute POST KEY (Character Code("a")), I
can see it populate a variable field with the letter "a", but it just won't
execute the code assigned to the button with that shortcut. Ken

On Mon, Oct 9, 2017 at 9:07 AM, Koen Van Hooreweghe via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Ken,
>
> What particular shortcut are you using?
> Also check the case of the character you are using, as Stephen pointed
> out. In v14 I discovered a bug when running the command POST KEY(Character
> code("A");Command key mask). This was fine in v13 and earlier, but crashes
> v14, v15 and v16.
> My report got bug number ACI0093238 in july 2015, but as I just tested in
> v16.2 it has not been fixed yet.
>
> On the other hand the code should be: POST KEY(Character code(“a");Command
> key mask), which works fine in v14 and later.
>
> IIRC in compiled mode it seemed to be working, but 4D would crash a bit
> later.
>
> Kind regards,
> Koen
>

On Mon, Oct 9, 2017 at 8:38 AM, Stephen J. Orth  wrote:

> Ken,
>
> If I recall correctly, I ran into an issue due to case sensitivity.  Make
> sure the case of the assigned letter is the same as how you are using it in
> the command.
>
>
> Steve
>
>

>
> > Op 8 okt. 2017, om 15:21 heeft Ken Daniel via 4D_Tech <
> 4d_tech@lists.4d.com> het volgende geschreven:
> >
> > All, I'm having a problem with the Post Key command not working in a
> > database converted from 4Dv14 to v16. Post Key works fine in 4Dv14, and
> > works in 4Dv15 and even in a newly created database in v16, but not in my
> > converted database. I've tried resetting the Preferences and Database
> > Settings to Factory Settings and changing event actions, but nothing has
> > worked. Anyone have any suggestions as to what the problem may be?
> Thanks,
>
>
>
> 
> Compass bvba
> Koen Van Hooreweghe
> Kloosterstraat 65
> 9910 Knesselare
> Belgium
> tel +32 495 511.653
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Koen Van Hooreweghe via 4D_Tech
Hi Ken,

What particular shortcut are you using?
Also check the case of the character you are using, as Stephen pointed out. In 
v14 I discovered a bug when running the command POST KEY(Character 
code("A");Command key mask). This was fine in v13 and earlier, but crashes v14, 
v15 and v16.
My report got bug number ACI0093238 in july 2015, but as I just tested in v16.2 
it has not been fixed yet.

On the other hand the code should be: POST KEY(Character code(“a");Command key 
mask), which works fine in v14 and later.

IIRC in compiled mode it seemed to be working, but 4D would crash a bit later.

Kind regards,
Koen

> Op 8 okt. 2017, om 15:21 heeft Ken Daniel via 4D_Tech <4d_tech@lists.4d.com> 
> het volgende geschreven:
> 
> All, I'm having a problem with the Post Key command not working in a
> database converted from 4Dv14 to v16. Post Key works fine in 4Dv14, and
> works in 4Dv15 and even in a newly created database in v16, but not in my
> converted database. I've tried resetting the Preferences and Database
> Settings to Factory Settings and changing event actions, but nothing has
> worked. Anyone have any suggestions as to what the problem may be? Thanks,




Compass bvba
Koen Van Hooreweghe
Kloosterstraat 65
9910 Knesselare
Belgium
tel +32 495 511.653

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

RE: Post Key command not working in converted 4Dv16 database

2017-10-09 Thread Stephen J. Orth via 4D_Tech
Ken,

If I recall correctly, I ran into an issue due to case sensitivity.  Make sure 
the case of the assigned letter is the same as how you are using it in the 
command.


Steve


-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Ken Daniel via 
4D_Tech
Sent: Sunday, October 08, 2017 8:21 AM
To: 4D iNug Technical <4d_tech@lists.4d.com>
Cc: Ken Daniel 
Subject: Post Key command not working in converted 4Dv16 database

All, I'm having a problem with the Post Key command not working in a
database converted from 4Dv14 to v16. Post Key works fine in 4Dv14, and
works in 4Dv15 and even in a newly created database in v16, but not in my
converted database. I've tried resetting the Preferences and Database
Settings to Factory Settings and changing event actions, but nothing has
worked. Anyone have any suggestions as to what the problem may be? Thanks,
Ken

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

Re: San Fransisco Font

2017-10-09 Thread Jeffrey Kain via 4D_Tech
> Still does not explain why I cannot see the SF font in the fonts library.

Apple locks it down. You can’t see it in Word either.

> I will avoid System Font as the user can manipulate this.

How? I suppose you could manipulate any font really...
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Making LOG EVENT thread-safe

2017-10-09 Thread David Adams via 4D_Tech
> As a side note, I am sure you are aware of this, but by killing the
worker every 100,000 calls, out of the 2 million calls
> nearly all of the log entries are missed as they are in the queue when
the worker is killed. I am getting at most 24,000
> log entries in the text file.

I've lost track, but I think that this was the very thing I was testing -
the %/# of lost log lines I would end up getting.

The more I think about it, the more I'm convinced that what I'm trying to
do simply isn't part of the designed capacity of 4D's system. I can live
with that, I'll just move the logging out of 4D. I may lose something that
way (a bit of data that would come from a 4D looking that could inject some
extra data) and it's a pity, but 4D never promised me a log writer. It's
just not sufficient to requirement.

So, checking what NGNIX offers. On the log enrichment side, Loggly offers,
well, very little but I'll be checking out SumoLogic down the road and that
looks a whole lot better. (It's a Splunk clone, as far as I can see, but
cheaper.)
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Hmm

Still does not explain why I cannot see the SF font in the fonts library.

All tge objects are set to the “default “ style sheet set to Segoi UI for
Windows and Lucida Grande for MacOs

I will avoid System Font as the user can manipulate this.


On Mon, 9 Oct 2017 at 8:46 pm, Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Sujit-
>
> You need to refer to it in your style sheets as “System Font.”
>
> > On Oct 9, 2017, at 1:09 AM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Does the SF font replace Lucida Grand on macOS Sierra? If so I don't seem
> > to find it on my Mac?
> >
> > Has SF become the standard default font for macOS Sierra?
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Jeffrey Kain via 4D_Tech
Sujit-

You need to refer to it in your style sheets as “System Font.” 

> On Oct 9, 2017, at 1:09 AM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Does the SF font replace Lucida Grand on macOS Sierra? If so I don't seem
> to find it on my Mac?
> 
> Has SF become the standard default font for macOS Sierra?
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Making LOG EVENT thread-safe

2017-10-09 Thread John Baughman via 4D_Tech

> On Oct 8, 2017, at 5:53 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Oh, I forgot to say earlier about John's finding of ~2.1M messages being a
> kind of breaking point...that number may not be replicable in other tests.
> You might find a different number. The payloads in my scratch database are
> quite small. For all I know, if you made the payloads 10x bigger, you would
> crash with ~210K messages. I won't be testing this myself.

Why not test this. I added a bit of text to the log entry with the 2 million 
calls set to run...

$text:=“”  No crash. Only an index number is being logged, ie, 1, 2, 3, etc.
$text:=“j”*16  No problem
$text:=“j”*32 Crashes near the end

Here is the kicker. If I am running interpreted with the Runtime Explorer open 
it crashes very early and the Runtime Explorer throws an array range error on 
occasion before 4D crashes. Sometimes with $text:=“j”*32 set it actually 
completes, but if I try to open the Runtime Explorer, 4D crashes.

Now I ‘m thinking maybe it’s not the worker queue limit per say but a memory 
leak associated with the worker and/or it’s queue.

John




John Baughman
Kailua, Hawaii
(808) 262-0328
john...@hawaii.rr.com





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