Re: Image Grid Widget

2017-10-29 Thread Keisuke Miyako via 4D_Tech
rendering SVG is CPU expensive, it's normally better to rasterise (convert to PNG) if the image is static. > 2017/10/28 19:49、Ingo Wolf via 4D_Tech <4d_tech@lists.4d.com> のメール: > try "image/svg+xml" as media type, e.g. > $dataURI:="data:image/svg+xml;base64,"+...

Re: Resizable subforms

2017-10-29 Thread Keisuke Miyako via 4D_Tech
widget resizing based on OBJECT GET SUBFORM CONTAINER SIZE + On Load will not work if you use Open window. you should use Open form window. if you must use Open window, the earliest you can resize the widget would be On Timer. > 2017/10/28 21:03、Pat Bensky via 4D_Tech <4d_tech@lists.4d.com>

Re: Method to put a c-obj (or JSON) into a hierarchical list

2017-10-29 Thread Keisuke Miyako via 4D_Tech
I think that's because the assignment operator is typically over-ridden by a toString() method or something similar in template or class based languages. anyway, 4D is a strongly typed language, so the use of the 3rd argument "Is text" does not remove the need to declare the left operand. if

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Keisuke Miyako via 4D_Tech
I wasn't trying to avoid taking responsibility, I feel very sorry for that. I thought it was also quite clear in Tim's reply which was reposted here, that we failed you on this, and that we are in the process of updating the documentation. but again, I apologise. > 2017/11/01 10:46、Tim Nevels

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Keisuke Miyako via 4D_Tech
like a global preference, to the effect of "Call OB Copy implicitly when performing object assignments" it is an interesting point of view, to frame it as an issue of the assignment operator being different, as opposed to how objects and their properties are different "because they are

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Keisuke Miyako via 4D_Tech
> OB SET ([Table1]Object;”value”;b_value) //this will set the record dirty. > And, yes, I too was told that the engineers were leaning to declaring > this as standard behavior. Why? I have not a clue. obviously I can't speak for "the engineers", but I would not rush to the conclusion that it is

Re: [Warning] Settings properties values on object field by object notation

2017-10-31 Thread Keisuke Miyako via 4D_Tech
I hate to repeat myself, but it seems the problem with object notation is that it's not as straightforward to know if a field has been changed or not. perhaps until now, we have been thinking of simply code like [myTable]myField.prop:="123" and it seems crazy that 4D doesn't understand that the

Re: v13+ Plugin List issue

2018-05-04 Thread Keisuke Miyako via 4D_Tech
it sounds like PLUGIN LIST is being executed in the component's context. I guess it should the responsibility of the host to check for plugin availability, not the component. 2018/05/05 4:16、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: Ideas as to what is

Re: SQL Date Math

2018-05-04 Thread Keisuke Miyako via 4D_Tech
the error message seems to be in line with what is explain in the documentation: > Automatic data type conversion is implemented between numeric types. > A string that represents a number is not converted to a corresponding number. > There are special CAST functions that will convert values from

Re: Web Area display PDF

2018-05-15 Thread Keisuke Miyako via 4D_Tech
there was a word on the release note. evidently it was caused by the 32-bit version of PDFKit (Apple framework, part of the OS) http://download.4d.com/Documents/Products_Documentation/LastVersions/Line_16/VIntl/4D_v16_3_ReleaseNotes.pdf > 2018/05/15 17:10、Piotr Chabot Stadhouders via 4D_Tech

Re: v13+ LEP permision issues.

2018-05-09 Thread Keisuke Miyako via 4D_Tech
isn't "Method called on error" executed in the same process as the invoking method? normally the code would only be interested in basic information such as OK, which changes the course of action (ignore, abort, retry). even if more details were available, there is normally not much one can do

Re: v13+ LEP permision issues.

2018-05-10 Thread Keisuke Miyako via 4D_Tech
perhaps my comments about logging was unwarranted. but I think my main points stand: 1. no, method called on error is not executed in another process. you might be confusing it with method called on *event* 2. no, it is not necessary to use IP. use can pass and return process variables. e.g.

Re: Subform 64-bit problem

2018-05-12 Thread Keisuke Miyako via 4D_Tech
was it ever documented that "SET ENTERABLE(False)" should also render the object invisible? 64-bit version of 4D on Mac is Cocoa, as opposed to 32-bit which is Carbon. The UI was recreated from the ground up, based on what the specification (=documentation) dictates. Any undocumented or

Re: v13+ Plugin List issue

2018-05-06 Thread Keisuke Miyako via 4D_Tech
PLUGIN LIST returns the list of plugins that are actually loaded (as opposed to simply detected). For historic reasons, "4D Quick", "4D Chart", "DDE Tools", etc. are also included in the list, although they are actually integrated into 4D (chart was divorced in v13). it should also be noted

Re: Preventing Return and Enter from Closing a Dialog

2018-05-20 Thread Keisuke Miyako via 4D_Tech
using an invisible (type of object) button with the enter/escape key as shortcut does intercept the accept/cancel shortcut, but the button must be visible (property of object), enabled and available (page 0 or current page) and the "on clicked" form event must be activated. I would rather not

Re: First experiments with 4D View PRO

2018-05-17 Thread Keisuke Miyako via 4D_Tech
4D has studied how the classic 4D View plugin has beeb used in various applications, and found that there were essentially two distinct usages; "as a list" and "as a spreadsheet". based on that understanding, two different paths have been defined to carry on the 4D View legacy: 1. a set of

Re: stylized text

2018-05-23 Thread Keisuke Miyako via 4D_Tech
my sincere apologies! my previous post was obviously erroneous. the distinction is not between ST and WP, but rather, string manipulation versus range manipulation. > GET HIGHLIGHT, ST SET ATTRIBUTES, etc. > count the "spaces" between characters. > | a | b | c | d | e | > 1 2 3 4 5 6

Re: procedurally delete anchored image in 4D Write Pro

2018-05-23 Thread Keisuke Miyako via 4D_Tech
I think you need to first change the layout to inline (by UI or code), in order to delete an image. but the attribute "wk anchor layout" is not settable with WP SET ATTRIBUTES http://doc.4d.com/4Dv16R6/4D/16-R6/4D-Write-Pro-Attributes.300-3605889.en.html so you need to use INVOKE ACTION

Re: stylized text

2018-05-22 Thread Keisuke Miyako via 4D_Tech
ST commands and WP commands use a different convention to describe a selection or range. ST GET HIGHLIGHT, ST SET ATTRIBUTES, etc. count the "spaces" between characters. | a | b | c | d | e | 1 2 3 4 5 6 WP range.start, range.end, WP SELECT, WP SET ATTRIBUTES, etc. count

Re: procedurally delete anchored image in 4D Write Pro

2018-05-25 Thread Keisuke Miyako via 4D_Tech
there is no reason why a "delete" command should not exist, I suppose, but 4D Write Pro is about constructing dynamic documents using templates, by evaluating embedded expressions and/or combining prepared segments (range objects), so I would imagine that a delete command is not really in high

Re: 4D Write Pro: traverse throught all available headers and footers

2018-05-25 Thread Keisuke Miyako via 4D_Tech
Hello, the command is ST Get content type http://doc.4d.com/4Dv16/4D/16.3/ST-Get-content-type.301-3652488.en.html > 2018/05/26 0:46、Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> > のメール: > I need to traverse through all expressions

Re: Programmatic control of reject new connections

2018-05-24 Thread Keisuke Miyako via 4D_Tech
how about using On Server Open Connection Database Method? http://doc.4d.com/4Dv16/4D/16/On-Server-Open-Connection-Database-Method.301-3047535.en.html if you want to base the logic on the number of connected users (for example you want the ceiling at max-1 for admin) you could use

Re: Email Errors - Intermittent - Socket Descriptor Error

2018-05-24 Thread Keisuke Miyako via 4D_Tech
4D Internet Commands mostly relays winsock errors and error messages. https://msdn.microsoft.com/en-us/library/windows/desktop/ms740668(v=vs.85).aspx so you can google "10038" or "WSAENOTSOCK" outside of 4D if you need more technical information. 2018/05/24 11:05、Randy Engle via 4D_Tech

Re: "Your password does not allow you to use this form"

2018-05-24 Thread Keisuke Miyako via 4D_Tech
could it be that the table has no defined output forms (and the editor is somehow looking for it) ? does the same happen using the same code and version with a brand new structure? --- partners have access to the source code of 4D Label Editor,

Re: Pointer to field using field name

2018-05-18 Thread Keisuke Miyako via 4D_Tech
won't 10K could overflow 32-bit integer? I would use 32768 as multiplier... > 2018/05/19 2:03、Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> のメール: > I can't take credit for making it up and I don't recall where I got the > idea from. If you are really worried about a table with more than 1000 >

Re: Pointer to field using field name

2018-05-17 Thread Keisuke Miyako via 4D_Tech
alternatively $tablename:="Table_1" $fieldname:="ID" $code:="$4deval($1->:=->["+$tablename+"]"+$fieldname+")" PROCESS 4D TAGS($code;$code;->$pField) EXECUTE FORMULA("$pField:=->["+tablename+"]"+fieldname) ** 4D Internet

Re: First experiments with 4D View PRO

2018-05-17 Thread Keisuke Miyako via 4D_Tech
a 4D View Pro document is stored in an object. http://doc.4d.com/4Dv16R6/4D/16-R6/Handling-4D-View-Pro-areas.300-3631583.en.html schema: /Applications/4D/4D v17/4D.app/Contents/Components/4D ViewPro.4dbase/Resources/4DViewSchema.json you can use regular OB commands or object notation to

Re: Pointer to field using field name

2018-05-18 Thread Keisuke Miyako via 4D_Tech
oops you are right! 1 would overflow the max number of tables and fields but won’t have problems with long int. ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: Auto Positioning Print Forms

2018-05-21 Thread Keisuke Miyako via 4D_Tech
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

Re: Preventing Return and Enter from Closing a Dialog

2018-05-21 Thread Keisuke Miyako via 4D_Tech
if the interceptor is on page 1, it would have not effect when the user switches to a different page. also, I am not sure if database settings are supposed to propagate to connected clients. I don't think you need to restart the server, but you might have to reconnect and force update the client

Re: Any way to detect change to 4D Write Pro orientation.

2018-06-10 Thread Keisuke Miyako via 4D_Tech
The way I deal with this problem is to prepare a plain document with the desired orientation, paper size, etc. and load it from disk as needed. Also, I disable the context menu be default and display a dynamic menu that contains only authorised actions by code. You can call OBJECT SET CONTEXT

Re: WR Count equivalent in 4D Write Pro

2018-06-11 Thread Keisuke Miyako via 4D_Tech
WP SET A. expects different kind of "range", depending on the attribute type. for example, // a regular range to specify where to insert the image $range:=WP Create range($wp_l;wk end text;wk end text) // insert the image in range WP INSERT PICTURE($range;$data;wk append) // the URL is a

Re: WR Count equivalent in 4D Write Pro

2018-06-11 Thread Keisuke Miyako via 4D_Tech
I suppose you could use EDIT FORMULA, for a start... > 2018/06/11 16:06、JOHN BAUGHMAN via 4D_Tech <4d_tech@lists.4d.com> のメール: > > BTW, another thing I cannot find is any way to provide a means for end users > to insert 4D expressions as they can in 4D Write. I could write a dialog for > this,

Re: Scroll position of display-type subform

2018-06-11 Thread Keisuke Miyako via 4D_Tech
haven't tried, but I wonder if CONVERT COORDINATES would be smart enough to take into account the scrolled amount of a detail subform. http://doc.4d.com/4Dv16/4D/16.3/CONVERT-COORDINATES.301-3651760.en.html > 2018/06/12 7:37、Richard Wright via 4D_Tech <4d_tech@lists.4d.com> のメール: > I need to

Re: v16 Time picker - bound variable changed

2018-06-11 Thread Keisuke Miyako via 4D_Tech
LISTBOX SET PROPERTY was created in 16R2, it's normal that it won't compile on 16.3 (if that is what you mean) http://doc.4d.com/4Dv16R6/4D/16-R6/LISTBOX-SET-PROPERTY.301-3547819.en.html 2018/06/12 6:09、Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> のメール: I

Re: Why won't Help Tip editor accept Carriage Return?

2018-06-11 Thread Keisuke Miyako via 4D_Tech
for the record, problem does not exist for v14 or later. this is basically a compatibility issue between macOS 10.8/9 and 13.6 (evidently a regression from 13.5, really sorry about that...), which was released in the first half of 2015. > 2018/06/12 13:22、Dan Ivy via 4D_Tech

Re: Why won't Help Tip editor accept Carriage Return?

2018-06-11 Thread Keisuke Miyako via 4D_Tech
I wouldn't beat myself over that. UI threads are never preemptive. (and who needs helps tips outside the UI?) 2016/11/08 6:22、Keith Goebel mailto:keit...@clear.net.nz>> のメール: Downside: Perhaps not such a good solution now, with Preemptive Processing not working when there are IP vars

Re: WR Count equivalent in 4D Write Pro

2018-06-10 Thread Keisuke Miyako via 4D_Tech
c.f. http://doc.4d.com/4Dv17/4D/17/WP-Get-elements.301-3703212.en.html a whacky alternative would be: WP EXPORT DOCUMENT + wk web page complete and parse the XHTML (or count the number of attachments) working directly with XHTML is also quite useful to setup a preconfigured document with

Re: WR Count equivalent in 4D Write Pro

2018-06-10 Thread Keisuke Miyako via 4D_Tech
if you want to bulk-update all pictures in a range, use WP Create picture range (was WP Get pictures) <--- returns a class of object suitable for GET/SET ATTRIBUTES if you want to access each pictures in a range or document, use WP Get element <--- returns a collection

Re: Moving Methods/Forms between structures seems disabled

2018-06-10 Thread Keisuke Miyako via 4D_Tech
did you compare http://doc.4d.com/4Dv16R6/4D/16-R6/Moving-page.300-3561535.en.html > 2018/06/11 10:18、Randy Engle via 4D_Tech <4d_tech@lists.4d.com> のメール: > > I've looked the structure settings but can't find anything that prevents > "moving" > I'm sure it just a checkbox somewhere

Re: Adding dates (sync) from 4D to Google Calendar

2018-06-18 Thread Keisuke Miyako via 4D_Tech
you need to 1. create a Google account 2. study the Google Calendar API 3. use HTTP request to send and receive JSON 4. and pay Google for using their API. the hardest part is 2. coding may be a couple hours, reading can take days. > 2018/06/19 0:55、setar accnt via 4D_Tech

Re: Moving Methods/Forms between structures seems disabled - SOLVED!!!

2018-06-12 Thread Keisuke Miyako via 4D_Tech
for the record, it is not a 4D thing, any applications running as administrator (console, for example) will not accept drop from an app running on a lesser entitlement. 2018/06/13 7:58、Randy Engle via 4D_Tech <4d_tech@lists.4d.com> のメール: If you have one of your 4D

Re: v13 - Windows, DOS, LEP, Virtual environments, attrib command

2018-06-12 Thread Keisuke Miyako via 4D_Tech
to rule out virtual environment as decisive factor, perhaps you could try https://github.com/miyako/4d-plugin-document-properties as mentioned multiple times, an accurate understanding of how path escaping works on CLI is required, especially for folder paths on windows as by definition they end

Re: Delay process bug

2018-06-12 Thread Keisuke Miyako via 4D_Tech
22 days does sound suspicious; as if (no proof), the scheduler is testing if milliseconds "minus" process up-time is "greater than" delay time... such logic would break when milliseconds expressed in signed 32-bit long integer flips to negative, after 24 days. (milliseconds is counted since

Re: Difference between OB Copy and :=

2018-06-13 Thread Keisuke Miyako via 4D_Tech
off the top of *my* head I understand the fix is not limited to object notation. it was an optimisation made for wakanda server that somehow got lost on its way to 4D object fields. so it's a fix at the database level. > 2018/06/14 11:54、Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> のメール: >

Re: Delay process bug

2018-06-17 Thread Keisuke Miyako via 4D_Tech
according to the bug description for ACI0098368 ("Delayed processes do not wake up if paused/resumed while already delayed"), it's not that the DELAY P. has a problem resuming, the problem manifests itself when the codes pauses a process that is already in "delay" status. a double resume is

Re: v16 Time picker - bound variable changed

2018-06-18 Thread Keisuke Miyako via 4D_Tech
Hello, > how to tell when a non-R version will have the features of an R-version. short answer is, when the version number changes and the "R" goes way. 16Rn and 16.x are different numbering systems, so it doesn't matter if n > R. 16.3 has the exact same features as 16.0 - nothing will be added

Fwd: Moving Methods/Forms between structures seems disabled

2018-06-10 Thread Keisuke Miyako via 4D_Tech
or, at an even more basic level, is external drag and drop allowed in compatibility? http://doc.4d.com/4Dv16R6/4D/16-R6/Compatibility-page.300-3561530.en.html ** 4D Internet Users Group (4D iNUG) FAQ:

Re: v13+ Progress component, and other components

2018-06-11 Thread Keisuke Miyako via 4D_Tech
you are working on a component that "wraps" around another component? just as a reminder, the progress component is open-source since v16, partners have ways to customise and distribute them. > 2018/06/11 23:21、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: > In component (wrappers for

Re: v16 Time picker - bound variable changed

2018-06-11 Thread Keisuke Miyako via 4D_Tech
it is a bug that was fixed in 16.3 Hotfix 1 (latest is Hotfix 4) ACI0097700 2018/06/12 0:40、David Samson via 4D_Tech <4d_tech@lists.4d.com> のメール: Should I be defaulting the time on the on-load of the holding form now? Or is it something else?

Re: v13+ Progress component, and other components

2018-06-11 Thread Keisuke Miyako via 4D_Tech
remember, "progress" is itself a component, so your callback method is always called from outside (EXECUTE METHOD) . the method must be shared. > 2018/06/11 23:21、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: > > I do not understand why I am getting this error, as the callback method >

Re: 2 instances of 4D connected to different 4D Servers

2018-06-19 Thread Keisuke Miyako via 4D_Tech
Altura Mac2Win dependency is what was preventing 4D from launching multiple times. with 4D 64-bits (beta in 16.0 and available as of 16R2 and later, not 16.x where x !=0) you can start multiple instances (double click again, shift select from task bar, etc) but the feature is intentionally

Re: 2 instances of 4D connected to different 4D Servers

2018-06-19 Thread Keisuke Miyako via 4D_Tech
"4D Developer" mean desktop with design mode. in other words, not 4D Remote, 4D Volume Desktop or 4D Server. I think 4D v11 SQL actually had that name. I guess so many things are called "4D" it sometimes needs a qualifier... > 2018/06/20 8:12、John Baughman via 4D_Tech <4d_tech@lists.4d.com>

Re: Moving Methods/Forms between structures seems disabled

2018-06-10 Thread Keisuke Miyako via 4D_Tech
I am very sorry that the statement came across as blunt. I meant, compare the settings on structure A versus structure B (which you evidently have already done). > 2018/06/11 11:15、Randy Engle via 4D_Tech <4d_tech@lists.4d.com> のメール: > > Not sure what you are referring to "did you compare"? >

Re: Alternate compound keys

2018-05-29 Thread Keisuke Miyako via 4D_Tech
primary keys in 4D (v14 or later) are only used as the definitive record identifiers for a very limited set of built-in features journaling/mirroring SQL (replication/synchronisation in particular) 4D Mobile/ORDA unless you are using it for journaling or SQL or ORDA, they are not primary keys

Re: Best way to test for a specific version of an application

2018-05-29 Thread Keisuke Miyako via 4D_Tech
it's possible to install in non-standard locations, more specifically, arbitrary sub-directories. it's possible to install/launch multiple version of Office on the same computer, It's possible to install select items out of the Office suite. so the request must be define more specifically. ---

Re: Best way to test for a specific version of an application

2018-05-29 Thread Keisuke Miyako via 4D_Tech
I remember used the same tip in this one: https://github.com/miyako/4d-plugin-office-document-converter 2018/05/30 11:24、Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> のメール: Due to sandboxing requirements with Office 2016 and Sierra, you have to jump through some

Re: Best way to test for a specific version of an application

2018-05-29 Thread Keisuke Miyako via 4D_Tech
if you are using AppleScript there is a version property available in the language. it should be better to query the information in the same execution context. 2018/05/30 11:24、Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> のメール: Excel via AppleScript

Re: Flexible SVG ID Strategy

2018-06-05 Thread Keisuke Miyako via 4D_Tech
SVG is XML, so you can have as many namespaces as you like. in all of my SVG editors I define a private namespace, which contains extended information such as group ID. it also helps to store transform values (rotate, scale, translate) as individual attributes in said namespace, so much easier

Re: 4D Write Pro: traverse throught all available headers and footers

2018-05-29 Thread Keisuke Miyako via 4D_Tech
when you say "it misses an expression" do you mean ST Get content type doesn't report "ST Expression type" (for instance you get mixed type) or do you mean ST Get expression doesn't return an expression (maybe you should start from 1, not ST Start text) ? > 2018/05/30 0:05、Piotr Chabot

Re: STARTTLS - send secure email 4D v15.5

2018-06-30 Thread Keisuke Miyako via 4D_Tech
keep in mind that the effect of "1" (use SSL) has been adjusted over the years. in v12.1, when SSL was first introduced, it simply meant "SMTP over SSL" a.k.a. implicit SSL. this is the kind SSL that is considered "less secure", for example by Google, where the user must explicitly turn on

Re: Command name but what about Keywords?

2018-07-02 Thread Keisuke Miyako via 4D_Tech
As Patrick pointed out, the idea is to test the current language (use something like "True", which to know to have different tokens) once you run METHOD SET CODE (well actually, you should run twice to tokenise forward-referenced project methods) then keywords such as "If" will automatically

Re: v13 - Konstants [Solved]

2018-06-27 Thread Keisuke Miyako via 4D_Tech
I might do it manually, I might do it by code (XML or 4D tags). in general the code would be so specific to the work, I would happily trash it by the end of the day. I don't use 4D Pop at all, its a choice but not the law. as for the comment on Menu_@ vs @_Menu, it may simply be an issue of

Re: v13 - Konstants [Solved]

2018-06-26 Thread Keisuke Miyako via 4D_Tech
when defining constants.xlf it's really important to use UUID to avoid conflicts, since you have no idea of what other plugin, components (private and public) have defined and will define after yours is loaded. something like: > > http://www.4d.com/d4-ns;> > > > Common Crypto plugin > > >

Re: 4D Write, pictures in page, frozen document, to 4D Write Pro

2018-07-02 Thread Keisuke Miyako via 4D_Tech
The "Tip" was based on macOS native PICT to PDF conversion. Write Pro does not use PICT to store previews, in fact, it does not store renderings of any kind, so one must use WP PRINT and invoke the printing mechanism in order to generate PDF.

Re: 64 vs 32 Bit 4D

2018-04-30 Thread Keisuke Miyako via 4D_Tech
also in language reference: http://doc.4d.com/4Dv16R6/4D/16-R6.1660/Not-for-32-bit-versions_3546700.999-857020.ja.html > 2018/05/01 7:38、Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> のメール: > Never mind. I just needed to hit “send” so I could find my own answer! >

Re: Import data in 4D format using XML

2018-04-30 Thread Keisuke Miyako via 4D_Tech
the docs reads: When you pass this parameter, the import is carried out directly, without any user intervention (unless you use the * option, see below). http://doc.4d.com/4Dv16R6/4D/16-R6.1660/Not-for-32-bit-versions_3546700.999-857020.ja.html > 2018/04/29 20:39、Two Way Communications via

Re: Testing for Null is superior to OB is defined

2018-04-30 Thread Keisuke Miyako via 4D_Tech
the command "Split string", although generic, was specifically created to help parse dot notation. http://doc.4d.com/4Dv16R6/4D/16-R6/Split-string.301-3644822.en.html 2018/05/01 1:27、John DeSoi via 4D_Tech <4d_tech@lists.4d.com> のメール: One feature that I think is

Re: 64 bit 15.6 database on Mac OS X Server - sharing of our experience

2018-05-01 Thread Keisuke Miyako via 4D_Tech
sounds similar to ACI0097483 (=ACI0097510) https://bugs.4d.fr/fixedbugslist?version=16.3_HF2 good news I suppose is that it should not happen in v16... ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Old String resources

2018-04-29 Thread Keisuke Miyako via 4D_Tech
it did not "go away", at least in 32-bit versions, but you'd need to put the RSR file inside your resources folder. (until 2004, they could be placed adjacent to the structure folder) http://doc.4d.com/4Dv16R4/4D/16-R4/Deprecated-or-removed-features-in-v16-product-range.200-3425465.en.html jump

Re: HTTPS Connection for Web Module

2018-04-29 Thread Keisuke Miyako via 4D_Tech
in your URL do you specify the HTTPS port number, or is it set to 443 in your 4D database settings? ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

Re: 9913 SOAP errors

2018-04-29 Thread Keisuke Miyako via 4D_Tech
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

Re: Is a package preferred?

2017-10-19 Thread Keisuke Miyako via 4D_Tech
I think the difference is largely cosmetic, but spotlight might fail to locate files inside a package. (resources, for example) > 2017/10/20 7:41、Robert ListMail via 4D_Tech <4d_tech@lists.4d.com> のメール: > Regarding best practices, what approach do you favor? Do we like packages? :)

Re: Combine pictures in v15

2017-10-19 Thread Keisuke Miyako via 4D_Tech
F.Y.I. picture operators were updated in v14 http://doc.4d.com/4Dv15/4D/15.4/Picture-Operators.300-3274678.en.html > (*) The functioning of the exclusive superimposition (&) and inclusive > superimposition (|) operators is modified starting with 4Dv14 following the > update of the display

Re: Working 4Dv15 Windows

2017-10-19 Thread Keisuke Miyako via 4D_Tech
it doesn't sound like a typical experience. could it be possible that you work with a special configuration? screen DPI font font size incompatible Direct2D hardware acceleration (need to update firmware, for example) http://doc.4d.com/4Dv15/4D/15.4/SET-DATABASE-PARAMETER.301-3274410.en.html

Re: How to set the file name of a QR Report to disk file.

2017-12-29 Thread Keisuke Miyako via 4D_Tech
> I wish that the command isolated the file name in another parameter so that > I could use a memorized access path number in the directory parameter. Guess > I can’t have it all. > > $path:=Select document(System folder(Documents folder)+$path;"";"Report > name:";File name

Re: On Column Resize event

2018-01-04 Thread Keisuke Miyako via 4D_Tech
if what you want is equal distribution of growth, then there is another v16 feature that does that: https://blog.4d.com/listbox-columns-auto-resizing/ > 2018/01/05 2:13、Piotr Chabot Stadhouders via 4D_Tech <4d_tech@lists.4d.com> > のメール: > > When setting the Horizontal sizing option of the

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Keisuke Miyako via 4D_Tech
this example contains both $4d and URL-based callbacks. https://github.com/miyako/4d-tips-web-area-charts see also https://github.com/miyako/4d-utility-compare-webarea-features --- either way, web server license is totally unnecessary. URL-based callback doesn't talk to the web server, it

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Keisuke Miyako via 4D_Tech
the difference between system vs embedded is more significant on Windows, but in general, if a JS/CSS/HTML feature is missing, there should be a decent polyfill to cover that. the embedded engine is CEF on v16 64-bit, not the somewhat outdated version of WebKit, which generally delivers

Re: Using web areas in v16, is there a way to 'talk back' to 4d...

2018-01-04 Thread Keisuke Miyako via 4D_Tech
I should have been more clear. in the examples posted, $4d is used if the web area is integrated, but a URL-based callback is used if the web area is system. 2018/01/05 9:50、Lee Hinde via 4D_Tech <4d_tech@lists.4d.com> のメール: Thanks Keisuke, but the integrated webkit

Re: Database locked in merged application

2017-12-21 Thread Keisuke Miyako via 4D_Tech
one thing to keep in mind is that Default.4DD is always opened in R/O mode in a built application. the main objective of this feature is to suppress the "select or create data file" dialog on startup. I understand your app is meant to be R/O, but normally, there should be code to find and switch

Re: SFTP and Internet Commands

2017-12-23 Thread Keisuke Miyako via 4D_Tech
some FTP servers don't expect direct connection to port 990 (implicit), they want you to first connect to port 21 and switch over to FTPS. (explicit) https://en.wikipedia.org/wiki/FTPS when that is the case, you need to add the following option: "USE_SSL";"USESSL_TRY"

Re: SFTP and Internet Commands

2017-12-23 Thread Keisuke Miyako via 4D_Tech
to be clear: - set the protocol to ftps:// if you want to use implicit FTPS - set the protocol to ftp:// and add the option USE_SSL if you want to use explicit FTPS also, setting a "CAINFO" path and "SSL_VERIFYPEER" to 0 contradict each other. > 2017/12/24 1:27、ADeeg via 4D_Tech

Re: Programmatically Manage Parent Tab an Multi-Subforms

2017-12-24 Thread Keisuke Miyako via 4D_Tech
Hello, I may be missing some critical elements of your design, but given the basic construct of a tab control parent and a subform child: - I would remove "goto page" as the tab control's standard action and keep the parent on page 1 at all times. - I would either use the same process variable

Re: Creating .docx files

2018-01-18 Thread Keisuke Miyako via 4D_Tech
although it's true that DOCX files are created using the zip algorithm, you can't just zip a folder and change it's fie extension; that's not how it works. to prove that point, you could change the extension of a valid DOCX to ZIP, zip it back, and change it's extension back to DOCX. it's now a

Re: v16 List Box Set Enterable not working?

2018-01-21 Thread Keisuke Miyako via 4D_Tech
I can't say if it is a bug, but the "standard" way to disable cell entry is to reject it in the On Before Data Entry event. http://doc.4d.com/4Dv16/4D/16.3/Managing-List-Box-Objects.300-3651812.en.html jump to "Managing entry" 2018/01/22 12:41、4d--- via 4D_Tech

Re: 4D SQL Question

2018-01-22 Thread Keisuke Miyako via 4D_Tech
Not so dissimilar from your idea but you could do Begin SQL SELECT * FROM [myTable] LIMIT 0 into LISTBOX :myListbox; End SQL ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: The writing is on the wall

2018-01-25 Thread Keisuke Miyako via 4D_Tech
blog: https://blog.4d.com/easily-create-cross-tables-reports-with-the-quick-report-editor/ doc: http://doc.4d.com/4Dv16R5/4D/16-R5/Overview.300-3509185.en.html --- thinking aloud: the HTML template feature http://doc.4d.com/4Dv16R5/4D/16-R5/QR-SET-HTML-TEMPLATE.301-3481576.en.html which is

Re: Keystroke handling

2018-01-25 Thread Keisuke Miyako via 4D_Tech
perhaps you could use OBJECT SET EVENTS http://doc.4d.com/4Dv16/4D/16.3/OBJECT-SET-EVENTS.301-3651506.en.html to disallow the default button's click event during text edit. (its more subtle than disabling them) > 2018/01/26 0:35、Jim Crate via 4D_Tech <4d_tech@lists.4d.com> のメール:T > I’m not

Re: Parsing output from EXPORT STRUCTURE

2018-01-17 Thread Keisuke Miyako via 4D_Tech
perhaps the xml contains RTF comments that fails the parser... > 2018/01/18 1:07、Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> のメール: > When I try using DOM Parse XML variable I get the error message 'The XML file > is not valid or is not well-formed. (no declaration found for element >

Re: Best way to fill a variabe with styled text?

2018-01-17 Thread Keisuke Miyako via 4D_Tech
windows=96DPI, mac=72DPI so the ratio is always 4:3. c.f. DPI used for internal pixels <->points conversion (integer). Always 96 (read-only) http://doc.4d.com/4Dv16R4/4D/16-R4/4D-Write-Pro-Attributes.300-3332062.en.html 2018/01/18 1:27、Piotr Chabot Stadhouders via 4D_Tech

Re: File Size

2018-01-14 Thread Keisuke Miyako via 4D_Tech
KB = 1000 bytes KiB = 1<<10 bytes https://en.wikipedia.org/wiki/Kibibyte ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options:

Re: Keystroke handling

2018-01-24 Thread Keisuke Miyako via 4D_Tech
the "On Losing Focus" event fires as a "result" of another object taking its focus way. is the default button focusable? I don't think you can write generic code without knowing the next/previous object in entry order. also, keystrokes are not the only way to edit text, it can be drag and

Re: Win32API 8.1.2 gui_GetWindowEx("") in v16r5

2018-01-29 Thread Keisuke Miyako via 4D_Tech
if you just need to get the coordinates then the native command should do the job http://doc.4d.com/4Dv16/4D/16.3/GET-WINDOW-RECT.301-3651735.en.html else https://github.com/miyako/4d-plugin-mdi or https://github.com/miyako/4d-plugin-window-control

Re: Win32API 8.1.2 gui_GetWindowEx("") in v16r5 (Seth Leeper)

2018-01-30 Thread Keisuke Miyako via 4D_Tech
to be clear, you don't need a "v16" SDK to support v16 or v16 R releases. the SDK version is only bumped when there is a major change to the architecture, in my 10+ years of using it, that has only happened 4 times: v2004 (mach-o bundle) v11 (unicode mode) v12 (64-bit for windows) v14 (64-bit

Re: Problems installing built application

2018-01-30 Thread Keisuke Miyako via 4D_Tech
extended finder attributes cause code sign to fail, but of course, clearing them with xattr mean little if the app is not signed in the first place. basically, if you don’t sign a built application, you have no choice but to ask the end user to disable gate keeper for the app, and install it

Re: Styled text to clipboard - v16

2018-02-01 Thread Keisuke Miyako via 4D_Tech
that would be INVOKE ACTION http://doc.4d.com/4Dv16R4/4D/16-R4/INVOKE-ACTION.301-3316995.en.html see also: https://blog.4d.com/discover-and-use-standard-actions/ https://blog.4d.com/more-standard-actions-for-styled-text/ https://blog.4d.com/create-your-own-interface-for-4d-write-pro/

Re: Value of Deselected Radio Button not updated when RBs are built via Object Duplicate

2018-02-02 Thread Keisuke Miyako via 4D_Tech
I don't think that's possible. grouping by variable name is a "compatibility" (I refrain from calling it deprecated) feature since v2004. in general, compatibility features can go way at any time after 3 major versions. indeed, form objects can have no variable names since v12, and that is now

Re: USB Communication

2018-02-02 Thread Keisuke Miyako via 4D_Tech
Hello, my experience in this domain is limited, but as far as know: on Mac, you can use libusb to control the USB directly, as long as the device does NOT have driver installed. for example, I did this to receive images from SANE scanners (ScanSnap, which is neither ImageCapture or TWAIN)

Re: ImageCaptureCore - to Variable?

2018-02-01 Thread Keisuke Miyako via 4D_Tech
the callback signature, as explained the sample DB, is $1 C_LONGINT: param_scan_type $2 C_TEXT: param_scan_path $3 C_BLOB: param_scan_data $4 C_TEXT: param_scan_context_info $4 contains parameters such as dataSize dataNumRows dataStartRow bytesPerRow numComponents bitsPerComponent

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