Re: How to Verify Page Setup for a Form?

2020-04-09 Thread Keisuke Miyako via 4D_Tech
when you upgrade to v18, the property will be available in JSON forms (export structure, form convert to json) too. 2020/04/09 23:40、Tom Benedict via 4D_Tech <4d_tech@lists.4d.com>のメール: This is in v17.3 Windows. ***

Re: New Mail Command 17r6

2020-04-03 Thread Keisuke Miyako via 4D_Tech
what if you login to livedoc? https://livedoc.4d.com/ do you still not see extra tabs? > 2020/04/04 6:45、UKVetDerm via 4D_Tech <4d_tech@lists.4d.com>のメール: > v17v6 docs are not available on line. ** 4D Internet Users Group (4D

Re: New Mail Command 17r6

2020-04-03 Thread Keisuke Miyako via 4D_Tech
this is one of those situations where the code is absolutely platform specific. $file:=$1 //target pdf If (Is Windows) SET CURRENT PRINTER(Generic PDF driver) SET PRINT OPTION(Destination option;2;$file.platformPath) Else SET PRINT OPTION(Destination option;3;$file.plat

Re: New Mail Command 17r6

2020-04-03 Thread Keisuke Miyako via 4D_Tech
probably not related, but...shouldn't attachments be a collection? https://doc.4d.com/4Dv18/4D/18/SMTP-transportersend.305-4505974.en.html 2020/04/03 20:32、UKVetDerm via 4D_Tech <4d_tech@lists.4d.com>のメール: $email.attachments:=MAIL New attachment($Fullpath;$Name;"";"

Re: entitySelection.add and USE ENTITY SELECTION

2020-04-02 Thread Keisuke Miyako via 4D_Tech
further information on ACI0100101 17.3 HF2 https://bugs.4d.fr/fixedbugslist?version=17.3_HF2 17.4 https://bugs.4d.fr/fixedbugslist?version=17.4 18 R2 https://bugs.4d.fr/fixedbugslist?branch=18_R2 the build quoted below is from the beta test, the fix was already made in ".0" https://bugs.4d.fr/

Re: Mac LAUNCH EXTERNAL PROCESS permissions issue

2020-04-02 Thread Keisuke Miyako via 4D_Tech
retry: https://imgur.com/yTBkpke 2020/04/03 13:55、Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: https://imgur.com/undefined ** 4D Internet Users Group (4D iNUG) Archive:

Re: Mac LAUNCH EXTERNAL PROCESS permissions issue

2020-04-02 Thread Keisuke Miyako via 4D_Tech
just guessing, but what if you add /usr/bin/tmutil to full disk access? https://imgur.com/undefined ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_

Re: entitySelection.add and USE ENTITY SELECTION

2020-04-02 Thread Keisuke Miyako via 4D_Tech
then perhaps you could quickly test if the code works on desktop (or 17 R4 if you have a copy). if yes, then maybe the network optimisation is too aggressive https://blog.4d.com/improved-performance-up-to-8xs-faster-no-thats-not-a-typo/ https://blog.4d.com/optimize-your-orda-code-with-requests-l

Re: entitySelection.add and USE ENTITY SELECTION

2020-04-02 Thread Keisuke Miyako via 4D_Tech
also, is this code for desktop-standalone or client/server (client-side)? 2020/04/03 10:22、Matt Bollwitt via 4D_Tech <4d_tech@lists.4d.com>のメール: Yes - I've been coding ORDA for several months. Mostly for queries, some forms, and now looking to push deeper into it. I'

Re: Image Export Issues

2020-04-01 Thread Keisuke Miyako via 4D_Tech
only speculating, but maybe the intense creation of BLOBs is saturating or fragmenting the 32-bit cache management of v15. it seems like you don't really need to use a BLOB, you could simply call WRITE PICTURE FILE https://doc.4d.com/4Dv15/4D/15.6/WRITE-PICTURE-FILE.301-3818335.en.html since y

Re: Where Are All The Steppers And Spinners?

2020-04-01 Thread Keisuke Miyako via 4D_Tech
the new documentation site "developer.4d.com" is entirely dedicated to project mode. > 2020/04/02 6:56、Tom Benedict via 4D_Tech <4d_tech@lists.4d.com>のメール: > Is that documented? I’m looking at > https://developer.4d.com/docs/en/FormObjects/stepper.html

Re: [OFF-ish] VirtualBox resize

2020-04-01 Thread Keisuke Miyako via 4D_Tech
I do not use VirtualBox, so this information might be irrelevant, but for my VMWare installation of Windows 10, I needed to use another disk manager software (from EaseUS) to increase the actual partition size. 2020/04/02 9:31、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com

Re: Dll error help

2020-03-28 Thread Keisuke Miyako via 4D_Tech
is not ASINTPPC.dll what is also known as altura mac2win? is it possible that there are multiple version of altura installed on the PC and accessible via $PATH, and that the one shipped with 4D is being overshadowed by an incompatible one? 2020/03/28 18:39、JOHN BAUGHMAN via 4D_Tech <4d_tech@l

Re: Text Editor Which Knows 4D Tags?

2020-03-27 Thread Keisuke Miyako via 4D_Tech
just so you know, language-4dm is for 4D method code (project mode, or METHOD GET CODE with tokens). it is a "tree-sitter" parser, a relatively new type of syntax highlighting. language-4dtag is for 4D code embedded in XML or HTML. this one is a regular type of parser. (regex based). --- ide

Re: v17.4 and UUIDs

2020-03-27 Thread Keisuke Miyako via 4D_Tech
not 100% sure, but maybe the duplicates are actually nulls. if you display the UUID fields in a list form, and resize the window, do the values change? if yes, what you see are phantom UUIDs, there are actually null. I assume you added auto-generating UUIDs, I assume you did this in a v17.4 st

Re: ORDA - NOT(IN)

2020-03-26 Thread Keisuke Miyako via 4D_Tech
remember this discussion? good news! common sense prevails! https://bugs.4d.fr/fixedbugslist?branch=18 #ACI0100614 > 2020/03/04 9:33、Keisuke Miyako のメール: > the inverse of FALSE is TRUE, but the inverse of NULL is NULL. > it's counter-intuitive, but that how NULL works.

Re: Receive packet stop character

2020-03-25 Thread Keisuke Miyako via 4D_Tech
sometimes, it might just be easier to read the entire text with Document to text (which can normalise the EOL character) and process the text afterwards with Match regex or Position. 2020/03/26 13:51、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com>のメール: it is too lat

Re: Barcode

2020-03-20 Thread Keisuke Miyako via 4D_Tech
it seems like on some versions of 4D (for Mac), an invisible character is appended at the end for alignment. that would screw up the barcode data. 2020/03/21 2:01、Lee Hinde via 4D_Tech <4d_tech@lists.4d.com>のメール: But we ended up using hmBarcode because the free fonts

Re: HMAC SHA256 in native 4D code?

2020-03-20 Thread Keisuke Miyako via 4D_Tech
if a single PHP function does not produce results in a format you can use, you might have to encapsulate your call in a script file. 2020/03/21 4:48、Two Way Communications via 4D_Tech <4d_tech@lists.4d.com>のメール: With the ’True’ parameter, the php function returns bin

Re: Gmail, LSA, and OAuth

2020-03-18 Thread Keisuke Miyako via 4D_Tech
less-secure-app is basically synonymous to SMTP. you need to think about sending email without SMTP. --- you can send Gmail (OAuth) with simple HTTP requests. OAuth meaning, you authenticate the account and authorise the app via a trusted browser. https://github.com/4D-JP/4d-tips-google-mail y

Re: Stylesheets and object resizing issues Mac/Win

2020-03-13 Thread Keisuke Miyako via 4D_Tech
I guess the right thing to do is to leave some room for the print maker, forms should not be designed so precisely if there are meant to be cross-platform. what I can say ("been there, done that") is that you should probably not fight against the feature, for example, by adding extra points to t

Re: Stylesheets and object resizing issues Mac/Win

2020-03-13 Thread Keisuke Miyako via 4D_Tech
what you describe is a historic (and imperfect) behaviour of the stylesheets feature. there is no workaround, and you should not expect any fixes ever, because undoing will screw up every form created in the last 15 years. (it started with v2004.2 or thereabouts) basically, what happens is that

Re: DOM EXPORT TO FILE adds CRLF

2020-03-10 Thread Keisuke Miyako via 4D_Tech
the OP is already solved, but on a related topic: as documented, XML SET OPTIONS only applies to newly created elements. https://doc.4d.com/4Dv17/4D/17.4/XML-SET-OPTIONS.301-4882274.en.html so you might ask, what about existing XML documents? --- until v12, there was a trick to use the deprecat

Re: ds.Table.query() field not available

2020-03-09 Thread Keisuke Miyako via 4D_Tech
Hello, When I do a ds.Table.query() using a field/attribute of a non-indexed field, I get an error. that has not been my experience. v18, Client/Server, non-indexed field, ORDA query has always worked just fine. --- are sure definitely sure that indexing is causing the problem? for instance,

Re: Another Signing/Notarization Question

2020-03-07 Thread Keisuke Miyako via 4D_Tech
Hello, in your posts, you say that you "tried to codesign the file as part of the app’s signing process, but haven’t had any luck with that" and that you've "tried several variations of signing the file, but haven’t had any luck." but you do not describe at all, what you did that did not wor

Re: Problem with component

2020-03-04 Thread Keisuke Miyako via 4D_Tech
Hello, I recall there was a terrible bug in v13 where a constants xlf file inside component resources would seriously mess things up for the host. I think it is fixed now. also, it might be worth checking the actual content of the file, that it is using UUID-based IDs, not integer enumerations

Re: Multi-Select Dropdown Menu

2020-03-04 Thread Keisuke Miyako via 4D_Tech
how about a listbox shown on a popup form window? hierarchical list would also work, but the listbox offers more data source options. On Mar 5, 2020, at 9:28, Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> wrote: I’d like to create a UI that supports selecti

Re: Here's a great Mac App for testing and consuming REST services

2020-03-03 Thread Keisuke Miyako via 4D_Tech
Advanced REST client is quite useful too. https://chrome.google.com/webstore/detail/advanced-rest-client/hgmloofddffdnphfgcellkdfbfbjeloo https://install.advancedrestclient.com/install ** 4D Internet Users Group (4D iNUG) Archive

Re: ORDA - NOT(IN)

2020-03-03 Thread Keisuke Miyako via 4D_Tech
one more thing, you could go deeper with $params:=New object("queryPlan";True;"queryPath";True) $esTable_1:=ds.Table_1.query("NOT (Field_2 IN :1)";New collection;$params) which yields {"Not":[{"item":"Constant Value: "}]} as opposed to $params:=New object("queryPlan";True;"queryPath";True) $

Re: 4 Notarize script

2020-03-03 Thread Keisuke Miyako via 4D_Tech
that is right, so if you already have Xcode 9 running on Mojave, you might want to install Xcode 10 in parallel, and use the xcode-select CLI to switch SDKs and toolsets. On Mar 4, 2020, at 7:42, Aparajita Fishman via 4D_Tech <4d_tech@lists.4D.com> wrote: Note that y

Re: ORDA - NOT(IN)

2020-03-03 Thread Keisuke Miyako via 4D_Tech
I do not have any insider knowledge on this particular point, but I would assume that the runtime simply ignores the instruction and return all entities if the collection is empty (length=0), since the condition is the inverse of a "false" statement. matching an empty string is a different equati

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Keisuke Miyako via 4D_Tech
after some tests, here is what I found: if I notarise the plugin and staple the dmg, only the dmg passes stapler validation. as for the bundle inside the dmg, nothing is reported (neither error nor success). if staple the bundle after notarisation, create a new dmg from it, notarise and staple t

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Keisuke Miyako via 4D_Tech
v2 syntax is different, parameters are now all passed in a single object. https://miyako.github.io/2019/11/27/4d-plugin-zint.html so the question is, would you prefer a signed & notarised & stapled version of the old plugin, or will you change you code to adopt the new syntax. On Mar 3, 2020,

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Keisuke Miyako via 4D_Tech
@Pat for comparison, could you please download and test https://github.com/miyako/4d-plugin-zint-v2/releases/tag/3.2.v17.s ? I took 3.2.v17 and stapled the dmg. ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.co

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Keisuke Miyako via 4D_Tech
Hello, I downloaded the plugin from https://github.com/miyako/4d-plugin-zint-v2/releases/tag/3.2.v17 on 10.15.3 (19D76) created a new DB with 4D 17 R6 (243126) but I did not reproduce the issue. question for Pat: what do you get in Console.app if you... codesign --verify --verbose {{/Users

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Keisuke Miyako via 4D_Tech
Hello, "3.2" could be either v17 or v18 https://github.com/miyako/4d-plugin-zint-v2/releases my theory is that 3.2.v17 will work out of the box when downloaded on Catalina 10.15.1 or earlier, but will not work when downloaded on Catalina 10.15.3 (see previous post) I have sporadic reports that

Re: Can't use Zint plugin since upgrading my Mac

2020-03-02 Thread Keisuke Miyako via 4D_Tech
Hello, thank you for your expert input! I wrote "tends to" because I wasn't 100% sure. to be precise, I had a case where a "codesign --deep" plugin has no issues when downloaded on Catalina 10.15.1 and rejected on Catalina 10.15.3. but it was in the middle of a training session and I was unabl

Re: Can't use Zint plugin since upgrading my Mac

2020-02-29 Thread Keisuke Miyako via 4D_Tech
are you trying to use v18 plugin on v17? as I posted before, it's really important to specify the version and platform. ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.co

Re: atom/st indent/lex file

2020-02-28 Thread Keisuke Miyako via 4D_Tech
must be Sublime Text On Feb 29, 2020, at 0:30, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote: I don't know what "ST" is. ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/arch

Re: Can't use Zint plugin since upgrading my Mac

2020-02-28 Thread Keisuke Miyako via 4D_Tech
the URL from which you downloaded is significant. for instance. clicking the green "download" button is a "No No". https://github.com/miyako/4d-plugin-zint-v2 you should go to Releases. https://github.com/miyako/4d-plugin-zint-v2/releases the latest Catalina tends to rejects v17 style plugins

Re: Can't use Zint plugin since upgrading my Mac

2020-02-28 Thread Keisuke Miyako via 4D_Tech
it's probably not an unsolvable problem, but you really need to be more specific. ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailt

Re: Can't use Zint plugin since upgrading my Mac

2020-02-28 Thread Keisuke Miyako via 4D_Tech
a plugin is not an app or executable, you can't add it to spctl (gatekeeper) by right click. go to github, find releases, and grab the latest release that matches your version. ** 4D Internet Users Group (4D iNUG) Archive: htt

Re: Update Project Mode Incompatible Object Types via Code?

2020-02-24 Thread Keisuke Miyako via 4D_Tech
for that kind of incompatibilities, I would assume that the export does succeed. can you not then systematically modify the exported .4DForm files which are JSON? On Feb 25, 2020, at 8:00, Tom Benedict via 4D_Tech <4d_tech@lists.4d.com> wrote: I was hoping for a SET

Re: NEED HELP

2020-02-23 Thread Keisuke Miyako via 4D_Tech
it is really important to specify the platform (OS) but assuming this is Mac, maybe you have some unexpected files inside one of your database folders (components, resources, plugins, extras, etc) that can not be copied. On Feb 24, 2020, at 8:33, Tom Dillon via 4D_Tech <4d_tech@lists.4d.com

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
follow-up in general, methods (not formulae) that return a picture in VP sets the cell background image in PNG format. so it might not be a nested SVG problem. perhaps, it might be that the sheet to too complex for "convert to picture" (which comes with the precaution that it can only process

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
VP Convert to picture creates a simple SVG rendition of the document. if the barcode inside the cell is already SVG, you are looking at nested SVG, which is not supported in 4D. On Feb 22, 2020, at 7:35, kculotta via 4D_Tech <4d_tech@lists.4d.com> wrote: $pic:=VP Con

Re: Printing Excel Document to PDF from 4D - Windows

2020-02-21 Thread Keisuke Miyako via 4D_Tech
if speed id not an issue, libreoffice headless mode generates the best pdf. otherwise you could script excel to export pdf but timing is a bit tricky and you need to account for sandboxing on mac. different versions of excel behave differently, so that is an issue too. quicklook on mac is als

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
also based on said tech note (which was a v11 SVG update of an even older tech note that used 4D Chart) https://github.com/miyako/4d-component-barcode I changed to use monospaced font. I also adjusted the SVG shapes to be more crisp. heart of the code is the part that calculates the barcode its

Re: Bar code

2020-02-21 Thread Keisuke Miyako via 4D_Tech
4D View Pro is implemented in a CEF web area. its functions are written in JavaScript. you can't invoke them without a running form. On Feb 22, 2020, at 4:23, kculotta via 4D_Tech <4d_tech@lists.4d.com> wrote: I am not familiar enough with View Pro not to ask, but is

Re: Post Key

2020-02-20 Thread Keisuke Miyako via 4D_Tech
if the objective is to simply post some key combination: https://github.com/miyako/4d-plugin-virtual-key/ ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/opti

Re: Entity Selection List Box - Selected Row Color

2020-02-20 Thread Keisuke Miyako via 4D_Tech
for collection / entity selection listboxes, here's the gist of how to do it: in the "meta expression" property, enter meta_generic (Form.mySource.sel;Form.mySource.metas[0];Form.mySource.metas[1]) Form.mySource.sel is the entity selection object that represents the selected entities for the li

Re: Entity Selection List Box - Selected Row Color

2020-02-20 Thread Keisuke Miyako via 4D_Tech
did you use 8.3.v18? ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com ***

Re: Write PICT to disk, 64bit

2020-02-19 Thread Keisuke Miyako via 4D_Tech
some like this? https://github.com/miyako/4d-plugin-raw-picture-data https://miyako.github.io/2020/02/20/4d-plugin-raw-picture-data.html On Feb 14, 2020, at 0:17, Bill Hutten via 4D_Tech <4d_tech@lists.4d.com> wrote: We would like to be able to write these images t

Re: Entity Selection List Box - Selected Row Color

2020-02-18 Thread Keisuke Miyako via 4D_Tech
the idea is to set the cell (not text) background colour for each row, using meta expression (for collection), array (for array), or expression (for current or named selection) you can find an example here https://blog.4d.com/customize-highlight-color-upon-listbox-row-selection/ > On Feb 19, 20

Re: Web Services - Receiving Complex Type

2020-02-18 Thread Keisuke Miyako via 4D_Tech
SOAP (web services) were introduced in v2003, when 4D had minimal XML commands and no HTTP client commands. the wizard on the client side and declaration on the server side are great, in that it takes care of the HTTP and XML layers, but if the task seems beyond their capability then perhaps you

Re: New Notarization Issues

2020-02-12 Thread Keisuke Miyako via 4D_Tech
code signature can easily get invalidated if the app or plugin was not packaged and distributed correctly. for example, if you simply sign, zip and upload a file to a public server, a downloaded copy would most probably be thrown to the bin. the developer should sign, archive (pkg, zip, dmg), not

Re: New Notarization Issues

2020-02-12 Thread Keisuke Miyako via 4D_Tech
if it works, then that's fine, but maybe there is a difference between Catalina 10.15.1 and 10.15.3. at least that has been my experience. On Feb 12, 2020, at 22:25, James Crate via 4D_Tech <4d_tech@lists.4d.com> wrote: plugin has manifest.json under Contents (old-sty

Re: New Notarization Issues

2020-02-11 Thread Keisuke Miyako via 4D_Tech
I am not 100% sure, but it might be because plugins that support v17 (up to R6) or earlier have their manifest.json file under Contents, where the code sign CLI might fail to find it. v18 plugins have moved the location to Contents/Resources, but then, the plugin is no longer compatible with v17

Re: determine table name from entity selection

2020-02-08 Thread Keisuke Miyako via 4D_Tech
it's not cheating to ask Google https://blog.4d.com/orda-member-methods-to-get-the-structure-information/ https://doc.4d.com/4Dv18/4D/18/dataClassgetInfo.305-4505894.en.html On Feb 9, 2020, at 9:11, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> wrote: As ever,

Re: Poor Image Quality When Converting Pict Image to JPG and TIF Using CONVERT PICTURE (SOLVED)

2020-02-07 Thread Keisuke Miyako via 4D_Tech
I suppose you could scale and rasterise to gain DPI, or else convert to a neutral vector format like SVG https://github.com/miyako/4d-plugin-PDF2SVG On Feb 8, 2020, at 1:08, Ken Eyring via 4D_Tech <4d_tech@lists.4d.com> wrote: Thank you for raising the potential

Re: Can the internet proxy server be determined by 4D?

2020-02-07 Thread Keisuke Miyako via 4D_Tech
found https://github.com/miyako/4d-plugin-proxy forgotten about it completely, have no idea what it is supposed to do... On Feb 8, 2020, at 5:15, Bob Miller via 4D_Tech <4d_tech@lists.4d.com> wrote: Is there a way I can check the system internet proxy server setti

Re: Poor Image Quality When Converting Pict Image to JPG and TIF Using CONVERT PICTURE

2020-02-06 Thread Keisuke Miyako via 4D_Tech
Hello, PICT is a container format, it can contain either raster or vectorial images. it sounds like you have vectorial images. on Mac, you can use the command to convert PICT to PDF, which will result in "sharp" images. otherwise you need to scale up the image before converting it to a rasterise

Re: What is equivalent to SELF when a form object's "variable or expression" is an object attribute?

2020-02-05 Thread Keisuke Miyako via 4D_Tech
Hello, Object get pointer(Object current)-> is synonymous to Self, and likewise it will point to nothing if the current object is not bound to a variable. I think this is a strong sign that in object based design, pointers are very rarely needed, if at all, and that this kind of generic code (

Re: What is equivalent to SELF when a form object's "variable or expression" is an object attribute?

2020-02-04 Thread Keisuke Miyako via 4D_Tech
if I may interject, the O.P. was asking for generic coding, where the object method does not know its data source expression. but in my opinion (yes it is an opinion, not doctrine) it is better to plan well and hard-code in ORDA, generic coding does not deliver like it does for the classic langua

Re: Runtime Explorer

2020-02-01 Thread Keisuke Miyako via 4D_Tech
v17 In password-protected databases, only the Designer and Administrator have access to the Runtime Explorer window. https://doc.4d.com/4Dv17/4D/17.3/Access-to-the-Runtime-Explorer.300-4639848.en.html v18 (minor change, the privilege is expanded to group) Design and Runtime Explorer Access: Gi

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 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: 4D v16 in mixed mode 32 and 64bit

2020-01-29 Thread Keisuke Miyako via 4D_Tech
I have never come across such a plugin but... on Mac, 32-bit and 64-bit code can be written in the same file (lipo, universal binary) on Windows, a plugin bundle has 2 folders, Windows and Windows 64 so there is absolutely no reasons to maintain two flavours. maybe, if one supports objects and

Re: Dealing with hetrogenous JSON list data

2020-01-28 Thread Keisuke Miyako via 4D_Tech
you can use the "Value type" function. 2020/01/29 6:57、Bill Hutten via 4D_Tech <4d_tech@lists.4d.com>のメール: Am I missing something obvious? ** 4D Internet Users Group (4D iNUG) Archive: http://lis

Re: v18 bug?

2020-01-24 Thread Keisuke Miyako via 4D_Tech
not just double-clicking (which I never do) but also drag and drop of 4DB or 4DProject to 4D that is already running. first drop, activate, second drop, switch databases. I think it started with 17 R. > On Jan 25, 2020, at 8:21, Jeremy Roussak via 4D_Tech <4d_tech@lists.4d.com> > wrote: > In

Re: Email Attachments Missing after New process ?

2020-01-22 Thread Keisuke Miyako via 4D_Tech
I am aware of it, I (not 4D engineering) feel it is expected behaviour. normally, when you pass an object to a new process, worker, or between client and server, a deep copy is performed on the object; in other words, implicit OB COPY. binary objects such as Write Pro or Mail attachment, that ha

Re: Select row in entity selection listbox

2020-01-21 Thread Keisuke Miyako via 4D_Tech
obviously, the index will be -1 the position. 2020/01/21 21:22、Keisuke Miyako via 4D_Tech <4d_tech@lists.4d.com<mailto:4d_tech@lists.4d.com>>のメール: indexOf() ** 4D Internet Users Group (4D iNUG) Archive: http://

Re: Select row in entity selection listbox

2020-01-21 Thread Keisuke Miyako via 4D_Tech
maybe, indexOf() interestingly, the receiver/arguments are reversed. entity.indexOf( ) https://doc.4d.com/4Dv18/4D/18/entityindexOf.305-4505947.en.html collection.indexOf( ) https://doc.4d.com/4Dv18/4D/18/collectionindexOf.305-4505857.en.html > 2020/01/21 21:12、Jeremy Roussak via 4D_Tech <4d_t

Re: Change menu title

2020-01-21 Thread Keisuke Miyako via 4D_Tech
sorry, I haven't worked on this exact scenario. maybe after updating the menu text, you need to call SET MENU BAR again? > 2020/01/21 6:19、stardata.info via 4D_Tech <4d_tech@lists.4d.com>のメール: > In manual creation, I can change it, but if I need to change it using one > command how I can this?

Re: Select row in entity selection listbox

2020-01-21 Thread Keisuke Miyako via 4D_Tech
if the listbox is single-select, you can use LISTBOX GET CELL POSITION to get the row number, then check that the "current item" is not Null to verify whether the current row was selected or unselected. (remember, you can unselect a row by shift-click or command click) although collection-type l

Re: Old DDE tools plugins replace by a Oracle-SE bridge.

2020-01-18 Thread Keisuke Miyako via 4D_Tech
there are basic examples in the language documentation https://doc.4d.com/4Dv18/4D/18/4D-for-OCI.100-4688969.en.html in addition, 4D for OCI commands are named identical if not very similar to their underlying C function, so you can Google information in Oracle documentation too. 2020/01/18 6:4

Re: catalina and 4D

2020-01-14 Thread Keisuke Miyako via 4D_Tech
it all depends on how you copied the app from one Mac to the other. > 2020/01/14 23:16、Chuck Miller via 4D_Tech <4d_tech@lists.4d.com>のメール: > So if I download an installer and install on an external and then copy. I > won’t get the message. Is that the way it works? > My problem in responsiveness

Re: catalina and 4D

2020-01-13 Thread Keisuke Miyako via 4D_Tech
if notarisation is the only issue: keep in mind that notarisation is a guard against downloaded apps, meaning, it only applies to apps you installed after you upgraded to Catalina, and apps you downloaded from the internet (HTTP, FTP, AirDrop file transfer). it does not apply to apps you already i

Re: Document encoding

2020-01-13 Thread Keisuke Miyako via 4D_Tech
alternative solutions for guessing plain text encoding https://opensource.google/projects/ced also https://github.com/miyako/4d-plugin-text-convert $err:=CP Get good encodings ($euc;$codepages) $err:=ICU Get good encodings ($euc;$encodings;$languages;$confidences) but I agree with Koen, to

Re: Is There a Win32API.bundle For v17.3HF2?

2020-01-12 Thread Keisuke Miyako via 4D_Tech
isn’t Win32API a Windows-only plugin? though it is a stub anyway, I forked and notarised it to suppress the Catalina warning. https://github.com/miyako/4D-Win32API/releases can’t speak for the reported errors on Windows, I don’t use the plugin. 2020/01/12 21:08、Charles Miller via 4D_Tech <4d_

Re: Reading and writing large arrays to disk

2020-01-05 Thread Keisuke Miyako via 4D_Tech
concatenation of text is intuitive, but inefficient. every time you add text to another, a new buffer is created and the whole text is copied there. as the text gets larger, the allocation of memory and copying of data will become slower. variable to blob is fast as it simply packs the variable

Re: 4D v17 and catalina

2019-12-30 Thread Keisuke Miyako via 4D_Tech
you might want to Google “app translocation” and assess whether 4D is translocated on your Mac. 2019/12/31 8:42、Charles Miller via 4D_Tech <4d_tech@lists.4d.com>のメール: The problem with 4d is at launch

Re: running server v17.3 as a service

2019-12-30 Thread Keisuke Miyako via 4D_Tech
the documentation points you in the right direction https://doc.4d.com/4Dv17/4D/17.3/Registering-a-Database-as-a-Service.300-4640983.en.html read carefully the passage on “Local System Account” and printing. > 2019/12/30 22:35、Chuck Miller via 4D_Tech <4d_tech@lists.4d.com>のメール: > How to impleme

Re: 4D v17 and catalina

2019-12-30 Thread Keisuke Miyako via 4D_Tech
several possibilities: - the disk is HDD or fusion disk: 4D is made of hundreds of files, so it is much slower to start with a cold cache - the application or its components are not code-signed or the signature is invalid the app is duplicated and sandboxed each time 2019/12/31 5:32、Chuck Mille

Re: Export from 4D 6.8, Import to 4D 17.3

2019-12-26 Thread Keisuke Miyako via 4D_Tech
as a general observation: us-ascii denotes that you only accept bytes in the range 0x00 to 0x7F. everything else you ignore. diacritical characters are always above that range, whatever the encoding. diacritical characters are encoded differently, ISO-8859-1 vs ISO-8859-15 (especially the euro c

Re: ListBox flickering on Windows

2019-12-18 Thread Keisuke Miyako via 4D_Tech
I think the first step necessary here is to isolate the problem, using a brand new listbox on a plain window. if there is no flickering there, it might be a combination of factors, such as window type, cascaded background objects, page number, etc. > 2019/12/19 8:48、Pat Bensky via 4D_Tech <4d_tec

Re: WEB GET BODY PART / VARIABLE TO BLOB / WEB SEND BLOB

2019-12-18 Thread Keisuke Miyako via 4D_Tech
Hello, looks like you are using the wrong command for conversion. v. to blob creates byte stream that only 4D understands. should use "picture to blob" instead. > 2019/12/19 1:02、Tim Daniels via 4D_Tech <4d_tech@lists.4d.com>のメール: > > *VARIABLE TO BLOB*([Routing_file]File;$blob) > *WEB SEND BLO

Re: lags

2019-12-15 Thread Keisuke Miyako via 4D_Tech
if the platform is Mac, it may be due to App Nap power saving wrongly deciding that the server is idle. 2019/12/14 18:08、stardata.info via 4D_Tech <4d_tech@lists.4d.com>のメール: I use 4D V13.4 client-server. From some days i notice that after a bit

Re: Windows 10 Workstation error -10515 Failed to synchronize Resources Folder

2019-12-15 Thread Keisuke Miyako via 4D_Tech
I do know that .webloc file (web file location) disrupts resource synchronisation on Mac. maybe there are other types that cause similar issues. > 2019/12/16 0:15、UKVetDerm via 4D_Tech <4d_tech@lists.4d.com>のメール: > I could find no invisible or visible file which should not have been present, >

Re: 4D v17 To QuickBooks Using Miyako's QBO.4DB

2019-12-13 Thread Keisuke Miyako via 4D_Tech
the component is an OAuth example. it simply illustrates how to manage an OAuth session for QB. everything else is generic XML/HTTP, not specific to OAuth, so none of it is implement in the component. QuickBooks is not used in my country, I have no customers using it. > 2019/12/14 4:47、Ken Eyri

Re: Naming a web process

2019-12-12 Thread Keisuke Miyako via 4D_Tech
Haven’t tried with HTTP processes, but have you looked into https://blog.4d.com/whos-who-a-new-way-to-identify-users/ 2019/12/08 20:37、Uist Macdonald via 4D_Tech <4d_tech@lists.4d.com>のメール: Is it possible to name a web session so that the name is visible in 4D Server

Re: v17.3 on Mac OS 10.15.2 Plugins "cannot be opened because the developer cannot be verified"

2019-12-12 Thread Keisuke Miyako via 4D_Tech
that “something” would be, code signing and notarisation. to illustrate, I’ve uploaded a notarised version of “Miyako's Media Access Control.bundle, but it doesn't look like it works with v17" here: https://github.com/miyako/4d-plugin-media-access-control/releases/tag/2.0 it should pass Gate

Re: Automatic Excel to Text-tab delimited?

2019-12-12 Thread Keisuke Miyako via 4D_Tech
I agree that Plugger’s XL Plugin would be the best choice for processing XLSX files. https://www.pluggers.nl/product/xl-plugin/ 4D View Pro Area is a form object, meaning you would have to open a form and run asynchronous, callback-based coding to do the conversion. https://blog.4d.com/work-wi

Re: on Windows using SET CURRENT PRINTER(Generic PDF driver) with SET PRINT OPTION(Destination option;3;$path) does not restore settings

2019-12-04 Thread Keisuke Miyako via 4D_Tech
I do not have any information on the checkbox behaviour, but I think if pdf/destination:3 is for Mac. you should specify destination:2 on Windows. > 2019/12/04 22:31、Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com>のメール: > > When using SET CURRENT PRINTER(Generic PDF driver) on Window

Re: AP Get field infos Properties replacement

2019-12-03 Thread Keisuke Miyako via 4D_Tech
you could parse the xml returned from the export structure command. ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-un

Re: Create SQL DB ERD from 4D Export Structure XML File?

2019-11-25 Thread Keisuke Miyako via 4D_Tech
I think he has already posted an explanation to this thread, But the reason is that the colour by default (displayed grey in structure editor) is rgb(0,0,0) So you need to code exceptions for tables that do not have a custom colour defined. > 2019/11/26 8:42、Cannon Smith via 4D_Tech <4d_tech@lis

Re: Create SQL DB ERD from 4D Export Structure XML File?

2019-11-25 Thread Keisuke Miyako via 4D_Tech
For reference: I do not use native XSLT commands, the component has a CLI xsltproc, so the remarks “It is now deprecated” is incorrect in this instance. https://github.com/miyako/4d-utility-structure-to-svg-converter-v2 2019/11/25 22:00、Tom Benedict via 4D_Tech <4d_tech@lists.4d.com

Re: Subform get record info when click on row

2019-11-23 Thread Keisuke Miyako via 4D_Tech
Hello, I don’t have an answer off the top of my head, But I suppose you could try a couple of things: - call LOAD RECORD assuming that the current records is the clicked record, just not loaded I wouldn’t normally count on the clicked event and the clicked record to get the current record though

Re: Dot notation in entry forms

2019-11-14 Thread Keisuke Miyako via 4D_Tech
The short answer is no; A pointer can only point to a variable, array, array element, table or field. An object property is none of the above, so it can not be referenced by a pointer. In general, If you are going to make extensive use of OBJECT Get pointer, you should not use the Form object.

<    1   2   3   4   5   6   7   8   9   10   >