Engined App

2019-04-24 Thread Chip Scheide via 4D_Tech
Can the 'splash' on exit of an engined application be removed? Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) Archive:

Re: Listbox data type

2019-04-24 Thread Chip Scheide via 4D_Tech
l work or not, but worth a shot if you can’t >> figure out another workaround. >> >> Good luck! >> >> DKC >> >>> On Apr 23, 2019, at 10:50 PM, Chip Scheide via 4D_Tech >>> <4d_tech@lists.4d.com> wrote: >>> >>> that is

Re: 4D 17.1 network issues

2019-04-24 Thread Chip Scheide via 4D_Tech
John, did you turn off App Nap? Chip On Wed, 24 Apr 2019 06:54:15 -0500, John DeSoi via 4D_Tech wrote: > Since I upgraded from 16.4 to 17.1 (all Mac), users have been > complaining about 4D Client disconnects. Messages like: > > "The current connection to the database has been disrupted. >

Re: Listbox data type

2019-04-23 Thread Chip Scheide via 4D_Tech
s Real?!?!!? I have no idea. anyone? Thanks Chip > Depends for array list box it is a Boolean array for selection it is a long > int > > On Tue, Apr 23, 2019 at 6:50 PM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> What is the data type of a

Listbox data type

2019-04-23 Thread Chip Scheide via 4D_Tech
What is the data type of a selection listbox? longint, right?? --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) Archive:

Re: Custom Form Events

2019-04-23 Thread Chip Scheide via 4D_Tech
Chris, a Form event is only a longint. you could simply define a longint value above (or below) the existing range of form events, and then take action. ex: My_form_event = 1000 context: a button click, and button object Do_something (my_form_Event) Chip On Tue, 23 Apr 2019 08:32:50 -0600,

[resolved] Re: Encrypt & decrypt blobs

2019-04-22 Thread Chip Scheide via 4D_Tech
Keisuke, Thanks using UTF-8 text without length resolved the extra 2 nulls being appended. Chip On Fri, 19 Apr 2019 23:26:38 +, Keisuke Miyako via 4D_Tech wrote: > I wouldn't convert the text to MacRoman, max 32,000 bytes (i.e. v2004 > format) text > risking data loss - even if the

Re: Encrypt & decrypt blobs

2019-04-20 Thread Chip Scheide via 4D_Tech
, BOM > is used by text editors and is not displayed, to check if there is > BOM prepended I had to use hex editor and look at the file. > > While most text editors know what to do with BOM, I have run into > programs where that caused problems. > > Regards, > > Pete

Re: Encrypt & decrypt blobs

2019-04-19 Thread Chip Scheide via 4D_Tech
Keisuke, Thanks. I'll try on Monday. The text will likely never be more than 100 characters, so length is not really an issue. I did some quick testing - and it must be the encrypt/decrypt process, and Text to blob -> blob to text did not add the extra characters. Also - I will have to check

Encrypt & decrypt blobs

2019-04-19 Thread Chip Scheide via 4D_Tech
I am putting text into a blob TEXT TO BLOB($Text_Ptr->;$Blob;Mac text without length) I encrypt the blob ENCRYPT BLOB($Blob;$Private_Key) I later extract this text DECRYPT BLOB($Blob;$Public_Key) $Destination->:=BLOB to text($Blob;Mac text without length) The text is extracted - and

Re: last(?) 2 built app questions :)

2019-04-18 Thread Chip Scheide via 4D_Tech
ile. That is link > to server > > Regards > Chuck > > On Thu, Apr 18, 2019 at 5:18 PM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> 1 - saved passwords - I can not find a .4dlink file for the built app. >> Is there one? if so where is it sto

last(?) 2 built app questions :)

2019-04-18 Thread Chip Scheide via 4D_Tech
1 - saved passwords - I can not find a .4dlink file for the built app. Is there one? if so where is it stored (as it is not in the location where 4D places a link file for a non-built system. 2 - this is a bit aways yet, Windows... Am I correct to get a windows built app I need to build it

Double Clickable app where should plugins be?

2019-04-18 Thread Chip Scheide via 4D_Tech
I have just created my first 2xclickable app. It starts (yeah)! In my startup routine I check for needed plugins & components. The system uses a plugin. Where should the 'Plugins' folder be (on Mac): - inside the app package, inside the 'contents' folder - inside the app package, inside the

Re: Securing sensitive data in a 4D data file

2019-04-18 Thread Chip Scheide via 4D_Tech
Bruno, Thanks for the info. In the mean time, I am going with simple and (functional?) the specific fields that need to be protected are encrypted. While I do need to unencrypt the data for various uses, once encrypted in the database the field is never again un encrypted. When it is needed,

[resolved] Re: trying to Build double clickable app

2019-04-18 Thread Chip Scheide via 4D_Tech
gt; > On Wed, 17 Apr 2019 at 20:21, Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com> > wrote: > >> yes I located the Volume desktop app. >> >> and Chcuck, >> getting the license installed is the problem. >> >> Chip >> On Wed, 17 Ap

Re: trying to Build double clickable app

2019-04-17 Thread Chip Scheide via 4D_Tech
gt; BUILD APPLICATION. > Select the “Application” tab. > Check-mark “Build stand-alone application”. > Click the ellipsis button (ie, “…”) and select 4D Volume Desktop. > Click BUILD. > > - Jeremy > >> On Apr 17, 2019, at 2:24 PM, Chip Scheide via 4D_Tech >> <4

Re: trying to Build double clickable app

2019-04-17 Thread Chip Scheide via 4D_Tech
mise or waive such > confidentiality, privilege or exemption from disclosure as to this > communication. > >> On Apr 17, 2019, at 1:29 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> v13 or v15 on OS X 10.9 >> >> I have un

Re: not enough space in memory

2019-04-16 Thread Chip Scheide via 4D_Tech
Hi Peter, you did not specify what version of 4D nor which platform. BUT - I have run into similar issues when playing around with large files. I found no solution (v11, v12, v13) so I eventually just put code in place to limit file size to 500 megs. However, I am not dealing with audio or

Re: From where is my form method called?

2019-04-15 Thread Chip Scheide via 4D_Tech
Sandor, if you option/alt click on an object on a form.if the object is on the page you are on it opens the object method for editing; if however, you are on a different page the option/alt click will take you to the page the object lives on, and select the object clicked on. Chip On Mon, 15

[solved] Password issue - no password requested

2019-04-08 Thread Chip Scheide via 4D_Tech
ivery of this message to any person other than the > intended recipient shall not compromise or waive such > confidentiality, privilege or exemption from disclosure as to this > communication. > >> On Apr 8, 2019, at 10:48 AM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com>

Password issue - no password requested

2019-04-08 Thread Chip Scheide via 4D_Tech
I have a new database (v13) I am working with. There is a designer password, admin password, and a couple of users defined (all with passwords) The database settings are set to: - design access : designer & admin - filtering is off for designer and admin - default user : None - display user in

RE: Error connecting to 4D Server

2019-04-07 Thread Chip Scheide via 4D_Tech
not a merged server expert - at all - BUT 4D server does (or at least did in earlier versions) reject new client connections during a backup. it is possible that 4D server is doing a backup, changing the setting/disabling connections during backup - then failing (in some manner) to correctly

RE: Error connecting to 4D Server - SOLVED

2019-04-03 Thread Chip Scheide via 4D_Tech
On Wed, 3 Apr 2019 16:10:09 -0500, Stephen J. Orth wrote: > Chip, > > Yes, we are Windows only. What do you mean by an auto-update? A Windows > update? > > > Steve > > > -Original Message- > From: Chip Scheide <4d_o...@pghrepository.org> &

RE: Error connecting to 4D Server - SOLVED

2019-04-03 Thread Chip Scheide via 4D_Tech
running under windows? could be caused by an auto update... Chip On Wed, 3 Apr 2019 15:40:56 -0500, Stephen J. Orth via 4D_Tech wrote: > David, > > Cool, glad you figured it out. Wish it was that simple for us... > > We have a 24/7 batch processing station at every customer site, and > this

Re: Error connecting to 4D Server

2019-04-03 Thread Chip Scheide via 4D_Tech
have you changed the default ports that 4D uses? if so, you need to specify the new/changed port number in the connection dialog and you need to change both ports (as I understand) 4D, & Sql (usually -1 from 4D port) ex: 123.123.123.123:123456 On Wed, 3 Apr 2019 11:34:10 -0500, David Rose

Re: Securing sensitive data in a 4D data file (Chip Scheide)

2019-04-01 Thread Chip Scheide via 4D_Tech
No - not going to world tour. > Chip- > > Any chance you are going to World Tour? You might see something of > interest ;-). > > Mike > > Mike Beatty > Objective Systems > ** > 4D Internet Users Group (4D iNUG)

Re: Securing sensitive data in a 4D data file (Chip Scheide)

2019-04-01 Thread Chip Scheide via 4D_Tech
an security" Terminal > to see the command line interface options. > > John DeSoi, Ph.D. > > >> On Mar 31, 2019, at 10:54 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I was planning on keeping the keys in the data file...

Re: Securing sensitive data in a 4D data file (Chip Scheide)

2019-04-01 Thread Chip Scheide via 4D_Tech
e individual user and if they are incapacitated or lose > their key that is OK and ’their’ data is inaccessible forever. Or is > there a need for a ‘master’ key? > > Tom Benedict > >> On Mar 31, 2019, at 21:54, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.c

Re: Securing sensitive data in a 4D data file (Chip Scheide)

2019-04-01 Thread Chip Scheide via 4D_Tech
y" Terminal > to see the command line interface options. > > John DeSoi, Ph.D. > > >> On Mar 31, 2019, at 10:54 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> I was planning on keeping the keys in the data file... but I can se

Re: Securing sensitive data in a 4D data file (Chip Scheide)

2019-03-31 Thread Chip Scheide via 4D_Tech
Kirk, Bruno, It seems as if both of you use 1 single key pair to encrypt ALL the secure data. In my situation I am creating a key pair for each user, then encrypting that user's secure data with their own key. this way if one user accidentally, or intensionally gains access to other users secure

Re: Printing Structure Diagram

2019-03-30 Thread Chip Scheide via 4D_Tech
I too can not print the structure any more However, there are 2 options I easily found. with the structure window open, select the 'File' menu. - Export -> Structure to xml and - Export -> Structure to HTML that should get you started. Chip > Hi All, > > We are in the midst of analyzing

Securing sensitive data in a 4D data file

2019-03-30 Thread Chip Scheide via 4D_Tech
I have just finished(?) a project which will contain sensitive information. I have been trying to make sure that the sensitive data is protected. When running the disk the data is on will be encrypted, and I will turn on encrypted data communication between 4D client and server. Data encryption

RE: Encrypt Blob issue - nevermind

2019-03-28 Thread Chip Scheide via 4D_Tech
> Technical Services Engineer > > 4D Inc > 95 S. Market Street, Suite #240 > CA 95113 San Jose > United States > > Téléphone : +1-408-557-4600 > Standard : +1-408-557-4600 > Fax : +1-408-271-5080 > Email : vvillanu...@4d.com > Web : www.4D.c

Encrypt Blob issue

2019-03-28 Thread Chip Scheide via 4D_Tech
When I attempt to encrypt a blob field I get an error "The BLOB could not be created" error 1. Is this expected behavior?? Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D

Re: v13 - Auto UUID

2019-03-26 Thread Chip Scheide via 4D_Tech
both fields are indexed. one is primary key version listed in subject :) v13 Chip > What version. And is field Indexed. Is it primary key > > On Tue, Mar 26, 2019 at 5:23 PM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> New database >> ta

Re: v13 - deleting Designer User group

2019-03-26 Thread Chip Scheide via 4D_Tech
Tried that.. no luck Chip > maybe a import and "blob to users" from a fresh 4DB? > > Cheers > Bernd > > Am Di., 26. März 2019 um 20:23 Uhr schrieb Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com>: > >> I created a couple of user groups as the d

Re: v13 - deleting Designer User group

2019-03-26 Thread Chip Scheide via 4D_Tech
not really :) On Tue, 26 Mar 2019 17:37:19 -0400, Charles Miller via 4D_Tech wrote: > > Is this what you wanted to hear --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D

v13 - Auto UUID

2019-03-26 Thread Chip Scheide via 4D_Tech
New database table has 2 fields set to auto UUID - unique trying to create a new record gives an error which turns out to be related to the UUID fields. If I assign (Generate UUID) in the trigger a new record is saved, if not a new record is rejected. Ideas?? Chip --- Gas is for

v13 - deleting Designer User group

2019-03-26 Thread Chip Scheide via 4D_Tech
I created a couple of user groups as the designer of a database. how do I remove them? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG)

Re: [repost] v13+ Object (not C_Object) references from a Component

2019-03-25 Thread Chip Scheide via 4D_Tech
tes: > >obSetTitle (OBJECT Get name(Object current);"Hello") > > The button title will change accordingly. > > HTH, > > Add > >  > > > On 3/25/19, 2:10 PM, "4D_Tech on behalf of Chip Scheide via 4D_Tech" > <4d_tech-boun...@

Re: [repost] v13+ Object (not C_Object) references from a Component

2019-03-25 Thread Chip Scheide via 4D_Tech
gt; >> On Mar 25, 2019, at 11:16 AM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> If a component method is called from the Host system, where a Text is >> passed to the component method which is an object Identifier (ex: >> "obj_Acce

[repost] v13+ Object (not C_Object) references from a Component

2019-03-25 Thread Chip Scheide via 4D_Tech
If a component method is called from the Host system, where a Text is passed to the component method which is an object Identifier (ex: "obj_Accept_button" - which is the object name of a button on an entry form) can/does the component reference the host system object? Ex : Host system Form

followup info on Optane

2019-03-22 Thread Chip Scheide via 4D_Tech
Hi All, for those interested here is a link to an article regarding Optane performance testing https://blocksandfiles.com/2019/03/22/san-diego-uni-boffins-find-pros-and-cons-in-intels-optane-dimms/ Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: Reporting progress

2019-03-20 Thread Chip Scheide via 4D_Tech
Jeremy, Progress Component it would look something like this: Open progress window("Contacting Server...") contact_server-Method Update Progress window("Signing in...") signin_method Update Progress window("Getting obligations...") get_obligation_method Update Progress window("Submitting

RE: Intel Optane P4800x Drives with 4D Server and Thermal Throttling

2019-03-18 Thread Chip Scheide via 4D_Tech
Is the P4800x an HHHL or U2 configuration? and what capacity? Chip On Sat, 16 Mar 2019 18:24:14 +, Justin Will via 4D_Tech wrote: > In case anyone is wondering. I just installed one of these P4800X > drives in our backup server and ran a test conversion of our datafile > from v13 to v17.

Re: Intel Optane P4800x Drives with 4D Server and Thermal Throttling

2019-03-14 Thread Chip Scheide via 4D_Tech
according to a friend who is more up to date on this then me. The optane memory just 'goes', and runs at the same speed - regardless. here is a review on Tom's hardware: https://www.tomshardware.com/reviews/intel-optane-ssd-900p-3d-xpoint,5292.html On Thu, 14 Mar 2019 15:45:39 +, Justin Will

Re: Error code 183(W132)

2019-03-14 Thread Chip Scheide via 4D_Tech
e: > Sorry, forgot… > > Windows Server 2008 R2 Enterprise Service Pac 1 > V16R6 64bit > > >> On Mar 14, 2019, at 4:27 AM, Chip Scheide >> <4d_o...@pghrepository.org> wrote: >> >> platform and version? >> >> On Wed, 13 Mar 2019 18:2

Re: Error code 183(W132)

2019-03-14 Thread Chip Scheide via 4D_Tech
platform and version? On Wed, 13 Mar 2019 18:24:57 -1000, JOHN BAUGHMAN via 4D_Tech wrote: > One of my deployed 4D server has suddenly started throwing this error > (see below). When the error is being displayed 4D server is not > visible. When the ok button is clicked 4D server becomes

Re: 4D Server v17.1 and time change

2019-03-11 Thread Chip Scheide via 4D_Tech
This will not be fixed until Daylight Savings, or Standard Time is done away with, and there is no more +/- 1 hour at random places around the world :) and just BECAUSE. (they can i guess???) https://www.timeanddate.com/time/time-zones-interesting.html there are 30 minute, and 45 minute

Re: Looping and control flow

2019-03-11 Thread Chip Scheide via 4D_Tech
if what you want is a 'deamon' a task that looks for work, does it and goes to sleep allowing other actions to take place. repeat if (work to do) do work end if delay process(current process; duration in tiks)) (or) pause process(current process) until (exit 4D) tik = 1/60

RE: LEP that will quit Chrome?

2019-03-01 Thread Chip Scheide via 4D_Tech
is powershell now (win7+ standard? CHip On Fri, 1 Mar 2019 08:53:08 +, Epperlein, Lutz (agendo) via 4D_Tech wrote: > We use powershell. > In powershell you can do > > Get-Process chrome > > And if you want to kill the process: > > Get-Process chrome | Stop-Process > > Calling with LEP

Re: "Attempting to retype using a pointer"

2019-02-28 Thread Chip Scheide via 4D_Tech
John, I see the issue -- The time array is NOT an array of Time using v13 (no Time array) so I had to use a longint array, or a time variable which points out the problem. I believe it is: Even though there is a TIME ARRAY() command, the underlying array is not actually time but longint. If

Re: exe file that can launch 4D client as well as Chrome?

2019-02-26 Thread Chip Scheide via 4D_Tech
I would expect that a batch file would do this. While I have not tried anything like this on windows... I believe that the launch of an application can take a parameter (Chrome + url) and you should also be able to launch 4D by referencing a link file. Alternatively you could launch 4D, and use

Re: "Attempting to retype using a pointer"

2019-02-26 Thread Chip Scheide via 4D_Tech
Jeremy, as I am sure you know pointers in 4D have some 'quirks'. I suspect that you have found another. Chip On Tue, 26 Feb 2019 07:18:36 +, Jeremy Roussak via 4D_Tech wrote: > Kirk, > > My apologies. I mistyped the offending lines! > > The lines causing the error dereference the pointers.

Re: Write Hex Bytes

2019-02-21 Thread Chip Scheide via 4D_Tech
**IF** I understand what you are trying to do you are halfway there in both cases, and is fairly easy. I think what you want is: String+Hex[[1]]+Hex[[2]]+...+Hex[[n]] Example: "This is my string of which I want the length" (decimal) 44 characters 44 (dec) = 2C (hex) final value: "This is my

Re: Menubar 1

2019-02-21 Thread Chip Scheide via 4D_Tech
do you do: Set Menubar(1) at the end of your startup? Chip On Wed, 20 Feb 2019 23:35:40 -0600, David Ringsmuth via 4D_Tech wrote: > 4D v17R4 2323298 64bit Remote > OSX 10.16+ > > At the end of my startup method Menubar 1 is displayed. > > On some client machines the menu items are not

Re: Query by Formula Count of Records in Related Table

2019-02-18 Thread Chip Scheide via 4D_Tech
adjust the comparisons (> < = ) as needed in the method mymethod_related_Rec_Count mymethod_related_Rec_Count (Min_count;Max_Count) c_Boolean($0) relate many([parent_table]field) $0:=((records in selection(related_table]) = min_count) & (records in selection(related_table]) > Max_Count))

Re: On Drag Over Behavior

2019-02-14 Thread Chip Scheide via 4D_Tech
right - On Drag Over - return a value to allow/stop the drop event On Drop - do NOT return any value > >> Also, if the “On drop” event code has $0, make sure $0 returns 0 or >> simply (for the moment) comment out the $0 line. > > Yes Hell is other people Jean-Paul Sartre

Re: On Drag Over Behavior

2019-02-14 Thread Chip Scheide via 4D_Tech
conceptually - 4D should do the cursor change for you (declaimer: not v17) I have selection list boxes which I allow the user to drag data from other list boxes in other windows/processes. In the On Begin Drag Over I setup a process variable, ptr_Drag_n_Drop_Source, which holds a pointer to the

RE: Named Selections

2019-02-08 Thread Chip Scheide via 4D_Tech
n use it, and test > the result of your call error handler. > > Hth! > > David Ringsmuth > > From: Chip Scheide via 4D_Tech > Sent: Friday, February 8, 2019 11:52 AM > To: 4D iNug Technical > Cc: Chip Scheide > Subject: Named Selections > > Is there a way to d

Named Selections

2019-02-08 Thread Chip Scheide via 4D_Tech
Is there a way to determine if a named selection exists? something like this: if (Not(Named Selection Exists("Selection_Name"))) Copy Named Selection([table];"Selection_Name") end if Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
7, 2019 at 4:15 PM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Chuck >> look for a hard break (TRACE) >> either in a called component, plugin or method called via EXECUTE >> FORMULA >> >> On Thu, 7 Feb 2019 16:12:38 -0500, Chip

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
Chuck look for a hard break (TRACE) either in a called component, plugin or method called via EXECUTE FORMULA On Thu, 7 Feb 2019 16:12:38 -0500, Chip Scheide via 4D_Tech wrote: > Chuck > also I get this sometimes when there is break in a method which is > called via EXECUT

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
Chuck also I get this sometimes when there is break in a method which is called via EXECUTE FORMULA especially if the method is called during screen drawing (On display detail) Chip a break in codeOn Thu, 7 Feb 2019 15:39:26 -0500, Chuck Miller via 4D_Tech wrote: > Hi All, > > I have an

Re: v17 conundrum in design

2019-02-07 Thread Chip Scheide via 4D_Tech
a break in a component, plug-in an oddity... use runtime explorer to clear all break points - if it still persists try restart 4D I have seen this in earlier versions too Chip On Thu, 7 Feb 2019 15:39:26 -0500, Chuck Miller via 4D_Tech wrote: > Hi All, > > I have an object method that shows

Re: How to display read-only input form

2019-02-07 Thread Chip Scheide via 4D_Tech
Koen, Nice - I did not know that Chip On Thu, 7 Feb 2019 10:19:04 +0100, Koen Van Hooreweghe via 4D_Tech wrote: > > If a field is set to focusable but not enterable, the user can't edit > the content, but will be able to select and copy. --- Gas is for washing parts Alcohol is for

Re: How to display read-only input form

2019-02-06 Thread Chip Scheide via 4D_Tech
the only solution I found was: variables. Built the form with variables. - variable are enterable. User can tab through the variables, copy text, and even change the data - but the if they change the data it reverts to the original value(s) with this idea in mind, object methods, or form

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

2019-01-30 Thread Chip Scheide via 4D_Tech
ptive capable, any shared method > it uses must also be marked as preemptive capable. Otherwise 4D says > the method further down in the call chain is not thread safe even if > it has no thread unsafe commands. > > John DeSoi, Ph.D. > > >> On Jan 30, 2019, at 3:05 PM

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

2019-01-30 Thread Chip Scheide via 4D_Tech
there was no mention of components. I assume, as components are effectively 4D methods, that a thread safe method (call chain) in a component, would make a call to the component method from the host system thread safe as well. Chip On Wed, 30 Jan 2019 21:00:27 +, Timothy Penner via 4D_Tech

Re: Sort messes up Listbox selection when in a transaction

2019-01-25 Thread Chip Scheide via 4D_Tech
Pat, I'm not using v17 - so i can't help directly, but How about doing this instead - should be faster On load of form (or change of content of listbox) create a set - "listbox_display" on delete use set (listbox selection set) delete selection use set("listbox_display") // no query needed

Re: v13+ Components and Host forms

2019-01-16 Thread Chip Scheide via 4D_Tech
a method in the host, callable by > the component, which opens a specified form (for my purposes, using > DIALOG, but I can’t see why ADD RECORD shouldn’t be OK as well). It > works. > > Jeremy > >> On 17 Jan 2019, at 05:49, Chip Scheide via 4D_Tech >> <4d_te

Re: Command Symbol as part of Title of Button

2019-01-16 Thread Chip Scheide via 4D_Tech
John, as I recall to do this (command symbol) you need to use the Font Chicago, as it was only font that supported it. Chicago is a now defunct font. So... I do not think you can do this with a standard button and text. You might be able to cobble something together with SVG (I would not

v13+ Components and Host forms

2019-01-16 Thread Chip Scheide via 4D_Tech
I have been reading through the docs on components, and I am not clear. If I have a component, and I want to add a record to a host table, using an entry form defined in the host system. Can I do the following in the component, and expect it to work? $Table:=$1 // pointer to table to add a

RE: v13+ self referentail relations

2019-01-11 Thread Chip Scheide via 4D_Tech
Thanks On Fri, 11 Jan 2019 17:19:57 +, Timothy Penner wrote: >> this used to be possible. > > In 2004 and prior, yes... But it is no longer possible starting with v11. > >> what happens when an older structure with a self referential >> relation is upgraded? > > It looks like the

RE: v13+ self referentail relations

2019-01-10 Thread Chip Scheide via 4D_Tech
this used to be possible. what happens when an older structure with a self referential relation is upgraded? >> how do I draw a self-referential relation? > You cannot make a single field both the primary and foreign keys of a > relation. You must choose two different fields. > For example,

v13+ self referentail relations

2019-01-10 Thread Chip Scheide via 4D_Tech
How do you create a self referential relation? in older versions you could drag the relational arrow back to the same field to get a 'loop' This does not work now, and I tried to modify the system tables but these are locked, and I can not get them to unlock. 2 questions: - how do I draw a

Re: v13- Chasing Relations

2019-01-10 Thread Chip Scheide via 4D_Tech
Thanks! on the first look it would appear to be simpler/faster to use Sql. On Thu, 10 Jan 2019 21:15:48 +0100, Arnaud de Montard via 4D_Tech wrote: > >> Le 10 janv. 2019 à 20:21, cjmiller--- via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> You could run it on server > > Running a

Re: v13- Chasing Relations

2019-01-10 Thread Chip Scheide via 4D_Tech
_Exist On Thu, 10 Jan 2019 17:02:52 +0100, Arnaud de Montard via 4D_Tech wrote: > >> Le 8 janv. 2019 à 21:47, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> given a pointer to a table, or a pointer to a field of a table, >> I want to

Re: v13+ - Hidden tables

2019-01-09 Thread Chip Scheide via 4D_Tech
; >> On Jan 9, 2019, at 07:05, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> Is there documentation regarding the hidden tables, such as >> _USER_CONSTRAINTS, of a structure? >> If so where? >> >> >> Thanks >>

v13+ - Hidden tables

2019-01-09 Thread Chip Scheide via 4D_Tech
Is there documentation regarding the hidden tables, such as _USER_CONSTRAINTS, of a structure? If so where? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet

Re: v13- Chasing Relations

2019-01-08 Thread Chip Scheide via 4D_Tech
, relations can be circular... > > 2019/01/09 5:47、Chip Scheide via 4D_Tech > <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: > > --- if there are 1 or more relations, I want 'follow' each relation to > determine if there exists 1 or more related records at the other

Re: v13- Chasing Relations

2019-01-08 Thread Chip Scheide via 4D_Tech
aren't there hidden tables which contain the various table and field attributes? On Tue, 8 Jan 2019 15:47:11 -0500, Chip Scheide via 4D_Tech wrote: > given a pointer to a table, or a pointer to a field of a table, > I want to be able, for the current record of this table, to : > - ite

Re: v13- Chasing Relations

2019-01-08 Thread Chip Scheide via 4D_Tech
ml > <https://doc.4d.com/4Dv17/4D/17/dataClassAttributerelatedDataClass.303-3884018.en.html> > > > Keith - CDI > >> On Jan 8, 2019, at 2:47 PM, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> >> given a pointer to a table, or

[Resolved] v13 - Out of Stack Space

2019-01-08 Thread Chip Scheide via 4D_Tech
I posted this before the holidays, but it never showed up I did manage to track down the problem - The problem was related screen resolution and orientation. -- Apparently 4D does not like mixed monitor orientations. In this particular case 1 monitor is in 'normal' orientation (wider

Re: Replacement Code for very old DisplayList plugin

2019-01-07 Thread Chip Scheide via 4D_Tech
Walt, Not sure how much hiding of the listbox(es) Foundation does, as I do not use it... but if can get access to the listbox(es) before display, and after user interaction you can loop over the displayed arrays looking for the value of TRUE Before display: Set the listbox(es) Selection Mode

Re: REDRAW WINDOW not working v17?

2019-01-06 Thread Chip Scheide via 4D_Tech
Alan, try: On Click or On Data change (for your boolean) set timer(1) or some other small value in the form method, On Timer call process(current process) or Call Process(-1) Chip > Hello again Bernd, > > I tried several other things but never got anything to work other than my > original

[resolved] v13 - Interpreted - Out of Stack space - Wierd

2018-12-21 Thread Chip Scheide via 4D_Tech
I did manage to track down the problem - The problem was related screen resolution and orientation. -- Apparently 4D does not like mixed monitor orientations. In this particular case 1 monitor is in 'normal' orientation (wider then high), the second monitor was in vertical orientation

Re: UI Form Updates

2018-12-19 Thread Chip Scheide via 4D_Tech
t; QUERY([table];[table]ID=[LinkedTable]ID) > SELECTION TO > ARRAY([table];Numbers;[table]EndpointType;Names;[table]EndpointAddress;Addresses) > > > Now the ListBox updates as desired. > > Thanks so much for helping understand what I was missing. > > &g

Re: UI Form Updates

2018-12-18 Thread Chip Scheide via 4D_Tech
tedSOAPEndpoint:=SOAPEndpointNumbers{$row} > > > GOTO RECORD([AccountSOAPEndpoints];$selectedSOAPEndpoint) > DELETE RECORD([AccountSOAPEndpoints]) > > > CREATE SET([AccountSOAPEndpoints];"$TempSet") > ALL RECORDS([AccountSOAPEndpoints]) > USE SET("

Re: v13+ - plugins

2018-12-18 Thread Chip Scheide via 4D_Tech
399.en.html > > On Tue, Dec 18, 2018 at 7:26 AM Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> Is there a way to determine what plugins are currently installed? >> >> Thanks >> Chip >> >> --- >> Gas is for washing

v13+ - plugins

2018-12-18 Thread Chip Scheide via 4D_Tech
Is there a way to determine what plugins are currently installed? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) Archive:

Re: How can I identify a process with an active transaction from outside the process

2018-12-18 Thread Chip Scheide via 4D_Tech
Kirk, different resolution generate the invoice ID from outside the transaction, and pass it back in. then even if a transaction is open for days, you do not get duplicated IDs. On exit of the transaction/new record - it is created with the given ID and no duplication, OR if canceled you

Re: Appearance of Tab Control objects

2018-12-17 Thread Chip Scheide via 4D_Tech
not using v17, but maybe a method which returns an RGB value in the background(?) color of the tab object Chip > Using v17 - > Is there any way to control the appearance of tab control objects? I have 3 > tab controls on a form and I'd like to differentiate them by maybe giving > them a

Re: UI Form Updates

2018-12-17 Thread Chip Scheide via 4D_Tech
you need to update the current selection of records in the selection from the table the listbox is displaying. ex: create set([table];"$Temp") use set("Listbox_Selection_Set") delete selection([table]) difference("$Temp";"Listbox_Selection_Set";"$Temp") use set("$Temp") clear set("$Temp") Chip

Re: Coding/Development Style Guide?

2018-12-14 Thread Chip Scheide via 4D_Tech
Tom, They do - you can create a form and then inherit it. Form properties -> Inherited form table --- only if the form is from a table Form properties -> Inherited form Name This is what I do for list forms when I need to add functionality different from my base list form. Chip On Fri, 14 Dec

Re: Coding/Development Style Guide?

2018-12-14 Thread Chip Scheide via 4D_Tech
Fri, 14 Dec 2018 08:28:09 -0800, Tom Benedict wrote: > Thanks Chip. Very comprehensive! Do you have a similar guide for User > Interface? > > Tom > >> On Dec 14, 2018, at 08:18, Chip Scheide <4d_o...@pghrepository.org> wrote: >> >> >> you asked

Re: Coding/Development Style Guide?

2018-12-14 Thread Chip Scheide via 4D_Tech
you asked for it :) here is my 'conventions' comment only method - I place this in every project. //Project Method: _Conventions // • Created 2/16/10 by Chip - //• Updated 2/17/16 by Chip - //• Updated 3/24/16 by Chip - //• Updated 9/2/16 by Chip - added object naming, popup

Re: Managing different indexes for different databases

2018-12-14 Thread Chip Scheide via 4D_Tech
turn the indexes on the customer tables OFF? for development - indexed or not should not matter signifcantly. Chip On Fri, 14 Dec 2018 14:25:08 +, Pat Bensky via 4D_Tech wrote: > In our app (CatBase) each customer can manage their own tables and fields > and one of the things they can do is

v13 - Interpreted - Out of Stack space - Wierd

2018-12-11 Thread Chip Scheide via 4D_Tech
Weird problem. 4D v13.6, C/S, both on Macs. OS X 10.9.5 for 1 user, doing a specific action causes an out of stack space crash. The user is attempting to add a requisition item to the system. To do this they: - open an entry screen from the main menu (in its own process) - click a '+' button on

Re: Converting _O_PLATFORM PROPERTIES to Get system info

2018-12-11 Thread Chip Scheide via 4D_Tech
4D > switches to native POSIX path system. > -- > > Grüße/Regards, > [heubach-media] | Christian Sakowski > christian.sakow...@heubach-media.de > Tel: +49/(0)40/52 10 59-23 > > > > >> Am 11.12.2018 um 16:14 schrieb Chip Scheide via 4D_Tech >&g

<    1   2   3   4   5   6   7   8   9   10   >