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

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: >

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

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:

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

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

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

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,

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

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? --

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 &

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?

[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

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

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...

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

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,

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

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: > >

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

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?

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

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

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

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

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

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

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. > >

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

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

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

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

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.

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

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 >

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

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

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

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" >

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

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...

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

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,