Error code 203 (xbox) from 4D

2019-04-25 Thread Keith Goebel via 4D_Tech
Hi all. I have encountered an error code I have never seen before and hope someone can shed light on it. We are using 4D v17.1 for built client and server applications (server is 64bit and Client is 32bit), both running on virtual machines using Win Server 2016 DataCenter. I have a (very) often

Re: Custom Form Events

2019-04-25 Thread Chris Belanger via 4D_Tech
Greetings Kirk, I have been programming in 4D since version 2 back in the early 1990’s. Though v14 was possibly going to become the end of my ‘career’ with 4D. And then v17 came out with ORDA. I love it. I have a fresh enthusiasm for 4D again. I am using 4D v17r4; getting right up-to-speed on ord

RE: Unexpected authentication window appears in web area

2019-04-25 Thread Randy Engle via 4D_Tech
Peter, Aha. I got it, a WEB AREA! H most peculiar! Randy Engle -Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Peter Jakobsson via 4D_Tech Sent: Thursday, April 25, 2019 1:30 PM To: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Peter Jakobsson Subj

Re: Unexpected authentication window appears in web area

2019-04-25 Thread Chip Scheide via 4D_Tech
windows firewall? windows running though a proxy? through a different router/switch? have you tried entering your network (email or or server) credentials? if you can determine what credentials are accepted maybe you figure out what the cause is Chip On Thu, 25 Apr 2019 22:29:34 +0200, Peter Ja

Re: Unexpected authentication window appears in web area

2019-04-25 Thread Peter Jakobsson via 4D_Tech
Hi Randy Thanks for your reply. Just to clarify, there’s no code involved. It’s simply a web area through which I’m accessing the web. Behaves as expected on the Mac but generates this authentication dialog out of nowhere on Windows. Peter > On 25 Apr 2019, at 22:23, Randy Engle via 4D_Tech <

RE: Unexpected authentication window appears in web area

2019-04-25 Thread Randy Engle via 4D_Tech
Hi Peter, Possibly, something is failing in the ON WEB AUTHENTICATION database method. We have a "blacklist", that if it is on the list, you will get the message you described. Why Windows, not Mac?... dunno. Randy Engle -Original Message- From: 4D_Tech <4d_tech-boun...@lists.4d.com>

Re: 3 menubars management

2019-04-25 Thread Jody Bevan via 4D_Tech
Hi Ernie! With version 17 having very custom menus is a bit or work, but it works fast and slick. If I understand what you are asking… the following works well. We build all our menus via code. You need to also build a bit of security (you can use the 4D Groups if you want) to know who gets wha

Unexpected authentication window appears in web area

2019-04-25 Thread Peter Jakobsson via 4D_Tech
Hi I have a very simple web area embedded in a 4D form for logging into an authenticated domain. I’m observing different behaviours in Mac and Windows: Mac: works fine. You enter user and password, click the web page submit button and authentication is successful. Next web page appears Windows

Re: Project methods vs ...

2019-04-25 Thread Jim Dorrance via 4D_Tech
I prefer to keep 2 parameters: obhject and form event That way I can emulate object events outside the objects. eg MyGenericObjectMetod( ->bAccept, On Clicked) to emulate a click on my accept button On Thu, Apr 25, 2019 at 4:31 PM Herr Alexander Heintz via 4D_Tech < 4d_tech@lists.4d.com> wrote:

Re: Custom Form Events

2019-04-25 Thread Kirk Brooks via 4D_Tech
Chris, Thanks for the insight. It sounds like you are working with classic 4D code (even if you're using v17). Let me encourage you to think about re-writing your form using v17. I think most of the issues requiring elaborate workarounds won't be necessary. Positioning objects on the form. You men

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

2019-04-25 Thread Jim Crate via 4D_Tech
I got the same result on the app after I ran it. The app does launch properly. However, those changes happened after the app was downloaded. -> codesign --verify -v T19.app T19.app: a sealed resource is missing or invalid file modified: /T19/T19.app/Contents/Database/T19.4DIndy file modified: /T

3 menubars management

2019-04-25 Thread ernie hilgers via 4D_Tech
Hi All, I have a 4D structure that caters to 3 level of users. (users/supervisors/managers) Situation: there are features like "customer lookup" with it's output form where a menubar is assigned and active during the design of the layout. there are more of the same situations but I'll stick t

Re: Custom Form Events

2019-04-25 Thread Douglas von Roeder via 4D_Tech
Chris: "I prefer to reduce the number of Project Methods” My thoughts about programming were strongly influenced by McConnell and a few others. None of them discuss limiting the number of methods. Their focus is on when and why to create a method and how those routines interact. If reducing the nu

Re: Custom Form Events

2019-04-25 Thread Bernd Fröhlich via 4D_Tech
Chris Belanger: > One simple instance I want to experiment on — which, of course, is trivial, > is: > > I have three fields (actually object attributes) > City > Province (or State) > FullCityName > > FullCityName is computed from City & Province > : (City = “”) —> FullCityName := “” > :(Provin

RE: -1 undefined database event

2019-04-25 Thread David Ringsmuth via 4D_Tech
Kirk, I believe you solved this for me! I had a process launched from within table’s trigger that momentarily locked the record I was trying to save. THANK YOU! David Ringsmuth From: Kirk Brooks via 4D_Tech Sent: Wednesday, April 24, 2019 4:38 PM To: 4D iNug Technical Cc: Kirk Brooks Subject:

Re: Project methods vs ...

2019-04-25 Thread Jody Bevan via 4D_Tech
Just to chime in with my Belizean penny worth… (less than a Canadian penny) We have several forms that are used as the form for all tables. There are full suites of buttons on these project forms. For these buttons they all call a Project method. Within these are a case of statement that calls t

Re: Project methods vs ...

2019-04-25 Thread Herr Alexander Heintz via 4D_Tech
I absolutely agree with Chip! For quite some time I have made sure all code called by objects is 1 line only! Now, with ORDA and the Form. object, it gets even easier to do this! Also in many cases there is no neeed for parameter passing: Using OBJECT Get name(Object current

Project methods vs ...

2019-04-25 Thread Chip Scheide via 4D_Tech
Chris B made the below statement about project methods. from a 'classic' 4D pogromming view, IMHO - which may mean nothing :), this is not the approach I use or advocate. I do use object methods - but - only to call project methods which do all of the actual work. ex: accept button script /