Re: Save Record($vptr_Table->)

2018-06-10 Thread Sujit Shah via 4D_Tech
You have an invalid table number as the error message says.

Perhaps I don’t fully understand the issue.



On Mon, 11 Jun 2018 at 6:22 am, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Pat:
>
> Thanks for the pointer to this. We have never used the unique field
> checkbox in any of our projects. I looked through the table, and as I hoped
> - no field has the unique attribute set on.
>
> Thanks
>
> Jody
>
>
> > On Jun 10, 2018, at 2:10 PM, Pat Bensky via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > If there are any Unique fields in that table (I'm sure there are!) check
> > that you aren't trying to save a duplicate value in one of them.
> >
> > PB
> >
> > On 10 June 2018 at 21:02, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com>
> > wrote:
> >
> >> Hi Doug:
> >>
> >> I wrote this code in the method with the problem line:
> >>
> >> If (Table name($vptr_Table)="StandardOrder")
> >>SAVE RECORD([StandardOrder])
> >> Else
> >>SAVE RECORD($vptr_Table->)
> >> End if
> >>
> >> The line traces and knows to use the correct branch. Therefore it does
> not
> >> seem to be the pointer. It is like 4D is having problems with the
> structure
> >> - guessing.
> >>
> >> We have not used any triggers in this project thus far. I did check and
> >> nothing checked off for a trigger, and no code in the trigger.
> >>
> >> The same err comes up with the Save Record command with the table
> directly
> >> identified '-1'
> >>
> >> Jody.
> >>> On Jun 10, 2018, at 1:54 PM, Douglas von Roeder 
> >> wrote:
> >>>
> >>> Jody:
> >>>
> >>> Try using the actual table name. What’s in//disable the trigger.
> >>>
> >>> On Sun, Jun 10, 2018 at 12:50 PM Jody Bevan via 4D_Tech <
> >> 4d_tech@lists.4d.com > wrote:
> >>> The method that this err occurs in is used hundreds of time throughout
> >> the system. All record saves go through it.
> >>>
> >>> I have a record I used Add Record which opened up our ‘Input’ form.
> >> Within the Form Method On Load I update information in the record, and
> from
> >> the User Interface I update information in the record. I then call our
> >> STD_Save method.
> >>>
> >>> In the Debugger window I can see the Records in selection for the table
> >> = 0. I can also see that there is the record that I am currently
> modifying
> >> that I got there with the Add Record, that I am trying to save.
> >>>
> >>> I pass in a pointer to the table I am working in, to our STD_Save
> >> method. As I follow it through the pointer dereferences correctly. This
> >> permits us to do some house keeping in the record. All is good until the
> >> line indicated in the Subject line is executed.
> >>>
> >>> Just before that line is executed $vptr_Table-> dereferences to the
> >> correct table.
> >>>
> >>> When this line runs the following Err message comes up:
> >>>
> >>> 4D Engine#: -1 Invalid table number requested by a Plug-In.
> >>>
> >>> I have run MSC and no errs are reported. All is good.
> >>>
> >>> I have retyped the line several times. I have copied the method,
> deleted
> >> it, and created it again. No luck.
> >>>
> >>> Obviously this method is running successfully for saving record for
> >> other tables as it will be run many times in just getting to where I am
> in
> >> our application.
> >>>
> >>> Ideas?
> >>>
> >>> Thanks.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Auto Positioning Print Forms

2018-05-21 Thread Sujit Shah via 4D_Tech
John

Are you using MOVE OBJECT to adjust for different printer settings?

On Mon, May 21, 2018 at 11:09 PM, John DeSoi via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> All the MOVE OBJECT code I have runs in the form event for the area being
> printed (On Printing Detail, Form Footer, etc.). Not sure that it works
> with On Load for printing.
>
> John DeSoi, Ph.D.
>
>
> > On May 20, 2018, at 10:43 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > I am trying to automatically "center" the Form 4D prints using PRINT
> FORM.
> >
> > For some reason no matter where the form objects are placed I keep
> getting
> > the same coordinates in the first line of code below:
> >
> > `Form event On Load
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Auto Positioning Print Forms

2018-05-20 Thread Sujit Shah via 4D_Tech
Not trying to get the Form Size but the actual coordinates within the page
frame so I can then use MOVE OBJECT to align them before printing.  OBJECT
GET COORDINATES does return the coordinates but I think they are relative
not absolute coordinates.



On Mon, May 21, 2018 at 4:09 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> have you tried FORM GET PROPERTIES to get the center of form?
> http://doc.4d.com/4Dv16/4D/16.3/FORM-GET-PROPERTIES.301-3651178.en.html
>
> I don't recall OBJECT GET COOD. to ever return the form size
> http://doc.4d.com/4Dv16/4D/16.3/OBJECT-GET-COORDINATES.301-3651562.en.html
>
> > 2018/05/21 12:43、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >
> > I am trying to automatically "center" the Form 4D prints using PRINT
> FORM.
> >
> > For some reason no matter where the form objects are placed I keep
> getting
> > the same coordinates in the first line of code below:
> >
> > `Form event On Load
> > OBJECT GET COORDINATES(*;"@";$lLeft;$lTop;$lRight;$lBottom)  //The form
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Auto Positioning Print Forms

2018-05-20 Thread Sujit Shah via 4D_Tech
I am trying to automatically "center" the Form 4D prints using PRINT FORM.

For some reason no matter where the form objects are placed I keep getting
the same coordinates in the first line of code below:

`Form event On Load

OBJECT GET COORDINATES(*;"@";$lLeft;$lTop;$lRight;$lBottom)  //The form
GET PRINTABLE AREA($lHeight;$lWidth)
GET PRINTABLE MARGIN($lLeft1;$lTop1;$lRight1;$lBottom1)  //The print margin

  //Get the H center displacement of Form
$lHorizCenterF:=($lRight-$lLeft)/2
$lHorizCenterP:=$lLeft1+($lWidth/2)
$lMoveH:=$lHorizCenterF-$lHorizCenterP

  //Get the V Center displacement of Form
$lVerticalCenterF:=($lBottom-$lTop)/2
$lVerticalCenterP:=$lTop1+($lHeight/2)
$lMoveV:=$lVerticalCenterF-$lVerticalCenterP

OBJECT MOVE(*;"@";$lMoveH;$lMoveV)



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: SOAP Parameter Limit (Sujit Shah)

2018-05-18 Thread Sujit Shah via 4D_Tech
Agree XML or JSON would be best. At this stage only providing support to an
existing web service.

On Fri, May 18, 2018 at 7:51 PM, Wayne Stewart via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> If I needed to pass that many parameters I'd pass them as a JSON string.
>
> One text parameter containing as many as you want.
>
> Regards,
>
> Wayne
>
>
> Wayne Stewart
> about.me/waynestewart
>
>
>
>
> On 18 May 2018 at 19:10, Bruno LEGAY via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> > Hi,
> >
> > I don't think I have tried to send soap call with that many parameters.
> >
> > Anyway it is not that complicated to create your own soap calls (it is
> xml over http).
> >
> > Let me know if you want more infos on how to do this.
> >
> > HTH
> > Bruno
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > 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)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

SOAP Parameter Limit

2018-05-16 Thread Sujit Shah via 4D_Tech
Is there a limit to the number of parameters that can be passed to a SOAP
call. Our legacy web service methods has reached 100 and crashes no matter
which parameter is added. I wish 4D would have some documentation on this.

;-(



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: 16.3 HF2 test of the new network layer

2018-05-01 Thread Sujit Shah via 4D_Tech
Very encouraging


On Wed, 2 May 2018 at 1:27 am, Paul Lovejoy via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Thanks for sharing!
>
> Paul
>
> > On 1 May 2018, at 16:43, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Over the weekend, we ran our production 4D Server using the new network
> layer. We ran from midnight Saturday until midnight Monday, and we peaked
> at about 145 users and 1200 processes.
> >
> > I'm very happy to say we had no issues at all! There wasn't a single
> helpdesk ticket filed against 4D for the entire weekend, and performance
> was excellent. It was great to see that the CPU usage of the main core on
> the server was in line with all the rest of the cores - it wasn't pegged
> constantly at 80% - 90%. This should really improve the number of requests
> per second that the server can process, and hopefully improve execution
> time of our triggers as well.
> >
> > We are going to run a full test in production tomorrow (600+ users,
> 3500/4000+ processes) -- if it's successful we will switch all our
> remaining systems over to the new network layer. I'll keep you posted!
> >
> > Jeff
> >
> >
> > Details:
> >
> > Server:
> >  4D Server 16.3 HF2 (build 221345) 64-bit
> >  Windows Server 2012 on a Dell PowerEdge Server, 3.4GHz Xeon 12-core,
> NVME RAID 10 SSDs
> >  10Gb Ethernet
> >
> > Clients:
> >  4D 16.3 build 219338 and 221345 32-bit
> >  macOS 10.12.6 and 10.13.4 (mostly Mac Minis and iMacs), Windows Server
> 2008R2 (about 8 VMs)
> >  Gigabit Ethernet
> >
> > We restrict wifi access to 4D Server to a handful of special cases, and
> only allow remote access to 4D Server via screen sharing (LogMeIn, RDP,
> etc.)
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > 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)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Constants - Can I make a Date Constant?

2018-05-01 Thread Sujit Shah via 4D_Tech
:-)


On Wed, 2 May 2018 at 5:22 am, Arnaud de Montard via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> > Le 30 avr. 2018 à 21:33, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>
> a écrit :
> >
> > for example : !00/00/00!
>
>
>   //KdateNull -> date
> c_date($0)
> $0:=!00/00/00!
>
> --
> Arnaud de Montard
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: 9913 SOAP errors

2018-04-30 Thread Sujit Shah via 4D_Tech
Update

We have customer sites with no proxy also having 9913 SOAP errors. This one
in particular have several hundred sites connecting to the head office via
SOAP. The customer tech department are running a Cron Job that polls the
WSDL every minute. If there are 10 consecutive failures an alert is fired.
Based on this test they report an average of 4-5 failures a day per site.
Moving forward this is a concern for us especially with the development of
more and more web based functionality. If there are 4D users using SOAP
extensively for their API and not seeing these errors please fill in. I
would like to know which 4D version you are on and if there is anything in
particular you may have done to resolve this issue.



On Mon, Apr 30, 2018 at 10:37 AM, Sujit Shah  wrote:

> No the optional "*" in WEB SERVICE CALL is not used
>
>
> On Mon, Apr 30, 2018 at 10:29 AM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> are you calling soap with the asterisk (keep-alive) option?
>> keep-alive can timeout and die when the interval is too long.
>> normally, it should only be used with blocks of soap calls and except for
>> the closing call.
>>
>> > 2018/04/30 9:12、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> > We have a customer with a 4D web server behind a proxy. The customers IT
>> > department ping the WSDL (a secure https url). Both their IT department
>> and
>> > the 4D error logs are reporting 9913 SOAP errors several times a day.
>>
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: 9913 SOAP errors

2018-04-29 Thread Sujit Shah via 4D_Tech
No the optional "*" in WEB SERVICE CALL is not used


On Mon, Apr 30, 2018 at 10:29 AM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> are you calling soap with the asterisk (keep-alive) option?
> keep-alive can timeout and die when the interval is too long.
> normally, it should only be used with blocks of soap calls and except for
> the closing call.
>
> > 2018/04/30 9:12、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > We have a customer with a 4D web server behind a proxy. The customers IT
> > department ping the WSDL (a secure https url). Both their IT department
> and
> > the 4D error logs are reporting 9913 SOAP errors several times a day.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

9913 SOAP errors

2018-04-29 Thread Sujit Shah via 4D_Tech
We have a customer with a 4D web server behind a proxy. The customers IT
department ping the WSDL (a secure https url). Both their IT department and
the 4D error logs are reporting 9913 SOAP errors several times a day. That
the "web server is not reachable" is a cause of concern. This is a large
network with several sites sending/ receiving SOAP calls to/from the head
office  The web server receives over 300,000 calls a day. Sometimes the
first web service call will fail but the subsequent call will succeed. This
is ok with SOAP calls that are recursive (try "n" times till you succeed)
but are a problem when the call is for a login or for example a web page
update or redraw.

4D V15.2 (Windows Server)



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Appending XML Elements

2018-04-11 Thread Sujit Shah via 4D_Tech
Is there a more efficient way that a large number of sub - elements can be
added to the root element? At the moment we are using a For Loop.

 (I am looking for something like SELECTION TO JSON or JSON Stringify array
for XML..)

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Web Server Freeze

2018-04-11 Thread Sujit Shah via 4D_Tech
15.2 Windows

On Thu, Apr 12, 2018 at 10:26 AM, John DeSoi via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> What 4D version? Mac or Windows?
>
> > On Apr 11, 2018, at 6:55 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > We are having random occasional freezing of the Web Server with several
> > SOAP call processes accumulating on the Server Process window with a
> > "waiting for flag" state. Eventually the 4D Server stops responding and a
> > forced restart is required. Our sites can have upto 300 calls per second.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Web Server Freeze

2018-04-11 Thread Sujit Shah via 4D_Tech
We are having random occasional freezing of the Web Server with several
SOAP call processes accumulating on the Server Process window with a
"waiting for flag" state. Eventually the 4D Server stops responding and a
forced restart is required. Our sites can have upto 300 calls per second.

There are no 4D Errors or Runtime Errors when this happens. Just wondering
is there anything else we can try to find why this happens?




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: NQR_ADD_SORT (quick-report)

2018-03-15 Thread Sujit Shah via 4D_Tech
Update: It happens after exactly 31 fields are dragged onto the Quick
Report. Regardless of Table.

On Fri, Mar 16, 2018 at 9:10 AM, Sujit Shah  wrote:

> I am getting these errors after adding 14-15 fields in Quick Reports.
>
> QR SET SORTS (Error 9852)
>
> 9852 refers to invalid parameter
>
> Has anyone seen this error?
>
> NQR_ADD_SORT is an inbuilt 4D QR method.
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

NQR_ADD_SORT (quick-report)

2018-03-15 Thread Sujit Shah via 4D_Tech
I am getting these errors after adding 14-15 fields in Quick Reports.

QR SET SORTS (Error 9852)

9852 refers to invalid parameter

Has anyone seen this error?

NQR_ADD_SORT is an inbuilt 4D QR method.



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Getter for the menu bar associated with a form

2018-03-12 Thread Sujit Shah via 4D_Tech
You should be able to get menu bar reference on load?


On Tue, 13 Mar 2018 at 6:00 am, Jeff Grann via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Is there such an animal?
>
> --
> Jeff Grann
> SuccessWare, Inc.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Corrupted? 4D SOAP message

2018-03-01 Thread Sujit Shah via 4D_Tech
I got WEB GET HTTP BODY which answers my first question.

On Fri, Mar 2, 2018 at 11:11 AM, Sujit Shah  wrote:

> Occasionally we are receiving certain SOAP calls which are crashing the
> server. How do you capture the entire SOAP message between OWA and the SOAP
> method?
>
> What network conditions or device can cause a malformed or corrupted SOAP
> message. I ask this because the same message when resent works.
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Corrupted? 4D SOAP message

2018-03-01 Thread Sujit Shah via 4D_Tech
Occasionally we are receiving certain SOAP calls which are crashing the
server. How do you capture the entire SOAP message between OWA and the SOAP
method?

What network conditions or device can cause a malformed or corrupted SOAP
message. I ask this because the same message when resent works.

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 15R5 Feedback

2018-02-28 Thread Sujit Shah via 4D_Tech
Yes we are using tools like loader.io to test the SOAP calls. Will post
results soon.


On Wed, 28 Feb 2018 at 3:20 pm, Justin Carr via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Sujit
>
> I never dug that deeply into it. Customers who are handling "significant"
> numbers of SOAP requests are crashing intermittently but typically at least
> once every few days. "Significant" is probably in the order of 80+ per
> minute. It was super easy to create a reproducible test database so I
> didn't do more detailed diagnostics. The test case is submitting (on my
> system) in the order of 700 requests per minute, and it would typically
> crash after 15-20 minutes or so.
>
> J
>
> On 28 Feb 2018, at 12:54 pm, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Justin,
> >
> > Was it the volume of SOAP calls or the frequency that caused the crashes?
> >
> > We are clocking around 400 per minute at peak times.
> >
> >
> >
> > On Wed, Feb 28, 2018 at 9:39 AM, Justin Carr via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> That one was raised by me but in our case, it is only happening on
> 32-bit
> >> Mac server.
> >>
> >> But it's very easy to test. Just create a server application that has
> >> nothing at all except for exposing a single web service. That web
> service
> >> does nothing other than return a value of 0. Then from another
> application
> >> fire continual requests at that server.
> >>
> >> In my case the server would crash anywhere after 10,000 requests. After
> >> using a version containing the fix, on macOS 10.12 the server responded
> to
> >> around 3,000,000 requests before I stopped it. On macOS 10.11 it still
> >> crashed but not until sometime after 500,000 requests.
> >>
> >> J
> >>
> >> On 28 Feb 2018, at 8:29 am, Keisuke Miyako via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>>
> >>> that would be: ACI0097539
> >>>
> >>>
> >>> https://bugs.4d.fr/fixedbugslist?branch=16_R6
> >>> https://bugs.4d.fr/fixedbugslist?branch=16
> >>>
> >>>> 2018/02/28 3:07、Stephen J. Orth via 4D_Tech <4d_tech@lists.4d.com>
> >> のメール:
> >>>> I recall reading (recently) a fix in V16.3 specifically dealing with a
> >> server crash problem due to many SOAP calls.
> >>>
> >>>
> >>>
> >>> **
> >>> 4D Internet Users Group (4D iNUG)
> >>> FAQ:  http://lists.4d.com/faqnug.html
> >>> 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)
> >> FAQ:  http://lists.4d.com/faqnug.html
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >> **
> >>
> >
> >
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > 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)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: [SAD NEWS] legendary developer and 4D base-rock Ortwin Zillgen

2018-02-28 Thread Sujit Shah via 4D_Tech
Very sad to hear. We did buy a few components from him. Always great with
UI and a very pragmatic approach.

He was very active and always had a very refreshing way to resolve issues.

He will be missed greatly

God Bless


On Tue, 27 Feb 2018 at 9:22 pm, Herr Alexander Heintz via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Fellow 4D developers,
>
> it is with great sadness, that I have to inform you, that Ortwin Zillgen
> has passed away end of last week.
> Suddenly, unexpectedly and far to early at the young age of 64.
>
> Ortwin was known to many of us for his interesting and innovative ideas
> for interfaces, anything to do with cartography and mastery of subforms,
> his garish striped shirts and baggy yellow jacket, but most of all, as an
> all-around great guy to hang out with and talk of 4d, art, and anything
> that comes to mind.
> I have known him for many years and never saw him without that wide
> friendly grin on his face, I will miss it.
>
> 4d tech support all over the world will painfully feel his absence and an
> urgent need to stock up on staff.
>
> He will be missed dearly and we wish him godspeed whichever tricky subform
> he may be heading to.
>
> All the best to y’all and stay safe
>
> Alex Heintz
>
> PS: I will pass on any condolences from the nug to his family
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 15R5 Feedback

2018-02-28 Thread Sujit Shah via 4D_Tech
From what I gather the general consensus is that R15 Did not have a
reported issue with SOAP calls other than ours. And what worked in R2
should work in R5 as well. Randy working with R5 does not have SOAP issues.

R16 had a problem with intensive SOAP calls but these were fixed in the
current nightly builds.

Thanks for the input.


On Wed, 28 Feb 2018 at 3:20 pm, Justin Carr via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Sujit
>
> I never dug that deeply into it. Customers who are handling "significant"
> numbers of SOAP requests are crashing intermittently but typically at least
> once every few days. "Significant" is probably in the order of 80+ per
> minute. It was super easy to create a reproducible test database so I
> didn't do more detailed diagnostics. The test case is submitting (on my
> system) in the order of 700 requests per minute, and it would typically
> crash after 15-20 minutes or so.
>
> J
>
> On 28 Feb 2018, at 12:54 pm, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Justin,
> >
> > Was it the volume of SOAP calls or the frequency that caused the crashes?
> >
> > We are clocking around 400 per minute at peak times.
> >
> >
> >
> > On Wed, Feb 28, 2018 at 9:39 AM, Justin Carr via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> That one was raised by me but in our case, it is only happening on
> 32-bit
> >> Mac server.
> >>
> >> But it's very easy to test. Just create a server application that has
> >> nothing at all except for exposing a single web service. That web
> service
> >> does nothing other than return a value of 0. Then from another
> application
> >> fire continual requests at that server.
> >>
> >> In my case the server would crash anywhere after 10,000 requests. After
> >> using a version containing the fix, on macOS 10.12 the server responded
> to
> >> around 3,000,000 requests before I stopped it. On macOS 10.11 it still
> >> crashed but not until sometime after 500,000 requests.
> >>
> >> J
> >>
> >> On 28 Feb 2018, at 8:29 am, Keisuke Miyako via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>>
> >>> that would be: ACI0097539
> >>>
> >>>
> >>> https://bugs.4d.fr/fixedbugslist?branch=16_R6
> >>> https://bugs.4d.fr/fixedbugslist?branch=16
> >>>
> >>>> 2018/02/28 3:07、Stephen J. Orth via 4D_Tech <4d_tech@lists.4d.com>
> >> のメール:
> >>>> I recall reading (recently) a fix in V16.3 specifically dealing with a
> >> server crash problem due to many SOAP calls.
> >>>
> >>>
> >>>
> >>> **
> >>> 4D Internet Users Group (4D iNUG)
> >>> FAQ:  http://lists.4d.com/faqnug.html
> >>> 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)
> >> FAQ:  http://lists.4d.com/faqnug.html
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: https://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >> **
> >>
> >
> >
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > 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)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 15R5 Feedback

2018-02-27 Thread Sujit Shah via 4D_Tech
Thanks Keisuke

Do you know if this fixed in 15R5 as well?



On Wed, Feb 28, 2018 at 8:29 AM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>  that would be: ACI0097539
>
>
> https://bugs.4d.fr/fixedbugslist?branch=16_R6
> https://bugs.4d.fr/fixedbugslist?branch=16
>
> > 2018/02/28 3:07、Stephen J. Orth via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > I recall reading (recently) a fix in V16.3 specifically dealing with a
> server crash problem due to many SOAP calls.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 15R5 Feedback

2018-02-27 Thread Sujit Shah via 4D_Tech
Justin,

Was it the volume of SOAP calls or the frequency that caused the crashes?

We are clocking around 400 per minute at peak times.



On Wed, Feb 28, 2018 at 9:39 AM, Justin Carr via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> That one was raised by me but in our case, it is only happening on 32-bit
> Mac server.
>
> But it's very easy to test. Just create a server application that has
> nothing at all except for exposing a single web service. That web service
> does nothing other than return a value of 0. Then from another application
> fire continual requests at that server.
>
> In my case the server would crash anywhere after 10,000 requests. After
> using a version containing the fix, on macOS 10.12 the server responded to
> around 3,000,000 requests before I stopped it. On macOS 10.11 it still
> crashed but not until sometime after 500,000 requests.
>
> J
>
> On 28 Feb 2018, at 8:29 am, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > that would be: ACI0097539
> >
> >
> > https://bugs.4d.fr/fixedbugslist?branch=16_R6
> > https://bugs.4d.fr/fixedbugslist?branch=16
> >
> >> 2018/02/28 3:07、Stephen J. Orth via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> >> I recall reading (recently) a fix in V16.3 specifically dealing with a
> server crash problem due to many SOAP calls.
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > 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)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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 15R5 Feedback

2018-02-26 Thread Sujit Shah via 4D_Tech
We have a database which uses SOAP across several sites in various
configurations of C/S, C/S <-> C/S and C/S <-> Standalone. The server
crashes randomly (or so it seems) with a  MSVCR120.dll  crash. We have
updated to the latest Visual Studio/ reinstalled etc but the crashing
persists. Has anyone had this problem with 4D 15R2? Is there anyone running
intensive SOAP operations with 4D 15 R5?

TIA

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Giving an object the focus

2018-02-17 Thread Sujit Shah via 4D_Tech
I would disable the button if the 4D Write Pro is not in focus..



On Sat, Feb 17, 2018 at 2:43 AM, Pat Bensky via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> How do I make an object on a form the focus object programmatically?
> I have a *Check Spelling* button which runs the spelling checker on a Write
> Pro area. But if another field has the focus, it doesn't work. So I can
> check which object has the focus and if it isn't the Write Pro area, how do
> I make it become the focus object? Just going to the object with *GOTO
> OBJECT *doesn't work.
>
> --
> *
> CatBase - Top Dog in Data Publishing
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Sort Tables and Fields in QR editor

2018-02-15 Thread Sujit Shah via 4D_Tech
Don’t bother found it.

:-)

http://doc.4d.com/4Dv16R4/4D/16-R4/SET-FIELD-TITLES.301-3317195.en.html



On Thu, 15 Feb 2018 at 8:14 pm, Sujit Shah  wrote:

> I remember this was discussed before but cannot seem to find the thread
>
> Anyone?
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>
-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Sort Tables and Fields in QR editor

2018-02-15 Thread Sujit Shah via 4D_Tech
I remember this was discussed before but cannot seem to find the thread

Anyone?


-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
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: Can't Run Method In Design Environment

2018-02-11 Thread Sujit Shah via 4D_Tech
Thats what it is..

On Mon, Feb 12, 2018 at 10:14 AM, Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Did you exit the runtime environment and drop into user mode first, or did
> you just breakpoint your way into the design environment?
>
> --
> Jeffrey Kain
> jeffrey.k...@gmail.com
>
>
> > On Feb 11, 2018, at 6:18 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > I have access to the design environment. I can create a method but the
> menu
> > under Run-> Method is disabled. I am in interpreted mode but "Run
> > Interpreted" is enabled.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Can't Run Method In Design Environment

2018-02-11 Thread Sujit Shah via 4D_Tech
I have access to the design environment. I can create a method but the menu
under Run-> Method is disabled. I am in interpreted mode but "Run
Interpreted" is enabled.

Very Strange..

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

CREATE VIEW and then QR

2018-02-08 Thread Sujit Shah via 4D_Tech
Is it possible to create a view and then allow the user to select the
fields and print reports using Quick Reports?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending HTML Email?

2017-11-16 Thread Sujit Shah via 4D_Tech
There are a number of HTML email validators from freebie ones to
sophisticated ones like Litmus. They can check for errors and mail client
compatibility as well.

Have you tried them. I would start with

http://www.htmlemailcheck.com




On Fri, Nov 17, 2017 at 9:08 AM, bob.miller--- via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi All,
>
> I've sent a lot of email generated by 4D over the years, but it is time to
> up the game and send crisper looking stuff.  So I've been playing with
> sending HTML.
>
> The problem is that when the email arrives, it displays all the tags in
> the mail client!  For some reason, the mail client (I've tried several)
> doesn't "know" that the email is to be displayed in HTML.  Other emails
> are displayed in HTML (just not mine), so I know it is not a mail client
> setting to render all email as text only.
>
> I've tried a variety of headers (I've omitted the greater than and less
> than signs so it doesn't mess things up on your display)
>
> html xmlns="http://www.w3.org/1999/xhtml";
>
> meta content="text/html;charset=3DUTF-8" http-equiv="Content-Type" /
>
> and even plain and simple old:
>
> html
>
>
> All produce email that when saved as a text file and viewed in a browser,
> look great.  But when they are received by an email client, look
> like...raw HTML code.
>
> What to do?
>
> Or should I forget about it and use an API to some service?
>
> many thanks,
>
>
> Bob Miller
> Chomerics, a division of Parker Hannifin Corporation
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: List item parent question

2017-11-13 Thread Sujit Shah via 4D_Tech
No

Perhaps an error in code


On Tue, 14 Nov 2017 at 2:19 am, Kirk Brooks via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I'm working with hLists for the first time in a long time. I have a hList
> with 3 hierarchical levels. I select 'this item' at level 3 and want to get
> the Parent.
>
> A
>
> B
>
>   B-sub1
>
>   B-sub2
>
> this item
>
>   B-sub3
>
> C
>
> D
>
>
> ​I expect the parent is B-sub2. List item parent returns the parent as B.​
>
> I verified there are unique itemRef values for all the list items and this
> is v15.5. ​
>
> ​Is this expected behavior?
> ​​
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
>
> *- Edmund Burke*
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SET UPDATE FOLDER

2017-11-09 Thread Sujit Shah via 4D_Tech
Thanks Tim

Still too old fashioned I guess - Sometimes I just want an earthly being to
answer my question :-)

Yes so the cmd line syntax is

 nircmd.exe win close class "CabinetWClass"

Which closes all explorer windows. (not ideal)

so there is another more specific syntax:

nircmd.exe win close title "MyAppFolder"

That is really it.

As you said a copy of the nircmd should be included in the resources
folder. Set path name to it and LEP.

Very neat. Thanks for the tips.

Now I need to see how this update process works on a Mac.   There are some
apple scripts that close finder windows. But will get there when I get
there...





On Fri, Nov 10, 2017 at 7:28 AM, Tim Nevels via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> On Nov 9, 2017, at 2:00 PM, Sujit Shah wrote:
>
> > Sorry, I mean the original application folder. So if C:\4DAPP Folder is
> > open in explorer the Update is not able to replace the files in that
> > folder.
>
> I know exactly what you are talking about. The 4D updater script or batch
> file is doing a rename or a delete on the folder and the Windows Explorer
> has that folder locked because there is a window open to that folder.
>
> The solution is to just make sure that folder's window is closed before
> you start the update process. While I have not done this exact thing, a
> little Googling on "how to close a windows explorer window from command
> prompt” provided some answers.
>
> It can be done, and there are several possible ways. Some work only on
> older version of Windows. Some work if you have certain registry entries
> set. Appears to be tricky and messy.
>
> http://www.msfn.org/board/topic/138301-how-to-close-a-
> folder-through-cmdbat/
> https://stackoverflow.com/questions/2492/close-
> folders-window-with-batch-file
> https://www.sevenforums.com/general-discussion/197707-how-
> do-i-close-opened-folder-run-command-prompt.html
>
> From my very quick googling it appears the answer is a tool called
> “nircmd.exe”. Execute this: nircmd.exe win close title "some window title”
>
> http://www.nirsoft.net/utils/nircmd.html
>
> Read the docs and spend some time in the Windows command prompt testing
> this until you get it to work. Then you should be able to build a LEP
> command line to make it happen from inside 4D.
>
> Of course you will now have to include the “nircmd.exe” so that it is
> installed and available on the target Windows machine. It looks like you
> don’t have to do a real install to make it work. It can just be included in
> your “Resources” folder and you can execute it from there.
>
> That’s all I have to offer on this. Point you in a direction and see if
> you can get it to work.
>
> I hope if you do get this to work you will post your results here so that
> we can all benefit.
>
> One last point. Google is your friend. Don’t forget that just about every
> Windows problem you run into somebody else has already dealt with it and
> found a solution. So Google it and usually in minutes you will have a
> possible solution or workaround.
>
> Tim
>
> 
> Tim Nevels
> Innovative Solutions
> 785-749-3444
> timnev...@mac.com
> 
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SET UPDATE FOLDER

2017-11-08 Thread Sujit Shah via 4D_Tech
Sorry, I mean the original application folder. So if C:\4DAPP Folder is
open in explorer the Update is not able to replace the files in that
folder.

On Thu, Nov 9, 2017 at 5:54 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> why not create a new folder:
>
> CREATE FOLDER(Temporary folder+Generate UUID+Folder separator;*)
>
> it's only needed for the swapping process.
> when automatic update is over, the old app goes to trash.
>
> > 2017/11/09 14:23、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >
> > Automatic Update of the Merged 4D Application works well except for 2
> > things:
> >
> > - If the install folder is open in Explorer you get an Access Denied
> error.
> > Worse still is at times you have to restart the machine till the conflict
> > is removed.
> >
> > - After RESTART 4D and the application quits there is a 3 to 4 minute
> delay
> > before the application restarts. I can see that a user may panic and try
> > starting the application themselves. Is there a way the user can be given
> > some indicator that the application is restarting?
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SET UPDATE FOLDER

2017-11-08 Thread Sujit Shah via 4D_Tech
Also is there a way that 4D can detect if a folder is opened in explorer..?

On Thu, Nov 9, 2017 at 4:23 PM, Sujit Shah  wrote:

> Automatic Update of the Merged 4D Application works well except for 2
> things:
>
> - If the install folder is open in Explorer you get an Access Denied
> error. Worse still is at times you have to restart the machine till the
> conflict is removed.
>
> - After RESTART 4D and the application quits there is a 3 to 4 minute
> delay before the application restarts. I can see that a user may panic and
> try starting the application themselves. Is there a way the user can be
> given some indicator that the application is restarting?
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

SET UPDATE FOLDER

2017-11-08 Thread Sujit Shah via 4D_Tech
Automatic Update of the Merged 4D Application works well except for 2
things:

- If the install folder is open in Explorer you get an Access Denied error.
Worse still is at times you have to restart the machine till the conflict
is removed.

- After RESTART 4D and the application quits there is a 3 to 4 minute delay
before the application restarts. I can see that a user may panic and try
starting the application themselves. Is there a way the user can be given
some indicator that the application is restarting?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: FTP_Progress

2017-11-01 Thread Sujit Shah via 4D_Tech
Looks like we need to roll our own progress bar by

a) Getting the file size on host/client
b) monitoring the file size of download or upload on host/client

for receive and send..



On Thu, Nov 2, 2017 at 2:21 PM, Sujit Shah  wrote:

> Thanks but how do we monitor the download? How will I know that the
> download is complete?
>
> On Thu, Nov 2, 2017 at 2:16 PM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> the built-in progress bar was retied in Internet Command 64-bits, no
>> progress bar is shown.
>>
>> http://doc.4d.com/4Dv15/4D/15/4D-Internet-Commands-64-bit-ve
>> rsion-for-OS-X.300-2048298.en.html
>>
>> quote:
>>
>> Progress bar
>>
>> The 4D IC 64-bit version for OS X does not display a progress bar when
>> executing time-consuming operations. The FTP_ProgressFTP_Progress command
>> is deprecated in the 64-bit version of OS X.
>> When called in this environment, the command returns error -2201
>> (unimplemented feature).
>>
>> > 2017/11/02 11:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> > Is the progress still shown? What if there is a need to hide the
>> progress bar.
>>
>>
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: FTP_Progress

2017-11-01 Thread Sujit Shah via 4D_Tech
Thanks but how do we monitor the download? How will I know that the
download is complete?

On Thu, Nov 2, 2017 at 2:16 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> the built-in progress bar was retied in Internet Command 64-bits, no
> progress bar is shown.
>
> http://doc.4d.com/4Dv15/4D/15/4D-Internet-Commands-64-bit-
> version-for-OS-X.300-2048298.en.html
>
> quote:
>
> Progress bar
>
> The 4D IC 64-bit version for OS X does not display a progress bar when
> executing time-consuming operations. The FTP_ProgressFTP_Progress command
> is deprecated in the 64-bit version of OS X.
> When called in this environment, the command returns error -2201
> (unimplemented feature).
>
> > 2017/11/02 11:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > Is the progress still shown? What if there is a need to hide the
> progress bar.
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

FTP_Progress

2017-11-01 Thread Sujit Shah via 4D_Tech
In v16 this IC command is obsolete. Still on v15 but what replaces this in
v16.

Is the progress still shown? What if there is a need to hide the progress
bar. It is a bit unclear to me. Anyone using these in v16 would like to
expand on this?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
Try updating Adobe


On Thu, 19 Oct 2017 at 7:43 pm, John Baughman via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> R4
>
> > On Oct 18, 2017, at 10:33 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Which version of 4D?
> >
> > On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> >> Not running 64-bit so I don’t believe Blink is involved, but tried your
> >> suggestion. Still does not work. It loads a blank html or any html for
> that
> >> matter, but not a pdf.
> >>
> >>> On Oct 18, 2017, at 6:10 PM, Keisuke Miyako via 4D_Tech <
> >> 4d_tech@lists.4d.com> wrote:
> >>>
> >>> what if you load a blank HTML page first, and then switch over to PDF?
> >>>
> >>>> Using Blink (Embedded Web rendering engine in 4D 64-bit versions)
> >>>> • WA SET PAGE CONTENT: using this command requires that at least one
> >> page is already loaded in the area (through a call to  WA OPEN URL or an
> >> assignment to the URL variable associated to the area).
> >>>
> >>> source
> >>>
> >>>
> http://doc.4d.com/4Dv16R4/4D/16-R4/Web-areas.300-3330400.en.html#3199104
> >>>
> >>> I know your situation doesn't quite match that of the documentation,
> but
> >> worth a shot...
> >>>
> >>>> 2017/10/19 10:33、John Baughman via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> >>>> Still not being displayed on a mac
> >>>
> >>>
> >>>
> >>> **
> >>> 4D Internet Users Group (4D iNUG)
> >>> FAQ:  http://lists.4d.com/faqnug.html
> >>> Archive:  http://lists.4d.com/archives.html
> >>> Options: http://lists.4d.com/mailman/options/4d_tech
> >>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >>> **
> >>
> >> John Baughman
> >> Kailua, Hawaii
> >> (808) 262-0328
> >> john...@hawaii.rr.com
> >>
> >>
> >>
> >>
> >>
> >> **
> >> 4D Internet Users Group (4D iNUG)
> >> FAQ:  http://lists.4d.com/faqnug.html
> >> Archive:  http://lists.4d.com/archives.html
> >> Options: http://lists.4d.com/mailman/options/4d_tech
> >> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> >> **
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
>
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
Which version of 4D?

On Thu, 19 Oct 2017 at 7:28 pm, John Baughman via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Not running 64-bit so I don’t believe Blink is involved, but tried your
> suggestion. Still does not work. It loads a blank html or any html for that
> matter, but not a pdf.
>
> > On Oct 18, 2017, at 6:10 PM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > what if you load a blank HTML page first, and then switch over to PDF?
> >
> >> Using Blink (Embedded Web rendering engine in 4D 64-bit versions)
> >> • WA SET PAGE CONTENT: using this command requires that at least one
> page is already loaded in the area (through a call to  WA OPEN URL or an
> assignment to the URL variable associated to the area).
> >
> > source
> >
> > http://doc.4d.com/4Dv16R4/4D/16-R4/Web-areas.300-3330400.en.html#3199104
> >
> > I know your situation doesn't quite match that of the documentation, but
> worth a shot...
> >
> >> 2017/10/19 10:33、John Baughman via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >> Still not being displayed on a mac
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
>
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: PDF in Web Area not displaying on a Mac

2017-10-19 Thread Sujit Shah via 4D_Tech
That’s disappointing

Which version of 4D?

Is integrated web kit ticked?

I had a similar issue but don’t remember what fixed it.


On Thu, 19 Oct 2017 at 7:11 pm, John Baughman via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I just checked and on my mac I did not have the adobe plug-in in the
> User’s library  folder but it was in the System Library folder. I removed
> it from the system library folder and the 4D Web Area still does not
> display a pdf. Also tried putting it in the Users library to no avail.
>
>
> > On Oct 18, 2017, at 9:01 PM, Ortwin Zillgen via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > while Acrobat Reader was relevant on macOS, it planted itself as the
> default PDF-viewer inside a WebBrowser. That didn't work well with 4D
> webarea. As far as I remember at a place like this
> > /Users/~/Library/Internet Plug-Ins/acrobatreader.plugin
> > Removing the plugin allowed 4D to display PDFs in plain webarea.
> >
> > On Windows it's the other way around. Acrobat Reader needs to be
> installed, to allow 4D to display PDFs in webarea.
> >
> >
> >
> > Regards
> > O r t w i n  Z i l l g e n
> > -
> >    
> >  
> > member of developer-network 
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> John Baughman
> Kailua, Hawaii
> (808) 262-0328
> john...@hawaii.rr.com
>
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Updater v16

2017-10-11 Thread Sujit Shah via 4D_Tech
So if I include a complete build (using the build application command for
example) the updater will replace the files in the application folder from
the update folder?


On Thu, 12 Oct 2017 at 9:38 am, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> the page links to SET UPDATE FOLDER
>
> http://doc.4d.com/4Dv16R4/4D/16-R4/SET-UPDATE-FOLDER.301-3317772.en.html
>
> which links to the page about automatic update feature
>
>
> http://doc.4d.com/4Dv16R4/4D/16-R4/Automatic-updating-of-server-or-single-user-applications.300-3330296.en.html
>
> when used outside of the context of autoupdating, the RESTART 4D command
> simply restarts 4D.
>
> > 2017/10/11 8:11、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > What does this magical "updater" actually do? what files must be included
> > in the update for it to work. Sorry its not immediately clear.
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Updater v16

2017-10-10 Thread Sujit Shah via 4D_Tech
The manuals say

"in the application in production, call the RESTART 4D
 command:
this command triggers execution of a utility program named "updater" that
exits the current application, replaces it using the "pending" update if
one is specified, and restarts the application with the current data file.
The former version is renamed."

What does this magical "updater" actually do? what files must be included
in the update for it to work. Sorry its not immediately clear.

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Yeah Sure. But the field spacing is way off and a realignment and
repositioning is inevitable.

On Tue, Oct 10, 2017 at 3:53 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> keep in mind that since v13,
>
> you can find in design your "default" stylesheet and replace it with
> "Automatic".
>
> it's how 4D replaced all its internal dialogs.
>
> > 2017/10/10 13:34、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > An easy sprint or 2 for the
> > hundreds of forms in the DB.
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
I think I am going to bite the bullet and do as Keisuke suggests. Testing
it I found the User experience is way better..  An easy sprint or 2 for the
hundreds of forms in the DB.

On Tue, Oct 10, 2017 at 3:12 PM, Wayne Stewart via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi,
>
> I guess that's not a major concern for me.
>
>
> Regards,
>
> Wayne
>
>
> [image: --]
> Wayne Stewart
> [image: http://]about.me/waynestewart
> 
>
>
> On 10 October 2017 at 14:56, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > > 2017/10/10 12:41、Wayne Stewart via 4D_Tech <4d_tech@lists.4d.com>
> のメール:
> > > <>WGD_o.Font:=New object
> > > <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
> >
> > as I mentioned in my other post,
> >
> > changing the font according to what you get from this,
> > or any other ways to obtain the system font name,
> > is going to fail when the app starts to display and accept text outside
> > the latin alphabet.
> >
> > but of course, that may not be your concern at all.
> > in that case, I have no reasons to stop you.
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
SO you don't use the property list to set the stylesheets?

On Tue, Oct 10, 2017 at 2:41 PM, Wayne Stewart via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi,
>
> What I do is open a form on startup in a window outside etc screen
> boundary.
>
> On that form I have one variable set to Automatic.
>
> In the On load method I call:
>
> <>WGD_o.Font:=New object
> <>WGD_o.Font.Name:=OBJECT Get font(*;"auto")
>
> In this particular example <>WGD_o is an application wide IP object that I
> use to stuff things in.
>
> I then have the name to be used for the system font available for
> calling thought the system.
>
> Cheers,
>
> Wayne
>
>
>
>
> Regards,
>
> Wayne
>
>
> [image: --]
> Wayne Stewart
> [image: http://]about.me/waynestewart
> <http://about.me/waynestewart>
>
>
> On 10 October 2017 at 14:32, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> > Thanks for your input. The standard Automatic font for data input is
> rather
> > nice - I must say. Gives the interface a nice uncluttered look and I am
> > sure an enhanced data entry experience.  Something that users using web
> > applications will be familiar with. A lot of "old style" 4D applications
> > are cluttered with lots of fields packed together. Obviously with size 13
> > fonts the screen real estate has to be redesigned to accomodate all the
> > fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> > waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
> > and just use web areas for all forms..
> >
> > :-)
> >
> >
> >
> >
> > On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> > 4d_tech@lists.4d.com> wrote:
> >
> > > no,
> > >
> > > it simply means that the form is specifically designed.
> > >
> > > https://developer.apple.com/macos/human-interface-
> > > guidelines/visual-design/typography/
> > >
> > > > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > > >
> > > > "Automatic style sheets manage the font as well as its size and
> color"
> > > >
> > > > However, when I apply the "Automatic" style sheet I get a System Font
> > 13
> > > > for fields and variables which is way too large for the form design I
> > > have.
> > > > Does this mean I have to redesign all the forms?
> > >
> > >
> > >
> > > **
> > > 4D Internet Users Group (4D iNUG)
> > > FAQ:  http://lists.4d.com/faqnug.html
> > > Archive:  http://lists.4d.com/archives.html
> > > Options: http://lists.4d.com/mailman/options/4d_tech
> > > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > > **
> > >
> >
> >
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Nice tips here..

https://mono.company/journal/design-practice/the-10-commandments-of-good-form-design-on-the-web/


On Tue, Oct 10, 2017 at 2:32 PM, Sujit Shah  wrote:

> Thanks for your input. The standard Automatic font for data input is
> rather nice - I must say. Gives the interface a nice uncluttered look and I
> am sure an enhanced data entry experience.  Something that users using web
> applications will be familiar with. A lot of "old style" 4D applications
> are cluttered with lots of fields packed together. Obviously with size 13
> fonts the screen real estate has to be redesigned to accomodate all the
> fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
> waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
> and just use web areas for all forms..
>
> :-)
>
>
>
>
> On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> no,
>>
>> it simply means that the form is specifically designed.
>>
>> https://developer.apple.com/macos/human-interface-guidelines
>> /visual-design/typography/
>>
>> > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
>> >
>> > "Automatic style sheets manage the font as well as its size and color"
>> >
>> > However, when I apply the "Automatic" style sheet I get a System Font 13
>> > for fields and variables which is way too large for the form design I
>> have.
>> > Does this mean I have to redesign all the forms?
>>
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Thanks for your input. The standard Automatic font for data input is rather
nice - I must say. Gives the interface a nice uncluttered look and I am
sure an enhanced data entry experience.  Something that users using web
applications will be familiar with. A lot of "old style" 4D applications
are cluttered with lots of fields packed together. Obviously with size 13
fonts the screen real estate has to be redesigned to accomodate all the
fields. Perhaps by means of tabs (multiple pages or scroll bars). I am
waiting for the true elastic bootstrap 4D UI or perhaps I should not wait
and just use web areas for all forms..

:-)




On Tue, Oct 10, 2017 at 2:03 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> no,
>
> it simply means that the form is specifically designed.
>
> https://developer.apple.com/macos/human-interface-
> guidelines/visual-design/typography/
>
> > 2017/10/10 10:57、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >
> > "Automatic style sheets manage the font as well as its size and color"
> >
> > However, when I apply the "Automatic" style sheet I get a System Font 13
> > for fields and variables which is way too large for the form design I
> have.
> > Does this mean I have to redesign all the forms?
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Does this also explain the problem I have with retina displays?

On Tue, Oct 10, 2017 at 12:57 PM, Sujit Shah  wrote:

> I see from http://doc.4d.com/4Dv16/4D/16.1/Automatic-style-
> sheets.300-3373396.en.html
>
> "Automatic style sheets manage the font as well as its size and color"
>
> However, when I apply the "Automatic" style sheet I get a System Font 13
> for fields and variables which is way too large for the form design I have.
> Does this mean I have to redesign all the forms?
>
> :-(
>
>
>
> On Tue, Oct 10, 2017 at 11:46 AM, Keisuke Miyako via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> on the use of system font:
>>
>> the only correct (that is, intended) way to use the system font in 4D is
>> to use it indirectly with the automatic stylesheet feature.
>>
>> it is NOT recommended to use "system font" via the default stylesheet, or
>> any stylesheet, except the automatic stylesheet, or change an object's font
>> to "system font" using OBJECT SET FONT. all these features simply reference
>> the font by its name, but the system font is not just another font name, it
>> is more than that.
>>
>> from a technical point of view, it is resolved via the Theme API on
>> Windows
>> https://msdn.microsoft.com/en-us/library/windows/desktop/bb7
>> 73210(v=vs.85).aspx
>> and CoreText API on macOS.
>> https://developer.apple.com/documentation/coretext/ctfont?language=objc
>>
>> the system font is rendered according to context, that is, the control
>> (form object) type, its size (notably its height) the screen DPI on Windows
>> and even the language or languages that appear in the text. if you simply
>> apply the SF font like any other font, you won't get the full benefit of
>> the system font feature.
>>
>> it is a hidden font name, with a dot prefix. one way to use it (defying
>> the designer's intent) is to create an HTML with the CSS style (you can
>> find ways to do that on the internet), open it in a web browser, copy and
>> paste the text (with style) to an editor (iWorks, TextEdit, anything), and
>> then register that font in the system font panel as a favourite. once you
>> know its hidden name, you can use it in 4D as well. but it won't behave the
>> same way as the system font let alone the automatic stylesheet, you are
>> intentionally using a static subset of those dynamic features against the
>> designer's intent.
>>
>>
>>
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
I see from
http://doc.4d.com/4Dv16/4D/16.1/Automatic-style-sheets.300-3373396.en.html

"Automatic style sheets manage the font as well as its size and color"

However, when I apply the "Automatic" style sheet I get a System Font 13
for fields and variables which is way too large for the form design I have.
Does this mean I have to redesign all the forms?

:-(



On Tue, Oct 10, 2017 at 11:46 AM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> on the use of system font:
>
> the only correct (that is, intended) way to use the system font in 4D is
> to use it indirectly with the automatic stylesheet feature.
>
> it is NOT recommended to use "system font" via the default stylesheet, or
> any stylesheet, except the automatic stylesheet, or change an object's font
> to "system font" using OBJECT SET FONT. all these features simply reference
> the font by its name, but the system font is not just another font name, it
> is more than that.
>
> from a technical point of view, it is resolved via the Theme API on Windows
> https://msdn.microsoft.com/en-us/library/windows/desktop/
> bb773210(v=vs.85).aspx
> and CoreText API on macOS.
> https://developer.apple.com/documentation/coretext/ctfont?language=objc
>
> the system font is rendered according to context, that is, the control
> (form object) type, its size (notably its height) the screen DPI on Windows
> and even the language or languages that appear in the text. if you simply
> apply the SF font like any other font, you won't get the full benefit of
> the system font feature.
>
> it is a hidden font name, with a dot prefix. one way to use it (defying
> the designer's intent) is to create an HTML with the CSS style (you can
> find ways to do that on the internet), open it in a web browser, copy and
> paste the text (with style) to an editor (iWorks, TextEdit, anything), and
> then register that font in the system font panel as a favourite. once you
> know its hidden name, you can use it in 4D as well. but it won't behave the
> same way as the system font let alone the automatic stylesheet, you are
> intentionally using a static subset of those dynamic features against the
> designer's intent.
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
As always thanks for the confirmation


On Tue, 10 Oct 2017 at 9:32 am, Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> You can use any size.
>
> --
> Jeffrey Kain
> jeffrey.k...@gmail.com
>
>
>
>
> > On Oct 9, 2017, at 6:30 PM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Thanks for the insight. The system font on Mac Appears small (says size
> > 10). Can the size be increased to 11? Will each user need to add a size
> to
> > the font library? It seems to be working for me without adding one. But
> > that does not mean it will work on all Macs.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Thanks for the insight. The system font on Mac Appears small (says size
10). Can the size be increased to 11? Will each user need to add a size to
the font library? It seems to be working for me without adding one. But
that does not mean it will work on all Macs.

On Tue, Oct 10, 2017 at 8:23 AM, Spencer Hinsdale via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Here's how to get font and something about style sheet "automatic":
>
> http://kb.4d.com/resources/inug?msgid=GmailId15d3951d31795686 <
> http://kb.4d.com/resources/inug?msgid=GmailId15d3951d31795686>
>
> I don't know from "Default" but I do vaguely recall having boxes for 95,
> 2000, and XP.  :)
>
> > On Oct 9, 2017, at 1:46 PM, Jeffrey Kain via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > In my experience, the Default style sheet doesn't work correctly. On El
> Capitan and Sierra, it uses the Yosemite system font no matter what. But if
> you make a new style sheet that refers to "System Font" you'll end up the
> correct font on each OS. Not sure why "Default" doesn't work properly... I
> never really dug into it.
> >
> > Keep in mind that the Yosemite system font is significantly wider than
> its successors.
> >
> > --
> > Jeffrey Kain
> > jeffrey.k...@gmail.com
> >
> >> On Oct 9, 2017, at 4:28 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >>
> >> My thinking has been to use the “Default “ style sheet and explicitly
> set
> >> it to the prevailing system font on both platforms. However, the
> stylesheet
> >> editor has only one setting for macOS and some obsolete windows OS.
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
So you are implying that I should set all style sheets to the system font

My thinking has been to use the “Default “ style sheet and explicitly set
it to the prevailing system font on both platforms. However, the stylesheet
editor has only one setting for macOS and some obsolete windows OS.

I guess I have to figure out how to change all objects to system globally.











On Tue, 10 Oct 2017 at 2:51 am, Ortwin Zillgen via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> > Still does not explain why I cannot see the SF font in the fonts library.
>
> you'll find them starting here
> 
> and end of list
> 
>
>
> > All tge objects are set to the “default “ style sheet set to Segoi UI for
> > Windows and Lucida Grande for MacOs
> >
> > I will avoid System Font as the user can manipulate this.
>
> you know, this is 1990-ies style of UI.
> Stick with system font, 4D supports that. The customer dependent fonts
> should be those for printing, only.
>
>
> Regards
> O r t w i n  Z i l l g e n
> -
>    
>  
> member of developer-network 
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: San Fransisco Font

2017-10-09 Thread Sujit Shah via 4D_Tech
Hmm

Still does not explain why I cannot see the SF font in the fonts library.

All tge objects are set to the “default “ style sheet set to Segoi UI for
Windows and Lucida Grande for MacOs

I will avoid System Font as the user can manipulate this.


On Mon, 9 Oct 2017 at 8:46 pm, Jeffrey Kain via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Sujit-
>
> You need to refer to it in your style sheets as “System Font.”
>
> > On Oct 9, 2017, at 1:09 AM, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
> >
> > Does the SF font replace Lucida Grand on macOS Sierra? If so I don't seem
> > to find it on my Mac?
> >
> > Has SF become the standard default font for macOS Sierra?
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

San Fransisco Font

2017-10-08 Thread Sujit Shah via 4D_Tech
Does the SF font replace Lucida Grand on macOS Sierra? If so I don't seem
to find it on my Mac?

Has SF become the standard default font for macOS Sierra?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Running PHP scripts from 4D

2017-08-22 Thread Sujit Shah via 4D_Tech
I have a few scripts that run on an Apache server with the relevant SDK. I
can run these scripts manually from the browser. The result "echo" ed to
the console.

Currently, it is run from a Cron Job but I would like to run it on demand
from 4D and return the result.

What would be the best way to achieve this?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Animated Notifcation

2017-08-09 Thread Sujit Shah via 4D_Tech
Great thanks - thats the one

On Thu, Aug 10, 2017 at 3:22 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> did you mean...
>
> > AnotherTip 2.0 is available
> > ———
> >
> > AJAR SA is pleased to announce a new release of the 4D widget :  Another
> Tip 2.0
> >
> > This new release 2.0 adds new animation functionalities.
> >
> > A new revamp Lab is provided, to help you build your tip styles.
> >
> > Another Tip is a 4D component to enhance your 4D Application with a
> modern, beautiful and rich tooltip.
> >
> > Really simple to use and to integrate into your current 4D Application,
> adding a tooltip has never been so easy.
> >
> > To use it, simply write in the target Method Object these three lines of
> code:
> >
> >  C_OBJECT(MyObjectVariable)
> >  OB SET(MyObjectVariable;"tip-display";true)
> >  tip(MyObjectVariable)
> >
> >
> > A full demo, documentation and videos are available here :
> >
> > http://anothertip.ajar.ch/v2/index.html
> >
> > Maurice Inzirillo
> > --
> > AJAR S.A.
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Animated Notifcation

2017-08-09 Thread Sujit Shah via 4D_Tech
I believe someone had developed a component to display JQuery Like
Notifications in 4D using animation and transparency pretty much like:

http://ned.im/noty/#/animations

If someone can recall please send a link Thanks





-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Resetting The Explorer Window - Tip

2017-08-06 Thread Sujit Shah via 4D_Tech
Thanks Allan

You are a wizard!

How on earth one is supposed to know this?

:-)



On Tue, Jul 18, 2017 at 2:20 AM, Douglas von Roeder via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Allan:
>
> Thank you for passing this along.
>
> It's very helpful.
>
> --
> Douglas von Roeder
> 949-336-2902
>
> On Sun, Jul 16, 2017 at 8:32 PM, Allan Udy via 4D_Tech <
> 4d_tech@lists.4d.com
> > wrote:
>
> > Hi All,
> >
> > Here's a quick tip if you suddenly loose the buttons at the bottom of
> your
> > Explorer window, as I did this afternoon -- I couldn't view method
> > Comments  (no Preview/Comments button), nor could I Add [+] or Delete [-]
> > methods etc -- those options were just not available to me.
> >
> > What to do when your development environment goes belly up... and when a
> > computer restart, software restart, and software reinstall don't solve
> the
> > problem?
> >
> > 1. Close the Explorer window
> >
> > 2. Hold the Shift key down, and
> >
> > 3. Select the menu item:   Design >  Explorer >  Methods
> >
> > This has the effect of 'resetting' the size and location of the Explorer
> > window, and thankfully, making the buttons at the bottom of the screen
> > 'magically' reappear.
> >
> > Spent over half an hour trying to find any info about this, and trying to
> > work out where my buttons and options had disappeared to.  Found the
> > solution above by luck, although you could say it was found because of
> > nearly thirty years of experience ;-)
> >
> > Hope this helps someone else sometime.  Still don't know where my buttons
> > went, or why
> >
> > Cheers,
> > Allan Udy
> >
> > Golden Micro Solutions Ltd, Blenheim, New Zealand
> > http://www.golden.co.nz
> >
> >
> >
> >
> >
> >
> > Cheers,
> > Allan Udy
> >
> > Golden Micro Solutions Ltd, Blenheim, New Zealand
> > http://www.golden.co.nz
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: revelation! - Choose

2017-07-06 Thread Sujit Shah via 4D_Tech
I swear I was the first one to invent this...

:-))

Good one!

On Fri, Jul 7, 2017 at 2:45 AM, Chip Scheide via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Thanks to code from Robert Livingston
> I found out about a command I had not known about
> Choose
>
> I love this command
> if anyone does not know about it - read it is so nice to do in  one
> line of code what other wee takes at least5
>
> Chip
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Triggers and modified by fields in roll-your-own user schemes

2017-07-01 Thread Sujit Shah via 4D_Tech
On Sat, 1 Jul 2017 at 8:59 am, Alan Chan via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> MODIFY RECORD won't save record until you click "Save button". The same
> Save_Record Wrapper in Save Button should work without 2nd call. Do I miss
> something?


What Alan said.

When I need to capture other table field or variable values I pack them in
an object with their user ID and record UUID in a separate table or the
same table And then access that in the trigger as needed.



> In fact, this is exactly what we are doing and our app is also evolved
> from v3.
>
> Our wrapper is something like followings
>
> if(new record or modified record)
>
> start transaction and new err call
> validate all fields locally
> if(no error)
> log user \\this is what you do to log user
> end if
> if(no error)
> save record
> end if
>
> if(no error) \\no error in trigger
> validate transaction
> else
> cancel transaction
> end if
> end transaction and end err call
>
> end if
>
> Alan Chan
>
> 4D iNug Technical <4d_tech@lists.4d.com> writes:
> >The best solution I've come up with is to split out setting the
> >Create/Modify action to a separate method. Since this can't run in the
> >trigger it can run in the SAVE_RECORD wrapper and when MODIFY RECORD is
> >used I can call it immediately after. Results in a 'double save' but
> that's
> >no biggie.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Automatic type-ahead on single-column listbox?

2017-06-27 Thread Sujit Shah via 4D_Tech
There are some really nice TA examples on the french forum  also our Man
Keisuke.. I think it is a KB called Address Validation or something
similar. I like the way Keisuke use Styled text to generate double row list
boxes that pretty much look like JS drop downs.


On Wed, Jun 28, 2017 at 12:52 PM, John DeSoi via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> > On Jun 27, 2017, at 8:54 PM, Wayne Stewart via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Have 36 buttons that trigger to the 26 characters and 10 numerals.
> >
> > These are combined into a string and if that text is found (in the
> current
> > sorted column) that line is highlighted.
> >
> > If there is no typing after one second then the buffer is cleared.
>
> I did the same thing years ago for AreaList. But bringing this up again
> makes me wonder if you could make it much nicer now by just putting one
> button and duplicating it on the fly for all the letters and numbers. Maybe
> even a subform (or master form) somehow to make it easy to add to any form.
>
> John DeSoi, Ph.D.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending Emails Quicker?

2017-06-20 Thread Sujit Shah via 4D_Tech
Hi Keisuke

I have never tried this..

But will see how that works



On Wed, Jun 21, 2017 at 10:24 AM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> 4D Internet Commands is not multi-threaded so using multiple processes
> will have no positive effect on speed.
>
> why not use a single process, login once and reuse the same SMTP reference?
>
> for example, commands such as SMTP_Body has a "replace" option.
>
> > 2017/06/21 8:21、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> >
> > Thanks Jim. Due to windows security issues the user can only send these
> > emails from the Client Machine. It seems to really slow down their
> computer
> > when distributed over 3 or 4 processes. It will be interesting to see how
> > much improvement v16 brings in.
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Sending Emails Quicker?

2017-06-20 Thread Sujit Shah via 4D_Tech
Thanks Jim. Due to windows security issues the user can only send these
emails from the Client Machine. It seems to really slow down their computer
when distributed over 3 or 4 processes. It will be interesting to see how
much improvement v16 brings in.



On Wed, Jun 21, 2017 at 2:21 AM, Jim Labos - infobase via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Not sure about the authenticate but what I do is use multiple processes to
> send out. There is the added work to keep track of what has gone out and
> divide the selections for each process but it does enable one to send out
> faster.
>
> Note also that your outgoing email server may have a maximum of emails it
> allows per second. Also do not think that if you have 10 processes your
> emails will go out 10 times faster. I have not timed it but there seems to
> be a diminishing returns depending on the total number of emails to send.
>
> I generally have a maximum of 5,000 emails per process when there are more
> than 20,000. I keep the number of processes under 10 and generally only
> need
> 4 or 5.
>
> Cheers
>
> Jim Labos - infobase
>
>
>
> -
> Jim Labos - infobase
> --
> View this message in context: http://4d.1045681.n5.nabble.
> com/Sending-Emails-Quicker-tp5752683p5752694.html
> Sent from the 4D Tech mailing list archive at Nabble.com.
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Sending Emails Quicker?

2017-06-19 Thread Sujit Shah via 4D_Tech
I would like to send merged emails to several recipients.

atm this is how i do it

For($i;1;$lRecipients)

- Open New SMTP Connection
- Set the Body, Subject, To, From
- Authenticate with Outgoing mail server
- Merge the tags in the Body Dear John, Dear Renu etc And Set the SMTP_Body
- Send
- Clear the connection

End For

But this is taking too long. Can you Authenticate once and send several
emails through that same connection?

Note I cannot use CC, BCC as each body is different.

Perhaps there is a gap in my understanding...



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Managing AV Vendors

2017-06-02 Thread Sujit Shah via 4D_Tech
Recently I have seen a growing number of support issues where the AV
software blocks the program or simply deletes the application folder itself
identifying it as a virus. The ones I have had most problems with are
Norton  and a Trend Micro. I submit my builds to them get it white listed
 but this has not helped much either.

All my builds are signed by Comodo but that only removes one of many
windows installation alerts.

I am not sure what makes other applications safe but not mine.

Is there anything else I can do?


-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Web Areas On Form Page >1

2017-05-30 Thread Sujit Shah via 4D_Tech
I have web areas on a multi page layout each with its own variable. Works
well for me. There was a Kirk - Mayako iNUG message exchange on this and I
am not sure now what made it work for me.



On Wed, 31 May 2017 at 8:00 am, Keith Goebel via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Actually, the variable names are all the same - it is the object names
> that are different.
>
> > Using 4D v15.2 Win we have forms with 7 or 8 web areas on different
> pages - all work fine.
> > I can’t get at the code at the moment but I think I just made sure each
> web area had a different variable name.
> > If that’s not it, I’ll send another message.
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Favorite tricks and keystrokes: Please take one and leave on

2017-05-27 Thread Sujit Shah via 4D_Tech
Did not put a cancel or accept button on a form and close box event not
handled

- debug
- type cancel in debugger

( in fact you can type a few things in the debugger )
😜


On Sun, 28 May 2017 at 3:05 am, Douglas von Roeder via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Steve:
>
> R2 works with the default shortcuts keys so 4D might have just stopped
> supporting the shortcut that I stumbled across.
>
> I *do* like how it works - if something's selected, Ctrl-k will go to its
> definition but if nothing's selected, Ctrl-k opens the Explorer.
>
> --
> Douglas von Roeder
> 949-336-2902
>
> On Sat, May 27, 2017 at 9:27 AM, Stephen J. Orth via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Doug,
> >
> > Obviously I misspoke, V16R3 is still in beta.  Also, as you pointed out,
> > R3 also does not open the Explorer when on a blank line.
> >
> > I'm curious if anyone has filed a bug report?
> >
> >
> > Steve
> >
> >
> > -Original Message-
> > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Stephen
> > J. Orth via 4D_Tech
> > Sent: Saturday, May 27, 2017 11:15 AM
> > To: '4D iNug Technical' <4d_tech@lists.4d.com>
> > Cc: Stephen J. Orth 
> > Subject: RE: Favorite tricks and keystrokes: Please take one and leave on
> >
> > Doug,
> >
> > Well, V16R2 is still beta and not sure if that is why?
> >
> >
> > Steve
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> >
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: OBJECT SET ENABLED

2017-05-10 Thread Sujit Shah via 4D_Tech
On Thu, May 11, 2017 at 10:02 AM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> out of interest,
> why would you want to over-ride the enabled/disabled state of an object
> with standard action?
>

Next Page, Previous Page for example:

http://www.fortuna.com.au/4D_issues/license-activation.png






>
> B.T.W.
>
> until v13, automatic (a.k.a. standard action) objects needed to have an
> associated variable.
> since v14, they work with form-local variables, which implied that they
> now identify themselves by names.
> (but you say they worked in v15, so I guess that does not tell the full
> story)
>
>
I was only mentioning the difference with Obsolete Command ENABLE/ DISABLE
BUTTON



> it depends on how you manage your automatic action objects,
> but perhaps you could dynamically change their behaviour with OBJECT SET
> ACTION
>
> http://doc.4d.com/4Dv16R3/4D/16-R3/OBJECT-SET-ACTION.301-3218605.en.html
>
>

Nice I learnt another 4D command today!



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

OBJECT SET ENABLED

2017-05-09 Thread Sujit Shah via 4D_Tech
Just got bit by this

OSE no longer works on buttons which have an automatic action.
ENABLE/ DISABLE BUTTON did

In fact I can get the obsolete function to work in v15 but not OSE.

So in addition to changing DISABLE/ ENABLE BUTTON to OSE you also need to
handle the automatic action somewhere else

Hmm

(Sorry if I have missed this previously..)



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

POST CLICK on highlight button

2017-05-08 Thread Sujit Shah via 4D_Tech
I find a POST CLICK on a highlight button does not put the button in
highlight. A normal click does.

I can trap the object event so it definitely does click the button.



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: QR code

2017-04-26 Thread Sujit Shah via 4D_Tech
Check Miyako GitHub as well


On Wed, 26 Apr 2017 at 6:33 pm, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>
wrote:

> Check out the barcode plugin from HM Plugins
> https://www.hmplugins.com/en/hmBarcode/Features-133.html
>
> On 26 April 2017 at 09:23, Paul Lovejoy via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> > Hi,
> >
> > I spent some time on the partner section looking but I couldn’t find
> > anything on QR codes. Does anything exist to produce these things?
> >
> > Thanks in advance,
> >
> >
> > Paul
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
>
>
>
> --
> *
> CatBase - The Database Publishing Solution
> tel: +44 (0) 207 118 7889
> w: http://www.catbase.com
> skype: pat.bensky
> *
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
I think you can LEP as well. But this will do me for now.

On Wed, Apr 26, 2017 at 1:54 PM, Sujit Shah  wrote:

>
>
> On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>> There's Current machine
>>  but
>> that may not be an "ID".
>>
>> http://doc.4d.com/4Dv16/4D/16/Current-machine.301-3035973.en.html
>>
>>
>>
>
>  That gives me computer name not ID as you said..
>
> :-)
>
>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> There's Current machine
>  but
> that may not be an "ID".
>
> http://doc.4d.com/4Dv16/4D/16/Current-machine.301-3035973.en.html
>
>
>

 That gives me computer name not ID as you said..

:-)





-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
When 4D does not provide a command look at Miyako's GitHub treasure of gold

https://github.com/miyako/4d-plugin-media-access-control



On Wed, Apr 26, 2017 at 1:46 PM, Douglas von Roeder via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> There's Current machine
> <http://doc.4d.com/4Dv16/4D/16/Current-machine.301-3035973.en.html> but
> that may not be an "ID".
>
> http://doc.4d.com/4Dv16/4D/16/Current-machine.301-3035973.en.html
>
> --
> Douglas von Roeder
> 949-336-2902
>
> On Tue, Apr 25, 2017 at 8:23 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Which 4D command returns the machine ID?
> >
> > Was there one?
> >
> > TIA
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Machine ID

2017-04-25 Thread Sujit Shah via 4D_Tech
Which 4D command returns the machine ID?

Was there one?

TIA

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Screen Redraw Issues v15.1

2017-04-25 Thread Sujit Shah via 4D_Tech
Has anyone been able to resolve this or is it just me. I am seeing this in
15.3 as well.

On Tue, Apr 19, 2016 at 9:55 AM, Sujit Shah  wrote:

> I am having numerous screen redraw issues especially where subforms are
> used. Parts of the subform are replicated on other pages.
>
> I am not sure if it occurs in compiled yet but will revert.
>
>
> http://www.fortuna.com.au/4D_issues/v15-screenRedrawissues.png
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Top Menu Vs Sidebar (Web Applications)

2017-04-19 Thread Sujit Shah via 4D_Tech
Thanks

I am most likely to start with an admin bootstrap template

Metronic from keen looks very popular

Any suggestions?
On Thu, 20 Apr 2017 at 12:15 am, Kirk Brooks via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Sujit,
>
> Another factor here is whether your app will be used on mobile devices or
> not.
>
> When I'm building forms for use in web areas or my audience is primarily
> going to be using a latptop or larger I like nav bars and sidebars for the
> reasons other folks have mentioned. But if it's going to be accessed on a
> mobile device I use top nav bars and stay away from sidebars unless it's a
> very thin column of icons or something of the like. I also make it a point
> to use a reactive display framework. I'm happy with Bootstrap but it's not
> the only one.
>
> My thoughts on this generally are:
>
> build your app so that the data and display are independent (then it
> matters less what you use to make it look nice and it's easier to change)
> never, never write 4D code to create html (use 4D tags or better html side
> tools)
> look at it on your phone once in a while as you work - just because
>
>
> I think users generally could care less about what design format we are
> using (not talking advertising or landing pages here). What they do care
> about is being able to get their work done and that means making the
> interface easy to use and understand.
>
> On Tue, Apr 18, 2017 at 3:42 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > I have read a bit about the pros and cons of a Top Menu layout vs Sidebar
> > Layout. A lot of popular web applications like Xero, Salesforce use Top
> > Menus.
> >
> > Gmail is of course using a sidebar.
> >
> > For me a sidebar offers a lot more flexibility (accordion) without using
> > several levels of menus and submenus at the top.
> >
> > Then there is the user expectations. Anyone have any advise, tips or
> > thoughts on this?
> >
> >
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
>
> *- Edmund Burke*
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Top Menu Vs Sidebar (Web Applications)

2017-04-18 Thread Sujit Shah via 4D_Tech
I have read a bit about the pros and cons of a Top Menu layout vs Sidebar
Layout. A lot of popular web applications like Xero, Salesforce use Top
Menus.

Gmail is of course using a sidebar.

For me a sidebar offers a lot more flexibility (accordion) without using
several levels of menus and submenus at the top.

Then there is the user expectations. Anyone have any advise, tips or
thoughts on this?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Questions about the 'Sum' function

2017-04-12 Thread Sujit Shah via 4D_Tech
Just recalling the term series from memory. Something I read in the manual.
My understanding is a selection or array i think it works for both.

Not in front of computer so not 100% sure.
On Wed, 12 Apr 2017 at 9:34 pm, Peter Jakobsson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> On 12 Apr 2017, at 13:29, Sujit Shah via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> > Sum has always worked on a series
>
> Thanks Sujit. But what’s the definition of a ‘series’ ?
>
> Does a field from a current selection qualify as a ‘series’ ?
>
> Peter
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Questions about the 'Sum' function

2017-04-12 Thread Sujit Shah via 4D_Tech
Perhaps you are confusing it with subtotal?

Sum has always worked on a series

E&OE


On Wed, 12 Apr 2017 at 9:22 pm, Peter Jakobsson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi
>
> Occasionally I’d like to use the “Sum” function on a current selection but
> am hesitant because of distant memories of it only being supported in
> certain circumstances (e.g. in reports, on single user.not client server
> etc).
>
> Do people use this outside of a report context and on any current
> selection ? e.g. can you safely just do this…
>
> QUERY([INVOICE];[INVOICE]customer=2)
> $total:=Sum([INVOICE]amount)
>
> Is anyone aware of any circumstance where this won’t work ?
>
> Thanks in advance !
>
> Peter
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Replacing - OAuth.bundle

2017-04-12 Thread Sujit Shah via 4D_Tech
Thank god there are still some people who find websites and web
applications non ituitive. But GitHub is used by millions so you cannot
really argue.

;-)

On Wed, 12 Apr 2017 at 4:38 am, Kirk Brooks via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Clive,
>
> I'm reading this and thinking you're asking for a little assistance dealing
> with github's interface. It is a bit obtuse if you're coming to it from a
> 4D perspective and haven't worked with it before.
>
> If you follow this link:
>
> https://github.com/miyako
>
>
> it takes you to Miyako's github account. From here you can search or browse
> for the specific repositories you want.
>
> When you find one, 4d-plugin-curl, for example, click on it - you don't
> need to go any deeper. You will see a green button labeled 'Clone or
> download' on the upper right hand side.
>
> Click it and choose Download ZIP.
>
> This will download the entire repo. Depending on exactly what's in it there
> may be a lot of material you won't need. Don't worry about it. Unzip it and
> look around in the contents until you find the plugin. Sometimes this might
> be inside of an example database package.
>
> Move it to your working directory and you can delete the rest.
>
> Hope this helps.
>
> On Tue, Apr 11, 2017 at 9:49 AM, Clive Wilson via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
> > Hi Guys,
> >
> > I'm moving my application from v14 to v16r2 .
> >
> > I have used Miyako's OAuth.bundle extensively for exchanging data with
> > remote systems.Using OAuth and JSON.
> > This bundle is being deprecated and the version that I have been using
> has
> > a modified date of Oct 2012.
> >
> > Miyako has replaced this with a group of plugins - 4d-plugin-zip,
> > 4d-plugin-curl, 4d-plugin-common-crypto, 4d-plugin-json.
> > These are all on GITHub.
> >
> > My question is not strictly 4D, but I really need help on this.
> > How do you convert downloaded (from GITHub) into "xxx.bundle"  files that
> > I can replace the old "OAuth.bundle" with.
> > Or, where can I get the "xxx.bundle" 's for 4d-plugin-zip,
> 4d-plugin-curl,
> > 4d-plugin-common-crypto, 4d-plugin-json.
> >
> > Thanks
> > Clive Wilson
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
>
> *- Edmund Burke*
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Listbox row select

2017-04-06 Thread Sujit Shah via 4D_Tech
I am getting 2 different row highlight (colors)

- When row is selected indirectly LISTBOX SELECT ROW (grey)
- When row is directly clicked (blue)

Once it is blue it remains that way.

Wondering is this is a feature or something wrong in my code.



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Google Address Lookup/ Autocomplete

2017-04-05 Thread Sujit Shah via 4D_Tech
It's a shame that Geonames.org could not develop further. Has a very simple
web service API but does not go beyond city names.

I will have a closer look at the google pricing - I thought I was well
within the threshold

Thanks for your tips and posts as always.
On Thu, 6 Apr 2017 at 12:50 am, Kirk Brooks via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Sujit,
> A couple of things about addresses to be aware of when using google. First
> is google doesn't validate an address. Think navigation. If my primary
> interest is getting TO a place I'm not worried about delivering the mail or
> whether the address is correct. I only care about figuring out where it
> should be. That's what google does. You can't depend on google for
> confirmation a given address actually exists - only where it should be if
> it does exist. Same goes with the zip code and such. Granted they are
> pretty good but it's not their primary goal.
>
> The second thing is they get a little pricey if you do anything beyond open
> a map in a browser window.
>
> We do a lot of address verification. Google is good for looking at a
> location, like job locations, especially when the job might be someplace
> that doesn't have street names yet (housing tracts). But you can't send the
> bill there. For those addresses you need a better service. I like
> SmartyStreets but there are lot of others.
>
> On Tue, Apr 4, 2017 at 5:39 PM, Sujit Shah via 4D_Tech <
> 4d_tech@lists.4d.com
> > wrote:
>
> > I am wondering if anyone has developed code to integrate with their API
> > within the context of a 4D Form?
> >
> >
> >
> > --
> >
> > xxx
> > "There must be ingenuity as well as intention, strategy as well as
> > strength. "
> > **
> > 4D Internet Users Group (4D iNUG)
> > FAQ:  http://lists.4d.com/faqnug.html
> > Archive:  http://lists.4d.com/archives.html
> > Options: http://lists.4d.com/mailman/options/4d_tech
> > Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> > **
>
>
>
>
> --
> Kirk Brooks
> San Francisco, CA
> ===
>
> *The only thing necessary for the triumph of evil is for good men to do
> nothing.*
>
> *- Edmund Burke*
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Google Address Lookup/ Autocomplete

2017-04-04 Thread Sujit Shah via 4D_Tech
OK Got it

There are 2 API keys needed one for Google Maps and one for Google Places.

Just for the record..


On Wed, Apr 5, 2017 at 3:41 PM, Sujit Shah  wrote:

> Hmm.. I am able to get the Address Validate to work but not the
> Auto-Complete.
>
> JSON Parse Object is saying: "This API project is not authorised to use
> this API..."
>
> This is using my own key. I have replaced it in both places ie
> Demo_Validate and Demo_Predict
>
> ??
>
>
>
> On Wed, Apr 5, 2017 at 12:32 PM, Sujit Shah  wrote:
>
>> Very good! Thanks.
>>
>> On Wed, Apr 5, 2017 at 11:11 AM, Scott Staley via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>>
>>>
>>> The 4D method user group did a presentation that included an address
>>> validation app using google maps api.  The url to the website page that
>>> includes the 4D sample database is shown below.
>>>
>>>  https://4dmethod.com/2015/07/08/next-meeting-july-30-priority-mail/
>>>
>>> fyi... The sample database uses a key code that has expired.  Google now
>>> requires a key code to access their apis and so you will need to get a
>>> valid
>>> key code to use the sample.
>>>
>>>
>>>
>>>
>>>
>>> --
>>> View this message in context: http://4d.1045681.n5.nabble.co
>>> m/Google-Address-Lookup-Autocomplete-tp5751116p5751117.html
>>> Sent from the 4D Tech mailing list archive at Nabble.com.
>>> **
>>> 4D Internet Users Group (4D iNUG)
>>> FAQ:  http://lists.4d.com/faqnug.html
>>> Archive:  http://lists.4d.com/archives.html
>>> Options: http://lists.4d.com/mailman/options/4d_tech
>>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>>> **
>>
>>
>>
>>
>> --
>>
>> xxx
>> "There must be ingenuity as well as intention, strategy as well as
>> strength. "
>>
>>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Google Address Lookup/ Autocomplete

2017-04-04 Thread Sujit Shah via 4D_Tech
Hmm.. I am able to get the Address Validate to work but not the
Auto-Complete.

JSON Parse Object is saying: "This API project is not authorised to use
this API..."

This is using my own key. I have replaced it in both places ie
Demo_Validate and Demo_Predict

??



On Wed, Apr 5, 2017 at 12:32 PM, Sujit Shah  wrote:

> Very good! Thanks.
>
> On Wed, Apr 5, 2017 at 11:11 AM, Scott Staley via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
>
>>
>> The 4D method user group did a presentation that included an address
>> validation app using google maps api.  The url to the website page that
>> includes the 4D sample database is shown below.
>>
>>  https://4dmethod.com/2015/07/08/next-meeting-july-30-priority-mail/
>>
>> fyi... The sample database uses a key code that has expired.  Google now
>> requires a key code to access their apis and so you will need to get a
>> valid
>> key code to use the sample.
>>
>>
>>
>>
>>
>> --
>> View this message in context: http://4d.1045681.n5.nabble.co
>> m/Google-Address-Lookup-Autocomplete-tp5751116p5751117.html
>> Sent from the 4D Tech mailing list archive at Nabble.com.
>> **
>> 4D Internet Users Group (4D iNUG)
>> FAQ:  http://lists.4d.com/faqnug.html
>> Archive:  http://lists.4d.com/archives.html
>> Options: http://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
>
>
>
>
> --
>
> xxx
> "There must be ingenuity as well as intention, strategy as well as
> strength. "
>
>



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Google Address Lookup/ Autocomplete

2017-04-04 Thread Sujit Shah via 4D_Tech
Very good! Thanks.

On Wed, Apr 5, 2017 at 11:11 AM, Scott Staley via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>
> The 4D method user group did a presentation that included an address
> validation app using google maps api.  The url to the website page that
> includes the 4D sample database is shown below.
>
>  https://4dmethod.com/2015/07/08/next-meeting-july-30-priority-mail/
>
> fyi... The sample database uses a key code that has expired.  Google now
> requires a key code to access their apis and so you will need to get a
> valid
> key code to use the sample.
>
>
>
>
>
> --
> View this message in context: http://4d.1045681.n5.nabble.
> com/Google-Address-Lookup-Autocomplete-tp5751116p5751117.html
> Sent from the 4D Tech mailing list archive at Nabble.com.
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **




-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Google Address Lookup/ Autocomplete

2017-04-04 Thread Sujit Shah via 4D_Tech
I am wondering if anyone has developed code to integrate with their API
within the context of a 4D Form?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: OPEN PRINTING FORM

2017-03-27 Thread Sujit Shah via 4D_Tech
Many thanks


On Tue, 28 Mar 2017 at 12:23 pm, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:

>  FORM LOAD
>
> the command was so useful, it can now be used outside of a printing
> context.
>
> > 2017/03/28 10:04、Sujit Shah via 4D_Tech <4d_tech@lists.4d.com> のメール:
> > I see this command is not available in v15.
> > What is the replacement?
>
>
>
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

OPEN PRINTING FORM

2017-03-27 Thread Sujit Shah via 4D_Tech
I see this command is not available in v15.

What is the replacement?



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Anyone successfully running Sierra on their development machine

2017-03-13 Thread Sujit Shah via 4D_Tech
That's why you have sticky keys on Windows. Keeps everyone busy..


On Mon, 13 Mar 2017 at 1:59 pm, Robert ListMail via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> Hi Kirk, understood, I decided to put the goggles on and go for Sierra and
> will deal with the issues if any. I can still boot from a clone of
> 10.11.6.  Ive not done a clean install in a very long time. It's rather
> interesting to learn exactly where the data resides and how to migrate that
> forward.
>
> So, what about a light oil? Is that too encouraging? :)
>
> R
>
> Sent from my iPhone
>
> > On Mar 12, 2017, at 6:47 PM, Kirk Brooks via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > And don't encourage Tom with respect to any kind of comment involving the
> > word 'lube'. Just don't.
>
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: Can 4D connect to Firebird?

2017-03-07 Thread Sujit Shah via 4D_Tech
Thanks


I think the requirements are to replace  a firebird based desktop solution
with a web interface.

Firebird is a pretty decent sql compliant framework but it does not seem to
have many followers

I will PM you if the project gets the nod


On Tue, 7 Mar 2017 at 5:16 pm, David Samson via 4D_Tech <
4d_tech@lists.4d.com> wrote:

> I have a 4D system that pulls in data from a Firebird database every few
> minutes throughout the day. Has been working for years. I use ODBC for
> which you need the Firebird driver. I use Flamerobin to manage the Firebird
> tables.
>
> If you require more details as to the driver etc. just let me know.
>
>
> > Before I commit to a project I though I will find out if 4D can connect
> to
> > Firebird SQL..
> >
> > David Samson
> Manchester
> UK
> **
> 4D Internet Users Group (4D iNUG)
> FAQ:  http://lists.4d.com/faqnug.html
> Archive:  http://lists.4d.com/archives.html
> Options: http://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Can 4D connect to Firebird?

2017-03-06 Thread Sujit Shah via 4D_Tech
Before I commit to a project I though I will find out if 4D can connect to
Firebird SQL..



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Corrupted Explorer Window

2017-02-16 Thread Sujit Shah via 4D_Tech
The 4D Explorer window has gone all funny on me.

It is displaying in a small area correctly but not maximising.

Tried deleting preferences etc

Did not fix

http://kb.4d.com/assetid=77026



-- 

xxx
"There must be ingenuity as well as intention, strategy as well as
strength. "
**
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**