Re: Object notation replacement for use of Self in a script — v18

2020-04-30 Thread Peter Hay via 4D_Tech
Hi Chris, What we really need is a way to access a Form Object's "Variable or Expression". There's a Command named "Object Get Data Source" which was added in v14, but it only returns a Pointer if "Variable or Expression" is a Variable. If it's an Expression it returns Nil. If we could get

CURL SFTP issues with SSH

2019-11-21 Thread Peter Hay via 4D_Tech
Hi, I'm using Miyako's CURL-FTP plugin to try and connect to an SFTP site using SSH keys, but I keep getting an error 67. I've tried the same settings using CURL from the command line, and get the same error. I've also tried the same thing using FileZilla and it works perfectly, so I know the

Formulas with XLS Plugin

2019-08-28 Thread Peter Hay via 4D_Tech
Hi, Does anyone know if it's possible to create formulas with Miyako's XLS Plugin? I've managed to functions working but I'm struggling with formulas. eg. =A1+B1 Thanks. Regards, Pete Hay Foreground Software Limited New Zealand

Xero and Private apps

2019-07-29 Thread Peter Hay via 4D_Tech
Hi, Has anyone had success in integrating a 4D app with a Private Xero account? I've had success with connecting to a Public Xero account using OAuth, but I can't work out how to sign a Request for a Private Xero app. Thanks. -- Pete Hay Managing Director Foreground Software Limited New

Re: From where is my form method called?

2019-04-16 Thread Peter Hay via 4D_Tech
Hi Sandor, I've got a feature request that you may want to vote on, for exactly this scenario . https://forums.4d.com/Post/EN/29304309/1/29304310#29304310 -- Pete Hay Managing Director Foreground Software Limited New Zealand

Re: How to get the Window ref of the 4D 64 bit app window

2019-02-01 Thread Peter Hay via 4D_Tech
Keith, that doesn't seem to work on Windows unfortunately. Miyako, Thanks for the link to your 2 plugins. I should have known to check your GitHub account. ;-) I tried both of your plugins. Set Window Title for the MDI window works perfectly, but I couldn't get the icon to be set correctly.

How to get the Window ref of the 4D 64 bit app window

2019-01-31 Thread Peter Hay via 4D_Tech
Hi, I'm trying to get the Window reference of 4D's application window so that I can put a custom icon on it, and change the window title. This is for 64 bit 4D v17R3 on MS Windows. I've been doing this for years with the excellent Win32API using gui_GetWindowEx (""). This works fine with 32

Re: Win32API 8.1.2 gui_GetWindowEx("") in v16r5

2018-01-29 Thread Peter Hay via 4D_Tech
Hi Jason, I logged an issue about this with Orchard about a year ago; https://github.com/OrchardSoftware/4D-Win32API/issues/24 From what they say, it's a 4D Plugin SDK issue and there's a work around, but Orchard doesn't seem to have implemented it yet. I haven't hassled them about it, because