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

2019-11-05 Thread Peter-Christian Miest via 4D_Tech

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 app 4Dv17.3 and it will launch without quitting.
Peter
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

listbox magic and v17

2019-11-05 Thread Charles Miller via 4D_Tech
Hi All,
Is anyone using this combination. We are not sure if problem we are
encountering is something inside our code base or inside LB Magic

Thanks and regards

Chuck

-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  https://www.informed-solutions.com
-
This message and any attached documents contain information which may
be confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution,
disclosure, printing, copying, storage, modification or the taking of
any action in reliance upon this transmission is strictly prohibited.
Delivery 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.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Edit menu support in ListBoxes

2019-11-05 Thread Kirk Brooks via 4D_Tech
Peter,
I do this with the Contextual click which indicates the user right-clicked.
Catch the On click form event in the listbox and then test for Contextual
click. Then you can easily construct a menu with whatever items you want.
Here are some code snippets

// ($form_object="itemGrid_listbox")

Case of
: (Form event=On Double Clicked)

//  some stuff


: (Form event=On Clicked)

If (Contextual click)  //  popup menu

IG_POPUP

End if

End case

And the IG_POPUP code works like so:


$menu:=Create menu


APPEND MENU ITEM($menu;"Delete selected items")

SET MENU ITEM PARAMETER($menu;-1;"delete")

APPEND MENU ITEM($menu;"---")


$subMenu:=Create menu


APPEND MENU ITEM($subMenu;"Last receivers")

SET MENU ITEM PARAMETER($subMenu;-1;"rep_lastRcvd")


APPEND MENU ITEM($subMenu;"Last pick tickets")

SET MENU ITEM PARAMETER($subMenu;-1;"rep_lastShip")



APPEND MENU ITEM($menu;"Reports...";$subMenu)

RELEASE MENU($subMenu)


If (Not(Is compiled mode))

APPEND MENU ITEM($menu;"---")

APPEND MENU ITEM($Menu;"test")

SET MENU ITEM PARAMETER($menu;-1;"rep_test")

End if


  // 

  // .. user selection ..

  // 


$menu_choice:=Dynamic pop up menu($menu)

RELEASE MENU($menu)


//  handle the menu choice here...


IG_POP builds and displays the menu. The user selection is in $menu_choice
and it's empty for no selection. This is very fast.

For something simple like see:
https://doc.4d.com/4Dv15/4D/15.6/Dynamic-pop-up-menu.301-3818393.en.html


On Tue, Nov 5, 2019 at 10:05 AM Peter Bozek via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I would like to implement Edit menu functionality in ListBoxes, where user
> would be able to copy lines and paste it into different listbox. However,
> it seems that 4D handles enabling / disabling of edit menu and I have not
> find a way how it could be overridden.
>
> A workaround would be to do a separate menu bar with edit menu items that
> do not have automatic action associated, and switch it on getting / losing
> focus, but maybe there is a simpler way.
>
> --
>
> Peter Bozek
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
Kirk Brooks
San Francisco, CA
===

What can be said, can be said clearly,
and what you can’t say, you should shut up about

*Wittgenstein and the Computer *
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

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

2019-11-05 Thread Tom Dillon via 4D_Tech
Peter-Christian Miest posted:

> on one Mac we are able to successfully run 4D v17.3 under macOS 10.15. 
> On another Mac with macOS 10.15 4D 17.3 crashes on start. We used the same 
> full installer from 4D website on both machines. 

I've had no problem with 17.3 on my MacBook Pro running Catalina. However, a 
client running single user just upgraded to Catalina and 4D crashes after 
warning that the windows won't open in their previous positions. Even just 
launching 4D, without a structure, crashes.

Have any of you seen this or have an idea of what may happening?

Tom Dillon
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Edit menu support in ListBoxes

2019-11-05 Thread Peter Bozek via 4D_Tech
I would like to implement Edit menu functionality in ListBoxes, where user
would be able to copy lines and paste it into different listbox. However,
it seems that 4D handles enabling / disabling of edit menu and I have not
find a way how it could be overridden.

A workaround would be to do a separate menu bar with edit menu items that
do not have automatic action associated, and switch it on getting / losing
focus, but maybe there is a simpler way.

--

Peter Bozek
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Web Application and SAML or OpenID Connect

2019-11-05 Thread Narinder Chandi via 4D_Tech
Keith,

Hi. It looks like it would be a lot of work to do a native implementation of 
OIDC in 4D?

Why not instead look at providing support for services such as OneLogin, Auth0, 
AWS Cognito instead? Certainly the former 2 of those appear to offer REST APIs 
to. Cognito doesn't offer a REST API but there is a PHP library (I did an 
integration with that last year, non-4D solution) but for your purposes you can 
avoid PHP I think by integrating with the aws-cli and LEP?

Regards,
Narinder Chandi,
ToolBox Systems Ltd.
https://toolbox.systems
 
I am available for new consulting opportunities…
http://4d.1045681.n5.nabble.com/ANN-4D-Developer-Available-td5765443.html
-- 

-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing List 
<4d_tech@lists.4d.com>
Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Date: Monday, 4 November 2019 at 18:01
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Keith White 
Subject: 4D Web Application and SAML or OpenID Connect

Hi

Has anyone done work on implementing either SAML or OpenID Connect protocol 
in native 4D code for single sign-on in 4D Web Applications?   I know about 
4D's work on single sign on using Active Directory and/or LDAP etc, but this 
question is specifically for SAML or OpenID Connect.

Services like https://www.onelogin.com/ support these protocols and we're 
being asked more about it.

PHP is one way I suppose, but we currently don't use PHP and I'd prefer a 
native 4D solution.

Many thanks.

Best regards

Keith White
Synergist Express Ltd, UK.
4697775
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**


**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: 4D Write Pro license

2019-11-05 Thread Doug Hall via 4D_Tech
Nevermind. I had to associate the Designer to a group that was associated
to the license. Thanks!

On Tue, Nov 5, 2019 at 8:33 AM Doug Hall  wrote:

> I'm a bit confused. In converting from v15 to v16, I've encountered a 4D
> Write Pro "privilege error" when using the WP New() command, even though I
> have have a valid 4D Developer Professional license installed (which
> includes an unlimited 4D Write Pro license). I'm trying to convert my 4D
> Write Blobs from v15 to Objects compatible with 4D Write Pro.
>
> Anyone else encounter this?
>
> Thanks,
> Doug
>
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

4D Write Pro license

2019-11-05 Thread Doug Hall via 4D_Tech
I'm a bit confused. In converting from v15 to v16, I've encountered a 4D
Write Pro "privilege error" when using the WP New() command, even though I
have have a valid 4D Developer Professional license installed (which
includes an unlimited 4D Write Pro license). I'm trying to convert my 4D
Write Blobs from v15 to Objects compatible with 4D Write Pro.

Anyone else encounter this?

Thanks,
Doug
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

PRINT LISTBOX

2019-11-05 Thread stardata.info via 4D_Tech

Hi all,

I can print one listbox using print form command?

I tried but he not working.

Thanks

Ferdinando

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**