Re: button clicks

2020-01-30 Thread Keisuke Miyako via 4D_Tech
for listboxes and hierarchical lists, we are should be using On Selection Change for the most part, On Clicked is only useful for detecting a click in the blank region or processing a contextual click. using On Clicked for row selection was the convention reserved for scrollable areas. it worke

Re: button clicks

2020-01-30 Thread Charles Miller via 4D_Tech
I tried enable object first. It has no effect. I cN get Multiple clicks in. I even tried disable object first line of code and enable on click for select in hr list box. Also had no effect. I can get multiple clicks in On Thu, Jan 30, 2020 at 5:14 PM Keisuke Miyako via 4D_Tech < 4d_tech@lists.4

Re: button clicks

2020-01-30 Thread Keisuke Miyako via 4D_Tech
that's not a good example. try If (Form event=On Clicked) ALERT("ouch!") End if click really fast, see how many events you can generate before the modal window blocks the button. 2020/01/31 5:51、Dennis, Neil via 4D_Tech <4d_tech@lists.4d.com>のメール: Run the form c

Re: button clicks

2020-01-30 Thread Keisuke Miyako via 4D_Tech
yes, that is how click events work. similar to keystrokes, the actions are queued. if you have genuine concerns that the user can click multiple time before the object method completes, you can surround the code block with OBJECT SET ENABLED. the appearance will not change (4D only refreshed the

RE: button clicks

2020-01-30 Thread Dennis, Neil via 4D_Tech
> When I click the up or down buttons I find that I can click them a second > time before the code to perform the action has completed. > I would have thought that button clicks were not stacked up until code > underneath has completed. I just created a sample using 4D v18... a one form button w

Re: SDI or MDI

2020-01-30 Thread Tim Nevels via 4D_Tech
On Jan 30, 2020, at 2:00 PM, Paul Dennis wrote: > Seeing an earlier post by Tim. I'm struggling to understand the benefit of > SDI on Windows. I understand on a Mac with the way the menu switches with > the window SDI makes sense. However the windows implementation where the > menu remains with th

Re: 4D Server Spontaneously Sets 'Reject New Connections' To 'Accept..."

2020-01-30 Thread Allan Udy via 4D_Tech
Hi Rikard, Did you ever find a resolution for this? We started to get the exakt same issue you describe a couple of month ago on a customer when upgrading from v13 to v17.0 HF2. 4D then told us to update 17.3 HF2, still same problem. While we no longer have the issue, I'm afraid wecan't actua

button clicks

2020-01-30 Thread Charles Miller via 4D_Tech
Hi All, I have a form which is displaying a listbox. I can select one or more lines on the list box. I also have a button that moves the selected lines up or down so as to finally adjust display order for those records When I click the up or down buttons I find that I can click them a second tim

Re: View Pro - How to protect a sheet

2020-01-30 Thread Scott Staley via 4D_Tech
I found a few knowledge base tips regarding the use of JavaScript to manipulate SpreadJS (the backbone of View Pro) https://kb.4d.com/assetid=78395 for example. I also found the following on the SpreadJS website. var spread = GC.Spread.Sheets.findControl(document.getElementById('ss'

Re: View Pro - How to protect a sheet

2020-01-30 Thread John DeSoi via 4D_Tech
With 4D 18 zip commands and the XML parser, Excel integration is easier than ever. It took very little time to convert CSV only import procedures to also support direct from Excel (xlsx) import. John DeSoi, Ph.D. > On Jan 30, 2020, at 11:40 AM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.

Re: 4D Application as a 3-tier System

2020-01-30 Thread Tim Nevels via 4D_Tech
On Jan 28, 2020, at 3:44 PM, Tom Benedict wrote: > Tim, is this an automatic failover or do you have to down the clients and > make a quick config change or relaunch with a different 4DLink file? Hi Tom, It is currently a manual process to switch to the mirror. But it is certainly something

Re: View Pro - How to protect a sheet

2020-01-30 Thread Douglas von Roeder via 4D_Tech
Scott: Good luck with that. Let us know how it turns out. -- Douglas von Roeder 949-910-4084 On Mon, Jan 27, 2020 at 9:34 PM Scott Staley via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Doug, > > Thanks for the advice. I've used excel since it was created back in about > 1984/85 but wasn't famil

Re: SDI or MDI

2020-01-30 Thread Jody Bevan via 4D_Tech
Paul: The biggest reason for me, are clients that have two monitors on windows. Having the SDI means they can move the windows in our app anywhere they want. With the MDI if they want to use both monitors, they need to drag the MDI window across both windows. Having tried this myself, it just d

Re: 4D Server Spontaneously Sets 'Reject New Connections' To 'Accept..."

2020-01-30 Thread Rikard Sagnér via 4D_Tech
Hi Allan Did you ever find a resolution for this? We started to get the exakt same issue you describe a couple of month ago on a customer when upgrading from v13 to v17.0 HF2. 4D then told us to update 17.3 HF2, still same problem. Customer is running Windows 10 clients and Windows Server 2012

SDI or MDI

2020-01-30 Thread Paul Dennis via 4D_Tech
Seeing an earlier post by Tim. I'm struggling to understand the benefit of SDI on Windows. I understand on a Mac with the way the menu switches with the window SDI makes sense. However the windows implementation where the menu remains with the window does not work for me so I am surprised why peopl