Updater v16

2017-10-10 Thread Sujit Shah via 4D_Tech
The manuals say "in the application in production, call the RESTART 4D command: this command triggers execution of a utility program named "updater" that exits the current application, replaces it using the "pending" update if

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Kirk Brooks via 4D_Tech
That's pretty cool - being able to get a pointer into a local var like that. On Tue, Oct 10, 2017 at 10:17 AM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > of course it works compiled :) > > > 2017/10/11 1:12、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール: > > Will that trick

Re: NB: Pre-emptive mode hassle

2017-10-10 Thread David Adams via 4D_Tech
> This would be super useful!. Great feature that would make it much easier to adapt methods so that they would run in > preemptive mode. The 4D engineers probably never even thought about doing something like this. If you don't mind and are on the forums, would you mind putting in a feature

Re: NB: Pre-emptive mode hassle

2017-10-10 Thread Tim Nevels via 4D_Tech
On Oct 10, 2017, at 1:16 PM, David Adams wrote: > * TRACE is not thread-safe. It's also meaningless compiled. And yet, it > blocks you. Why? Probably the 4D engineers never thought to exclude it. It should be excluded since it has no impact when running compiled. > * SET TEXT TO PASTEBOARD is

Re: NB: Pre-emptive mode hassle

2017-10-10 Thread David Adams via 4D_Tech
Thanks Tim! More findings: * I don't get it. I really am unclear how exactly things are supposed to be set up. It's confusing, at least to me. I've tried diagrams and writing it out...but I'm still not clear. * I want to use the 'indifferent' execution mode everywhere I can, but that's not

Re: San Fransisco Font

2017-10-10 Thread Alan Chan via 4D_Tech
Interesting, we don't actual use stylesheet. Back to old days (non-unicode), we need to assign different font for different languages. Due to different OS version and platform, we allow users to set font but not font size and saved by machine. These setting has been embedded in our system for

Re: San Fransisco Font

2017-10-10 Thread Keisuke Miyako via 4D_Tech
> 2017/10/11 1:25、Richard Wright via 4D_Tech <4d_tech@lists.4d.com> のメール: > I don’t recall seeing any such recommendation or discussion in the manuals. > I’ve been using the System Font in a couple of style sheets for years without > issues, for generic dialogs and buttons. It doesn’t make sense

Re: Deprecated Constants

2017-10-10 Thread Jeffrey Kain via 4D_Tech
We've left a few "During"s in place where it wasn't entirely clear how to replace it. Still works fine... Most of them were easy to replace, but for a few of them it seemed best to leave the old code alone and flag it for a future rewrite. -- Jeffrey Kain jeffrey.k...@gmail.com > On Oct

Re: Deprecated Constants

2017-10-10 Thread John Baughman via 4D_Tech
By coincidence, I am cleaning up a v14 database for deployment this afternoon as a v16 R4 database. A couple of thoughts on your question… > _o_Extras Folder The extras folder was deprecated in v11 I think with instructions to use the Resource folder. > The other 9 entries relate to

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Keisuke Miyako via 4D_Tech
of course it works compiled :) > 2017/10/11 1:12、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール: > Will that trick work compiled? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

SuperReport Pro version 3.4 released

2017-10-10 Thread Philippe Ganter via 4D_Tech
SuperReport Pro version 3.4 is now available at http://www.e-node.net/srp Version 3.4 includes the new "first line indent/hanging indent" and "keep together" properties, as well as many enhancements and fixes. (and yes: version 4 beta, 64-bit is available in the private beta forum, feel free

Re: NB: Pre-emptive mode hassle

2017-10-10 Thread Tim Nevels via 4D_Tech
On Oct 10, 2017, at 11:12 AM, David Adams wrote: > Typical, my "summary" is longer than the original. You are a true trail blazer, David. And you know what they say… trail blazers are the ones that take the arrows. And you are definitely bloody from all your preemptive process work. Possible

Deprecated Constants

2017-10-10 Thread Douglas Cryer via 4D_Tech
Hi all, I just ran an upgrade to v16 (R5) to see what work might be required. By far the biggest issue will be images that still reside in the library. Aside from that I got 19 instances of constants that are now deprecated: _o_Mac To ISO - 1 Instance no longer required… _o_Extras Folder -

Re: San Fransisco Font

2017-10-10 Thread Richard Wright via 4D_Tech
I don’t recall seeing any such recommendation or discussion in the manuals. I’ve been using the System Font in a couple of style sheets for years without issues, for generic dialogs and buttons. It doesn’t make sense that one can select it for a Style Sheet if 4D is recommending not to select

Re: [offish]Volume of mail

2017-10-10 Thread Kirk Brooks via 4D_Tech
You know it's not like the French Forum has a legion of posts either. I just opened the 'v16 Corner' and the first 50 posts span from last Friday to March (of this year). 50 topics in 7+ months. The 'Current versions(v16-v15-R)' first 50 is from yesterday to July. These are the English ones. The

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Kirk Brooks via 4D_Tech
Miyako, Will that trick work compiled? On Tue, Oct 10, 2017 at 9:06 AM, Keisuke Miyako via 4D_Tech < 4d_tech@lists.4d.com> wrote: > why not simply use Get last table number? > > and you don't really need to use SQL to get a table pointer from name, > just do something like... > > C_POINTER($p) >

Re: Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Keisuke Miyako via 4D_Tech
why not simply use Get last table number? and you don't really need to use SQL to get a table pointer from name, just do something like... C_POINTER($p) $name:="Table_1" $formula:="" PROCESS 4D TAGS($formula;$formula;->$p) > 2017/10/10 23:02、Mark Scardigno via 4D_Tech <4d_tech@lists.4d.com>

Re: NB: Pre-emptive mode hassle

2017-10-10 Thread David Adams via 4D_Tech
Right, I just scanned a big code base for methods passed to CALL WORKER (some my code, some not) and found that 5 out of 7 won't run in preemptive mode. Oh crap. ** 4D Internet Users Group (4D iNUG) FAQ:

Is Table Number Valid Cannot Validate New Temporary Table

2017-10-10 Thread Mark Scardigno via 4D_Tech
Hello, I’m trying to use a temporary table in 4D but after creating the table successfully, "Is Table Number Valid" always returns, “Indice out of range” when I try to use the new table number. If the client logs out and then back in again, the table number is valid. Please see code below. Is

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

2017-10-10 Thread David Adams via 4D_Tech
Hey John, Yeah, I pretty well guessed something like that was going on in your case...I mostly answered for the sake of the archives. I often ask questions and am offered well-meaning and sensible answers...but there's almost as often a good reason why I'm bearing down on the particular point

Re: NB: Pre-emptive mode hassle

2017-10-10 Thread David Adams via 4D_Tech
Typical, my "summary" is longer than the original. ** 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:

Re: NB: Pre-emptive mode hassle

2017-10-10 Thread David Adams via 4D_Tech
To summarize the bit above: -- If you pass non-preemptive code to a pre-emptive worker, it won't work. -- That's not a bug, that's a limitation. -- 4D doesn't automatically handle this situation well, but they've said that they'll make ON ERR CALL work, which seems like a reasonable response.

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

2017-10-10 Thread John DeSoi via 4D_Tech
Hey David, Right, CALL FORM will fix a lot of work-arounds needed for previous 4D versions. But my goal here is to have a single stable code base in 15 until making the move to version 16. I don't want to maintain two versions if I can avoid it. That said, I already have some v16 features

Re: San Fransisco Font

2017-10-10 Thread Ortwin Zillgen 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

NB: Pre-emptive mode hassle

2017-10-10 Thread David Adams via 4D_Tech
I've finally tracked down a weird problem. I have some code that I'm (still) trying to run in a worker. I've got the system set up so that I can launch in cooperative or preemptive mode based on a setting. This way, if there's a problem with preemptive mode, we can tweak a config setting and try

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

2017-10-10 Thread David Adams via 4D_Tech
Hey John, if you still need to fix what you described, CALL FORM ought to work. Just past what method you want to run and the target window's form will run it through EXECUTE for you. doesn't mean that POST KEY shouldn't be fixed if it's broken, of course.

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

2017-10-10 Thread John DeSoi via 4D_Tech
Ken, I just ran into a problem with POST KEY in 16.2 that works without problems in 15.4. An outside call message is sent from another process and POST KEY is used in in the outside call event to activate a menu item. For some reason it does not seem to work right unless I add DELAY

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

2017-10-10 Thread David Adams via 4D_Tech
> 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, random thought: Object fields aren't supported in 4D's SQL. So any

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

2017-10-10 Thread Keisuke Miyako via 4D_Tech
it's probably an omission in the structure editor. by default the property is on, but you can change the field type to text or whatever, disable it, and switch back to object. it sounds crazy but it should work. > 2017/10/10 14:52、John Baughman via 4D_Tech <4d_tech@lists.4D.com> のメール: > > I