Re: Reading and writing large arrays to disk

2020-01-06 Thread Jim Crate via 4D_Tech
On Jan 6, 2020, at 10:50 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > I agree with Chuck here - writing a line at a time is slow. It's very > secure though. So it's good if you may crash - whatever has already been > written stays written to disk. But otherwise better to buffer

Re: gitignore for projects

2020-01-05 Thread Jim Crate via 4D_Tech
On Jan 4, 2020, at 6:42 PM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Yes. Switch back to the 17 "master" branch. Verify there are no uncommitted > changes in the Project folder (git status called from 4D). Move the Project > folder to the trash. Run the 17 to 18 script again and

Re: 4D v17.3 crashes on macOS 10.15 Catalina

2019-11-06 Thread Jim Crate via 4D_Tech
On Nov 5, 2019, at 6:00 PM, Peter-Christian Miest via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Tom > we found that the system has to allow apps downloaded from everywhere. In > order to fix this you have to go to terminal and enter > sudo spctl --master-disable > then simply open the

Re: Mac OS Catalina, V16.6, permissions, etc.

2019-11-03 Thread Jim Crate via 4D_Tech
On Nov 1, 2019, at 1:27 AM, Robert McKeever via 4D_Tech <4d_tech@lists.4d.com> wrote: > I’ve had to open all disk access, etc., to the single user app so I can > create the billing files to be sent to the government so they can get paid. > Sure doesn’t seem very secure to me that way. > > Now

Re: Error signing built app for Catalina

2019-10-25 Thread Jim Crate via 4D_Tech
On Oct 24, 2019, at 3:14 PM, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> wrote: > > App built with v17R6. Trying to sign a built application gives this: > > 20:07:01.341: Error 105553143319120 signing '/Users/jbr/Desktop/Final > Application/PI calculator - Working/PI >

Re: object searching vs Text

2019-10-22 Thread Jim Crate via 4D_Tech
On Oct 22, 2019, at 11:42 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > I am just getting started playing/using objects. > > I wrote some routines to determine if a particular property/value > exists either in an object, or in an object which is part of an object > array. > >

Re: Object Array - finding an object with attritbute value

2019-10-17 Thread Jim Crate via 4D_Tech
That will work, if you’re not using Cannon’s OBJ methods. Cannon’s methods allow you to search multiple levels of an object using dot notation in the key name (a key-path). So if your objects had attributes that were objects, like: [ { “name” : { “first”: “Chip”, “last”: “Scheide”},

Re: Object Array - finding an object with attritbute value

2019-10-17 Thread Jim Crate via 4D_Tech
On Oct 17, 2019, at 5:06 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Given that I have an array of objects - Array Object(object_array;5) > > (hand waving) I populate the array with objects ... > > how do I find which object in the array has an attribute/property with > a

Re: Making a package of a built Mac volume desktop

2019-10-16 Thread Jim Crate via 4D_Tech
On Oct 15, 2019, at 5:25 PM, Paul Ringsmuth via 4D_Tech <4d_tech@lists.4d.com> wrote: > I created a folder “Data” and put the various 4D data files in it. Then I put > the “Data” folder into the My4D.app. The first time it is launched it asks me > to open a data file. I navigate to and select

Re: Shared objects and collections

2019-09-13 Thread Jim Crate via 4D_Tech
when objects are copied instead of referenced. Jim Crate >> 2019/09/10 13:13、Jim Crate via 4D_Tech <4d_tech@lists.4d.com>のメール: >> >> So what doesn’t work is: >> >> $sharedObj:=New Shared Object >> OB_CopyToSharedObject ($catalogObj;$sharedObj) >> U

Re: Shared objects and collections

2019-09-09 Thread Jim Crate via 4D_Tech
(Storage.MySharedCollection[Storage.MySharedCollection.length-1]) OB_CopyToSharedObject ($catalogObj;Storage.MySharedCollection[Storage.MySharedCollection.length-1]) End use So it looks like you can’t .push() a shared object onto a shared collection. Jim Crate > On Sep 9, 2019, at 8:39 PM, Jim Crate

Shared objects and collections

2019-09-09 Thread Jim Crate via 4D_Tech
I’m retrieving some info from an API that I’d like to cache, and I’m using v17, so I thought Storage might be a nice alternative to a process or interprocess variable. The first obstacle is that I can’t add an object from the API response to a shared collection. I found a KB article with a

Re: No Object Auto-Completion for 4D Commands?

2019-08-02 Thread Jim Crate via 4D_Tech
What’s even better is when you have a field named “First”, and you’ve used that attribute on an entity, every time after that you type .first(), it “autocompletes” to .First() when you type the first parentheses. I haven’t tested yet to see if member functions are case sensitive like

Re: MacOS Character Viewer (emojis) and 4D

2019-07-17 Thread Jim Crate via 4D_Tech
I use the emoji viewer in Messages, which includes a search function. Jim Crate > On Jul 16, 2019, at 4:00 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > It seems like 4D doesn't allow the macOS character viewer to open with > cmd+ctrl+space. > > Has anyone found a

Re: signature capture in 4D

2019-06-19 Thread Jim Crate via 4D_Tech
ll as on Windows. That is nice. > > Thanks > > Jody Bevan > >> On Jun 19, 2019, at 10:10 AM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> It’s pretty simple, the signature pad had an app that could be launched to >> colle

Re: Quick Report toolbar widget

2019-06-19 Thread Jim Crate via 4D_Tech
On Jun 19, 2019, at 12:36 PM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> wrote: > I might be able to use WR ON COMMAND to get the report data from the built-in > quick report editor, but if I could just use the built-in editor’s toolbar as > a widget that would

Quick Report toolbar widget

2019-06-19 Thread Jim Crate via 4D_Tech
The new 64-bit 4D Write includes toolbar widgets to replace the functionality built-in to the old 32-bit 4D Write. I’m adding an interface to store quick reports in the database for tracking and reuse, so I’m trying to work with the %report subform. However, this does not include the control

Re: signature capture in 4D

2019-06-19 Thread Jim Crate via 4D_Tech
lease tell me more about this…. > > David Ringsmuth > > From: Jim Crate via 4D_Tech > Sent: Monday, June 17, 2019 4:07 PM > To: 4D iNug Technical > Cc: Jim Crate > Subject: Re: signature capture in 4D > > On Jun 17, 2019, at 12:50 PM, David Ringsmuth via 4D_Tech > <4d_tech@l

Re: v15 to v17 Conversion of Obsolete _o_C_STRING/_o_ARRAY STRING Commands

2019-06-14 Thread Jim Crate via 4D_Tech
On Jun 7, 2019, at 8:48 AM, Narinder Chandi via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi all. I am migrating a v15 database to v17, 4D Server running on Mac. I > need some opinions as to what to do with regards to converting commands > marked as obsolete as per this article: [snip] > I

Re: Code signing works on one app but fails on another

2019-04-25 Thread Jim Crate via 4D_Tech
modified: /Users/patbensky/CatBase dev/CatBase v8/Final > Application/CatBase 8.app/Contents/Database/CatBase 8.4DC > > > So that's a bit more informative ... Any idea what "sealed resource" is > missing or invalid? > > On Wed, 24 Apr 2019 at 23:30, Jim Crate via 4D_Tech

Re: Code signing works on one app but fails on another

2019-04-24 Thread Jim Crate via 4D_Tech
Are you sure the app is signed correctly? Sometimes an app with invalid signature will launch until it is downloaded from the internet (downloading sets the quarantine flag). I use these commands after signing to double-check that signing worked properly: spctl -av "$appPath" codesign

Current Time(*) timezone

2019-02-25 Thread Jim Crate via 4D_Tech
After messing around with timezone offset detection/conversion recently in 4D I’m curious if you use the * parameter to get the current time from the server, is that time converted to the user’s timezone or will that be the time in the server’s timezone? Jim Crate

Re: How to display read-only input form

2019-02-11 Thread Jim Crate via 4D_Tech
On Feb 7, 2019, at 1:19 AM, Koen Van Hooreweghe via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Have you tried MODIFY SELECTION instead of MODIFY RECORD? > Set the table in read only mode, make sure only the requested record is in > the current selection and then open the record using MODIFY

How to display read-only input form

2019-02-06 Thread Jim Crate via 4D_Tech
From a listbox view, I’d like to open the input form for a record but not allow the user to change any info. I tried using DISPLAY RECORD instead of MODIFY RECORD, but it just displays the form and immediately closes. If I set the table to read only before loading the record, MODIFY RECORD just

Re: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Jim Crate via 4D_Tech
On Jan 30, 2019, at 12:07 PM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> wrote: > >> I understand, but I think I am having a problem. >> Suppose our app depends heavily on UI (and it does) >> > > Simple approach: > > Have the UI spin off the work into a new pre-emptive process (or

Re: Popup/Dropdown element 0

2019-01-30 Thread Jim Crate via 4D_Tech
opups-with-Variables.zip > >> 2019/01/30 7:13、Jim Crate via 4D_Tech <4d_tech@lists.4d.com>のメール: >> The v15 and v16 documentation doesn’t mention using a text variable for a >> popup/dropdown. Do you have some info on how that would work? > > > > > *

Re: Popup/Dropdown element 0

2019-01-29 Thread Jim Crate via 4D_Tech
; using text arrays is old school, > it's much easier to associate a popup menu to a text variable. > this design was introduced in v14. > > also ORDA compatible. > >> 2019/01/29 11:38、Jim Crate via 4D_Tech <4d_tech@lists.4d.com>のメール: >> >> So my qu

Popup/Dropdown element 0

2019-01-28 Thread Jim Crate via 4D_Tech
I’m pretty sure that popup/dropdowns used to display the value stored in the array’s element at index 0 in earlier versions of 4D, if you set the array’s value to 0. I have code in the system that uses that to display a title for a popup that is separate from the values, or to display a value

Re: Using Preg Replace to replace tags

2018-11-24 Thread Jim Crate via 4D_Tech
On Nov 24, 2018, at 9:39 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I'm attempting to use the Regex Plugin from Pluggers to replace tags with > different tags. > For example, change this text: > > Some text.Set this text in bold please . > > to > > Some text.<@bold:>Set

Re: 4D v17 & macOS Mojave beta

2018-10-26 Thread Jim Crate via 4D_Tech
On Oct 25, 2018, at 6:05 PM, JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> wrote: > One of my client’s decided to upgrade a computer to Mojave and reported that > 4D was creating. > > I think I have narrowed down the problem at least for my application. It > looks like any form that has

Re: Using listbox as output form replacement

2018-10-23 Thread Jim Crate via 4D_Tech
On Oct 23, 2018, at 5:37 PM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Oct 23, 2018, at 5:21 PM, Timothy Penner via 4D_Tech > <4d_tech@lists.4d.com> wrote: >> >> Hi Jim, >> >>> Is there a way to get this to work in User m

Re: Using listbox as output form replacement

2018-10-23 Thread Jim Crate via 4D_Tech
On Oct 23, 2018, at 5:21 PM, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Hi Jim, > >> Is there a way to get this to work in User mode? > > User Mode? Maybe the following items will help - > > Tech Tip: User Mode is now a part of Design Mode > http://kb.4d.com/assetid=47243 I

Using listbox as output form replacement

2018-10-23 Thread Jim Crate via 4D_Tech
I have a form with a selection-based listbox which I use as an output form. In runtime mode, you just use DIALOG instead of DISPLAY SELECTION. If I set that form as the output form, it doesn’t work in User mode, it just says “There is no form selected to display the records of: [My_Table]”. Is

Re: Where is best place to save data outside data file

2018-10-10 Thread Jim Crate via 4D_Tech
On Oct 9, 2018, at 8:50 AM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I love writing logs to the local computer while it is running. These log > files are for the programmers to know what is occurring on the computer. > Typically these logs are turned off when there are no

Match regex convenience method

2018-10-01 Thread Jim Crate via 4D_Tech
If you like regex but find the tediousness of checking array lengths, substring, etc. to be a turnoff, here’s a convenience method to find within a string using regex, returning the first grouping match if there is one, or the entire match. Use as: $text:=STR_Find_w_Regex

Re: C_OBJECT Performance problem with arrays

2018-09-30 Thread Jim Crate via 4D_Tech
3730918.en.html > > now that we have C_COLLECTION and object notation, > I honestly think ARRAY OBJECT is totally wasted. > > 2018/10/01 9:46、Jim Crate via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: > TL;DR: don’t put object arrays of more th

C_OBJECT Performance problem with arrays

2018-09-30 Thread Jim Crate via 4D_Tech
I ran into a serious performance problem with 4D Objects and figured I’d mention it so others may be able to avoid the scenario. I am consuming an API returning JSON. Some endpoints return an object with properties, and some return an array of objects. To present a consistent interface in the

Re: 4D User Blank

2018-09-19 Thread Jim Crate via 4D_Tech
When all recent logins are blank, that is a good indication that the server has encountered the DELAY PROCESS bug where delayed processes never wake up. We have no way of knowing what all is affected by this, so even if you have no processes running on the server that would be affected by the

Re: Signing a MacOS Standalone Application - XCode version 9.2

2018-09-18 Thread Jim Crate via 4D_Tech
Here’s the script I built to sign a built 4D app. The xattr command will strip all resource forks, so if your app depends on those it won’t run after being signed. And you can’t sign the app if it contains resource forks. It also runs a couple code signing verification commands after signing,

Re: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17?

2018-09-15 Thread Jim Crate via 4D_Tech
On Sep 15, 2018, at 12:07 AM, David Adams via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Short version: > I need to load some fields from records into a big text thingy. > > The code runs on the server-side only. > > I'm keen to preserve RAM. [snip] > TL;DR version > I'm working in V17 and

Re: Emoticons, Emoji, put pictures into eve

2018-08-30 Thread Jim Crate via 4D_Tech
On Aug 30, 2018, at 9:23 AM, Tom Dillon via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Jim Crate via 4D_Tech wrote: > >> editor, it doesn't actually work that way and turns into ?? when you >> close the method editor. So I found this email to the list from a few >

Re: Emoticons, Emoji, put pictures into eve

2018-08-30 Thread Jim Crate via 4D_Tech
On Aug 29, 2018, at 6:17 PM, Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com> wrote: > > sounds like your compatibility settings does not allow methods to be stored > in unicode. > > emoticons are internally 2 or 4 combining characters which explains the > number of question marks That

Re: Emoticons, Emoji, put pictures into eve

2018-08-29 Thread Jim Crate via 4D_Tech
I tried to use an emoji in 4D, and while it pasted right into a string literal in the method editor, it doesn’t actually work that way and turns into ?? when you close the method editor. So I found this email to the list from a few years ago, but the ftp link no longer works. This should be

CALL WORKER questions

2018-08-28 Thread Jim Crate via 4D_Tech
I am looking into using CALL WORKER / CALL FORM for an interface where certain actions will query a service, which could take up to a few seconds. Using CALL WORKER and CALL FORM would allow me to split the long-running part to the worker without having to roll my own IP messaging and the On

Re: 4D v17 -> v16 data file backward compatibility

2018-07-24 Thread Jim Crate via 4D_Tech
on. > > But v17 data file can still be opened in v15 or v16. > > More details at: > > http://doc.4d.com/4Dv17/4D/17/Principles-for-conversion.200-3811872.en.html > <http://doc.4d.com/4Dv17/4D/17/Principles-for-conversion.200-3811872.en.html> > > >> On Jul

4D v17 -> v16 data file backward compatibility

2018-07-23 Thread Jim Crate via 4D_Tech
Is there any documentation that lists data file version backward compatibility? I’m specifically interested in whether it’s possible to take a data file back from v17 to v16. Jim Crate ** 4D Internet Users Group (4D iNUG)

Re: v17 ready for prime time?

2018-07-22 Thread Jim Crate via 4D_Tech
Everyone that responded mentioned new projects. Has anyone pushed a legacy project from v16 to v17 into production with 4D Server with 20 or more users? The best time for us to upgrade is summer. While it used to be that it would be foolish to move to production before .1 or .2, v16 was pretty

4D Pop Constants component

2018-06-27 Thread Jim Crate via 4D_Tech
On macOS, 4D 16.3 HF4, when trying to edit a constant, the name is not editable. I thought it used to show up in the bottom area near the value, but only the name of the group shows up. Not knowing how old my 4D POP component was, I downloaded a new copy (at least Google can find it). It has

Re: Delay process bug

2018-06-19 Thread Jim Crate via 4D_Tech
I would like to emphasize this. It’s likely processes delayed with DELAY PROCESS are woken up by some internal process that ends up getting stopped somehow. The bug is most likely not in DELAY PROCESS, but the internal process that (among many other things) checks the list of delayed processes

Re: Delay process bug

2018-06-12 Thread Jim Crate via 4D_Tech
xpressed in signed 32-bit long > integer flips to negative, after 24 days. > (milliseconds is counted since system boot, not 4D launch) > >> 2018/06/13 4:43、Jim Crate via 4D_Tech <4d_tech@lists.4d.com> のメール: >> Our server (macOS 10.11, 4D 16.3 HF3

Re: Delay process bug

2018-06-12 Thread Jim Crate via 4D_Tech
There have been enough reports that they know it happens on both macOS and Windows. Multiple reports indicate the processes can continue when RESUME PROCESS is called. In this case RESUME PROCESS would have worked, because when quitting the server, the processes started again because the

Re: Delay process bug

2018-06-12 Thread Jim Crate via 4D_Tech
Our server (macOS 10.11, 4D 16.3 HF3 64-bit) hit this bug again last week after being up for about 22 days. There are 2 separate processes that run periodically, both at the same time stopped waking from DELAY PROCESS. The Server window also was not showing the 4D username in the user list,

Re: Build with code signing

2018-06-11 Thread Jim Crate via 4D_Tech
I’ve been curious about that too, with users/groups/lists being stored in the structure. Last time I tried to sign a standalone 4D app it didn’t work well, so I’ve just been making signed installers using the Packages app. Jim Crate > On Jun 11, 2018, at 3:22 PM, Wayne Stewart via 4D_Tech

Re: Signature capture from tablet on Mac

2018-05-23 Thread Jim Crate via 4D_Tech
On May 23, 2018, at 8:49 AM, Claudio Braga via 4D_Tech <4d_tech@lists.4d.com> wrote: > > Is someone aware of any solutions available to capture a signature using a > Wacom table on osx ? Wacom software seems to be available only on windows, > and internet is not helping at the moment I can’t

Re: 4D Write Pro Interface component v16R6

2018-05-13 Thread Jim Crate via 4D_Tech
I have this setup (WPArea and palette subform) displayed on pages other than page 1 of forms using a subform. It’s not straight-forward though. 1. The subform initially displays a placeholder form. 2. The placeholder subform form method uses CALL SUBFORM CONTAINER in the On Load form event to

Re: Subform 64-bit problem

2018-05-12 Thread Jim Crate via 4D_Tech
as used, so I guess it will be out with the subform and in with a listbox. Jim Crate > >> 2018/05/12 15:11、Jim Crate via 4D_Tech <4d_tech@lists.4d.com> のメール: >> >> I have a form with a list-only subform, with enterable in list checked, and >> no detail subform. Based on values

Subform 64-bit problem

2018-05-12 Thread Jim Crate via 4D_Tech
I have a form with a list-only subform, with enterable in list checked, and no detail subform. Based on values in the records displayed in this subform, certain fields are set to be enterable or not by calling OBJECT SET ENTERABLE during On Display Detail. This works fine in 32-bit mode. In

Re: v13+ LEP permision issues.

2018-04-22 Thread Jim Crate via 4D_Tech
On Apr 20, 2018, at 5:45 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> wrote: > Trying to rename a file. [snip] > when I execute the below line of (LEP) code I get a permissions error > mv /Volumes/Macintosh\ HD/Users/chip/Desktop/_Test\ File\ > move/Some_Win_Name.txt2 Testing.txt > >

Re: Legacy network layer or not: 4D v15 on Mac OS server and v15.5

2018-04-21 Thread Jim Crate via 4D_Tech
FWIW, on 4D 16.3 32-bit on MacOS 10.11.x server, using the new network layer caused multiple ghosted users every day. Using 4D 16.3 64-bit server, the ghosting pretty much disappears (one particular user still ends up ghosted multiple times), guess I should check their version of 4D. Jim Crate

Re: 4D running in a Mac-VM

2018-04-16 Thread Jim Crate via 4D_Tech
https://stackoverflow.com/questions/28529633/how-to-detect-if-mac-os-x-is-being-run-inside-a-virtual-machine Here’s output from macOS in a VM: webserver1:~ % ioreg -l | grep -e Manufacturer -e 'Vendor Name' | | | | | | "USB Vendor Name" = "VMware" | | | | | | |

Re: 4D Summit 2018 Comments

2018-04-09 Thread Jim Crate via 4D_Tech
On Apr 9, 2018, at 10:06 AM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote: > What is ORDA? It is not a “a historical sociopolitical and military structure > of Mongol Eurasia”. This is a new term that 4D has created. It stands for > Object Relational Database Access. It might be a new

Re: 4D Write and 4D Write Pro (Solved)

2018-04-04 Thread Jim Crate via 4D_Tech
Since I am at the Summit, I got to sit down with Add K. and he figured out the problem. Access to licenses was restricted to a specific group, and the Designer user was not in that group. Jim Crate > On Apr 3, 2018, at 11:01 PM, Jim Crate via 4D_Tech <4d_tech@lists.4d.com> > w

Re: 4D Write and 4D Write Pro

2018-04-03 Thread Jim Crate via 4D_Tech
ion. But if the license did not work at all, also 4D Write old should > bring an error. Please check with a new sample. > > Achim > > > > > -Ursprüngliche Nachricht- > Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von Jim Crate > via 4D_Te

Test 4D Server using 4D Developer Professional license

2018-03-22 Thread Jim Crate via 4D_Tech
I thought 4D Developer Professional included a 2-user 4D Server license so we could test using 4D Server without having to run a separate instance on the production server. However, when I launch 4D Server, it asks for activation. It appears to accept my 4D Developer Professional license but

Re: Corrupted form?

2018-01-27 Thread Jim Crate via 4D_Tech
gt; On 27 January 2018 at 00:57, Pat Bensky <pben...@gmail.com> wrote: > >> Which version are you using? >> I am seeing this in v16r5. It only seems to happen when the *Editable by >> User* option has been selected of the form. >> >> >> On 26 January 201

Corrupted form?

2018-01-26 Thread Jim Crate via 4D_Tech
A form I’ve been working on no longer allows me to edit properties for the form or any of the objects on that form. It just beeps when any object is clicked. The property list editor updates with the correct attributes, although many values are missing. I can option-click the objects to see the

Re: Keystroke handling

2018-01-25 Thread Jim Crate via 4D_Tech
o compose a > single character) > > thinking only in terms of keystrokes feels like going in the opposite > direction. > >> 2018/01/25 12:05、Jim Crate via 4D_Tech <4d_tech@lists.4d.com> のメール: >> However, with a default button on the form, I don’t even get an On Los

Keystroke handling

2018-01-24 Thread Jim Crate via 4D_Tech
I would like to intercept the tab/return/enter keys using the On Before Keystroke form event. However, with a default button on the form, I don’t even get an On Losing Focus event. With the default button not specified, the return key functions the same as a tab, so I can detect losing focus at

Object focusable/tabable properties

2018-01-23 Thread Jim Crate via 4D_Tech
Is it possible to programmatically set the Focusable or Tabable properties on a form object (specifically a listbox)? I found the OBJECT SET FOCUS RECTANGLE INVISIBLE command but nothing to actually prevent an object from being tabable. Jim Crate

Dialog return value without process variables

2018-01-23 Thread Jim Crate via 4D_Tech
If I have a dialog to allow the user to choose a value (like from a listbox), and I’m using the object names only without process variables, is it possible to determine from the method that calls DIALOG which value the user chose? Or do I need a process variable to pass that value from the form

Re: v16 List Box Set Enterable not working?

2018-01-23 Thread Jim Crate via 4D_Tech
On Jan 23, 2018, at 10:19 AM, Patrick Emanuel via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I never had any issues with EDIT ITEM > > Did you try something like this in your code: > > $Row:=size of array(ar_invBalance)+1 > LISTBOX INSERT ROWS (*;"ListBoxName";$Row) > ar_invBalance{$row}:="New

Re: v16 List Box Set Enterable not working?

2018-01-23 Thread Jim Crate via 4D_Tech
On Jan 22, 2018, at 11:30 AM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> wrote: > The link Miyako included to the section on Managing Entry does actually > talk about this. (I confess I hadn't read it very carefully before now > myself.) > > You use OBJECT SET ENTERABLE to manage the

Re: v16 List Box Set Enterable not working?

2018-01-22 Thread Jim Crate via 4D_Tech
On Jan 21, 2018, at 10:41 PM, 4d--- via 4D_Tech <4d_tech@lists.4d.com> wrote: > > The following works fine in v14, but in v16 doesn’t work. Is this a known > issue?? > > OBJECT SET ENTERABLE(ar_invBalance{$row};True) > EDIT ITEM(ar_invBalance;$row) I tried EDIT

Re: Electronic Signature Pads

2017-12-29 Thread Jim Crate via 4D_Tech
On Dec 28, 2017, at 5:07 AM, Peter Bozek via 4D_Tech <4d_tech@lists.4d.com> wrote: > > On Thu, Dec 28, 2017 at 12:57 AM, Jim Crate via 4D_Tech > <4d_tech@lists.4d.com> wrote: >> >> The ScripTel also integrates with Adobe Reader for cryptographically &g

Re: Electronic Signature Pads

2017-12-27 Thread Jim Crate via 4D_Tech
On Dec 27, 2017, at 6:36 PM, Andrew R Diaz via 4D_Tech <4d_tech@lists.4d.com> wrote: > > I am looking to integrate a signature pad (like the ones from topaz > https://www.topazsystems.com/index.html > ) into my 4D application and was > wondering if

Re: 4D Backup causes 4D Remote to hang (15.4)

2017-11-14 Thread Jim Crate via 4D_Tech
On Nov 14, 2017, at 9:40 AM, Perkins, Bradley D via 4D_Tech <4d_tech@lists.4d.com> wrote: > What should I try next? Start with a new backup? Reinstall 4D? Personally, I would take the easy way out and change the script that is supposed to quit/restart 4D to something like: killall -9 4D

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-12 Thread Jim Crate via 4D_Tech
> On Nov 11, 2017, at 18:00, Perkins, Bradley D via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > The hang times are consistent with when the backup is running. First it > was 3am. I changed the backup to run at 5am and not the hang happens at > 5am. This only started happening after the client

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-11 Thread Jim Crate via 4D_Tech
> On Nov 11, 2017, at 11:26, Timothy Penner via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Is this a Mac? > > If so, have you tried running a PURGE from the OS in On Backup Shutdown? > > http://kb.4d.com/assetid=77831 > http://kb.4d.com/assetid=75978 > > -Tim Do the backup database

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread Jim Crate via 4D_Tech
On Nov 5, 2017, at 4:25 PM, Perkins, Bradley D via 4D_Tech <4d_tech@lists.4d.com> wrote: > saw no value in running Apple's Server App. Even under OS X Server, I > always ran Apache manually. I found that the Mac OS X Server's UI for > managing web sites would often overwrite our custom

Re: 4D Remote hanging at 3am after upgrading to Hi Sierra. Need logging advice.

2017-11-05 Thread Jim Crate via 4D_Tech
On Nov 4, 2017, at 3:32 PM, Perkins, Bradley D via 4D_Tech <4d_tech@lists.4d.com> wrote: > I believe I've done everything I can using the pmset command to prevent > sleep, standby etc. It isn't clear if you can totally turn power management > off everywhere though. In researching this problem