Re: Datepicker widget

2017-01-11 Thread info
> I’m looking for a better date picker widget (native 4D code) that has direct > month and year selection. > > The one I have requires scrolling through months one-at-a-time. did you see this announcement? Publication of 4D Progress & 4D Widgets source code

Re: Windows users

2017-01-11 Thread Koen Van Hooreweghe
Hi Ferdinando, An other way to look at it: store the local machine IP in your data upon startup of the client. And eventually the disconnect when quitting. The advantage is you can have a history of which client connected from which IP. HTH Koen Op 11-jan.-2017, om 07:48 heeft stardata.info h

Re: OB commands, confirming a few points

2017-01-11 Thread Wayne Stewart
David, Peter Hay uses a nifty method of appending a type indicator onto the property name. So you instead of OB SET ARRAY($MyObject_o; "My Array" ; $MyBooleanArray_ab) OBW_SetArray ($MyObject_o; "My Array" ; ->$MyBooleanArray_ab) Within OBW_SetArray you determine the type of the array and appe

Re: OB commands, confirming a few points

2017-01-11 Thread David Adams
Wayne, thanks for posting Peter's trick. It seems like a decent work-around for this problem. Not as good as having a complete command suite, but helpful in getting the job done. Thanks! ** 4D Internet Users Group (4D iNUG) FAQ:

4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Piotr Chabot Stadhouders
Hi, 4D v15.3, Windows I know in the past (4D v13 / v14) It wasn't possible to use an application, build with 4D volume desktop, in a write protected environment. However, when dealing with hosting parties delivering citrix environments, they almost always demand applications to be installed in

Re: OB commands, confirming a few points

2017-01-11 Thread JPR
[JPR] > From: David Adams Hi David, > but he doesn't seem to have had time to respond. OK, I apologize ;-) But in fact, I do not have time... Before giving some explanations, I would like to point out that while Objects are widely used in DB4D and Wakanda, this concept is pretty new in 4D, a

Re: Initiating a new process

2017-01-11 Thread Kirk Brooks
Hi Olivier, Nice post too. My email que works much the same way. BTW - I gather from the photo 4D Inc. creates little 3D replicas of their French users - do you all do the same for the rest of us? On Tue, Jan 10, 2017 at 10:25 PM, Olivier Deschanels < olivier.deschan...@4d.com> wrote: > Hello Ki

Re: 4D v13 on Sierra

2017-01-11 Thread Jim Medlen
An issue that I am aware of is that on Sierra when copying and pasting into a form field it looks as if there is an additional space after the highlighted text which is not there. Another way to describe it is that the curser is not positioned immediately after the text and floats the distance o

Re: OB commands, confirming a few points

2017-01-11 Thread Kirk Brooks
David, On Tue, Jan 10, 2017 at 10:01 PM, David Adams wrote: > It seems > ​ ​ > impossible to determine the type of an array stored in a 4D "object" using > native 4D commands. Full stop. If that's true, I have to say that I'm a bit > dumbfounded. If you need to know the internals of an object in

Re: Windows users

2017-01-11 Thread stardata.info
Hi Koen, I have need of the ip number of the phisical pc that enter with remote desktop. If i use IT_MyTCPAddr i obtain the ip number of the server on wich run the client, but not the ip number of the pc that enter in remote desktop. /Ferdinando/ Il 11/01/2017 16:09, 4d_tech-requ...@lists.

Re: Windows users

2017-01-11 Thread Koen Van Hooreweghe
Hi Ferdinando, If you execute IT_MyTCPAddr in your On Startup method, you should get the client IP address on the client computer. Then you can store that address in your database eg together with the client computer name and/or username. Then you can read this data in a stored procedure on the

[ANN] hmReports 5.0 available for 4D v15 and v16

2017-01-11 Thread Christian Sakowski
Today, heubach media released version 5.0 (Build 27816) of hmReports. hmReports is a plug-in developed by heubach media (http://www.hmplugins.com), Hamburg, Germany for 4th Dimension. Version 5 is a huge leap for reporting and drawing capabilities in 4D with hmReports. „The main focus for this

[ANN] Pluggers Software releases NTK Plugin 3.1

2017-01-11 Thread Rob Laveaux
NTK Plugin has been updated to version 3.1. This update includes more new features and some bug fixes. - New commands for working with JSON Web Tokens (JWT). Generate and validate JSON Web Tokens. - New JSON commands: JSON Copy, JSON Clear, JSON Update and JSON Equals. - Gzip Compress Blob now s

Win32API 8.1.2 Release

2017-01-11 Thread William Ford
Win32API version 8.1.2 is available now on GitHub. Changes in this version: Bug Fixes * Fixed an issue with sys_GetCommandLine that caused it not to work under 4D v15. * Fixed an issue with gui_GetOpenFileName and guiGetSaveFileName that could cause them to not work unless the

[ANN] Pluggers Software releases Canvas Plugin 2.2

2017-01-11 Thread Rob Laveaux
Canvas Plugin is a plugin that provides a rich toolbox for drawing objects inside a plugin area and adding interactivity to those objects. Its focus is on being a versatile developer tool, that allows you to create custom user interface controls such as custom buttons, animated menu's, gantt cha

[off] battery backup and missing files

2017-01-11 Thread Chuck Miller
Hi All, I have a customer that has an APC backup attached to server (Windows). The company hat provides support is stating that due to a power failure the 4D application EXE file was deleted. I think this is smoke and mirrors and that something else is going on. Anyone ever hear of power failur

RE: [off] battery backup and missing files

2017-01-11 Thread Dennis, Neil
> Anyone ever hear of power failure/battery backup combination deleting a file. One possible thing that I can think of, is if the assumed shutdown and restart of the computer triggered a disk scan from the unexpected shutdown. A disk scan could find faulty drive sectors during the scan and repai

Re: [off] battery backup and missing files

2017-01-11 Thread Chip Scheide
A power failure along with a battery failure *could* result in file corruption, NOT deletion. Deletion requires: - an automated system (anti-virus for example) to explicitly delta the file - a user explicitly deleting the file - reinstallation of the OS - system recovery (maybe) I would not wor

Re: [off] battery backup and missing files

2017-01-11 Thread Charles Miller
On Wed, Jan 11, 2017 at 9:56 AM, Chuck Miller < cjmil...@informed-solutions.com> wrote: > They have admitted that previously on different machine it was virus > detective that quarantined the exe inquisition. I had given instructions on > white listing 4d Stuff > > > Thanks and regards > Thanks t

Re: Windows users

2017-01-11 Thread stardata.info
Koen, I already use IT_MyTCPAddr command, but i obtain the ip number of th pc on wich run 4d client. /Ferdinando/ Il 11/01/2017 19:09, 4d_tech-requ...@lists.4d.com ha scritto: Message: 2 Date: Wed, 11 Jan 2017 17:26:05 +0100 From: Koen Van Hooreweghe To: 4D iNug Technical<4d_tech@lists.4d.c

Re: OB commands, confirming a few points

2017-01-11 Thread David Adams
> On Thu, Jan 12, 2017 at 12:04 AM, JPR wrote: > [JPR] Thanks for confirming what I'd feared, that there are missing features and that they've been missing for several years. It's heartening to hear that new and powerful features are on their way. That's great! 4D has been evolving in recent ver

Re: OB commands, confirming a few points

2017-01-11 Thread David Adams
Hey Kirk, thanks for the post. I'm absolutely _not_ coming to JSON with a 4D perspective. Quite the opposite. JSON is great for many, many things. I'm just used to have tons of options for parsing it and converting it. You get that in , usually with multiple options. It's just weird that 4D doesn't

Re: Initiating a new process

2017-01-11 Thread Arnaud de Montard
> Le 11 janv. 2017 à 02:49, John DeSoi a écrit : > > [...] It would be great if 4D had a function (e.g. Method name) that takes a > *tokenized* method (not a string) and just returns the method name without > executing it. Hi John, true, very often I would scratch my head: "is it called? wh

JSON schema and some object format examples for thought/discussion

2017-01-11 Thread David Adams
I've been in a couple of threads recently regarding 4D's object and JSON commands. For background, I use JSON extensively outside of 4D and quite a bit in 4D. Until now, I've used the NTK 2.x JSON commands or rolled some simple things by hand with templates and PROCESS 4D TAGS. I've been trying to

Re: Combined Getter and Setter

2017-01-11 Thread bernard
I have published a component on Forum4D with that comment : This component emulates 4D standard commands for objects such as OB Set or OB Get to add access to properties or sub-objects by path with dot notation. It has been clearly inspired by OBJ_Module of Cannon Smith but differs by : - it emul

Re: JSON schema and some object format examples for thought/discussion

2017-01-11 Thread David Adams
...in 4D code, something like this for defining the base object's basic components: // Object_RegisterRootObject OBRegister_RegisterObject (Object is RootObject;1;"Object_New";"Object_ToText") C_BOOLEAN($required) C_BOOLEAN($optional) $required:=True $optional:=False OBRegister_RegisterObject (O

Re: JSON schema and some object format examples for thought/discussion

2017-01-11 Thread David Adams
D'oh! Darn kids! The broke into my yard and messed up my code. (Angry old man shakes fist at cloud...) The previous example is pretty confusing because I'm calling the wrong routine to register elements. (I haven't written this bit of code yet.) OBRegister_RegisterObject (Object is RootObject;1;"O

Re: JSON schema and some object format examples for thought/discussion

2017-01-11 Thread David Adams
...and take the prior as a sketch. Still working out the best way to organize type descriptors in this case. I want to be able to figure out the raw JSON type, if it's an array, what type it goes into in 4D (most important for arrays), and if there is any kind of extra type magic ("abstract" type)

Re: JSON schema and some object format examples for thought/discussion

2017-01-11 Thread David Adams
And, yes, my manic stream of emails *is* very much the equivalent of an unboxing video ;-) "Hey guys! I'm checking out the C_OBJECT commands today, let's open the docs!" ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.c

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread John DeSoi
Hi Piotr, > On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders > wrote: > > So, my question is (again) : > Does anybody know of a way to run an application build with 4D Volume Desktop > in a write protected citrix environment, without using virtual store and > elevated privileges? > Now,

Re: Initiating a new process

2017-01-11 Thread John DeSoi
Hi Arnaud, > On Jan 11, 2017, at 4:42 PM, Arnaud de Montard wrote: > > Hi John, > true, very often I would scratch my head: "is it called? where?"… until > Vincent de Lachaux saved my hair by showing a nice use of 'Method called on > error' on 4dbb. Shortly, the method embeds its own error ha

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Wayne Stewart
Hi, There is no way to do this. 4D writes into the application directory. Someone please correct me if I'm wrong. Regards, Wayne Wayne Stewart about.me/waynestewart On 12 January 2017 at 12:36, John DeSoi wrote: > Hi Piotr, > > >> On Jan 11, 2017, at 4:55 AM, Piotr Chabot Stadhouders >>

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Spencer Hinsdale
The v15 R4 Upgrade docs show features to store the Data File Path in User Prefs, etc... ftp://ftp-public.4d.fr/Documents/Products_Documentation/LastVersions/Line_15R4/VIntl/4D_Upgrade_v15_R4.pdf

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Wayne Stewart
Hi, I think the question is not only data file but structure as well. Problems: Storage of lists Logs Preferences Regards, Wayne Wayne Stewart about.me/waynestewart On 12 January 2017 at 13:09, Spencer Hinsdale wrote: > The v15 R4 Upgrade docs show features to store the Data File Path in

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Spencer Hinsdale
i think the question is how to make it run. first you check the checkbox, "Do not display warning when structure file is in read only". then you write some code to open a writeable data file and remember where it is. :) > On Jan 11, 2017, at 6:11 PM, Wayne Stewart wrote: > > Hi, > > I think

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Wayne Stewart
Thanks, I'll have to check that out Regards, Wayne Wayne Stewart about.me/waynestewart On 12 January 2017 at 13:38, Spencer Hinsdale wrote: > i think the question is how to make it run. first you check the checkbox, > "Do not display warning when structure file is in read only". then yo

Re: 4D Volume desktop v15/v16 in write protected folder

2017-01-11 Thread Justin Carr
And you also need to run the application once from a writeable area before you move it to the non writeable media. > On 12 Jan 2017, at 12:38 pm, Spencer Hinsdale wrote: > > i think the question is how to make it run. first you check the checkbox, > "Do not display warning when structure fil

Re: OB commands, confirming a few points

2017-01-11 Thread JPR
[JPR] > Thanks for confirming what I'd feared, that there are missing features and > that they've been missing for several years. I fully agree with you, David! And this problem is recurrent! Since I know 4D (1984), it has always been missing features,and I'm still waiting for missing features