Re: v13 - 202 user processes on server, 1 client

2017-02-20 Thread Chip Scheide via 4D_Tech
various user side tasks/processes. On Mon, 20 Feb 2017 08:43:24 -0800, Kirk Brooks via 4D_Tech wrote: > Chip, > Did you note what they were doing? > > On Mon, Feb 20, 2017 at 8:39 AM, Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I was just

v13 - 202 user processes on server, 1 client

2017-02-20 Thread Chip Scheide via 4D_Tech
I was just looking at the server computer for another reason not related to 4D. The console window of 4D server was showing 202 user processes. There is/was 1 user connected, me. There were NO open user processes on the client side. I attempted to 'Abort' some of the processes - to no effect. I

Re: Question about storing data outside of datafile

2017-02-17 Thread Chip Scheide via 4D_Tech
one caveat: OS X 10.6 and 4D v12 I have not tested on newer systems I have had problems with very large files (500 meg and over). Also - beside to "clean" your file names before trying to save them, this is especially true if your system(s) run ion a mixed platform environment. Windows can be

Re: AW: Question about storing data outside of datafile

2017-02-17 Thread Chip Scheide via 4D_Tech
I use a record. document to blob then Blob to document - client to server, or server to client. An alternative would be to use FTP and launch this with LEP, but I see that as just another piece to have to manage. Variable to variable - I don't like (see various comments by David Adams) Never

Re: Question about storing data outside of datafile

2017-02-16 Thread Chip Scheide via 4D_Tech
I use a separate process to move the file(s) from client to server. Because i work inside transactions a lot. copy file to blob (document to blob) save record daemon on server watches for files (it is actually kicked awake when a file is transferred) ; extracts them (blob to document), and

v13 - SQL - how to mdofiy existing field?

2017-02-23 Thread Chip Scheide via 4D_Tech
I created, in v12 a number a field in a number of tables ' journal_key' which was/is to be the UUID field for journaling. It was/has never been populated. When I created the field in v12 I did not want to fight with the UUID issues present. Now, in v13 I am looking to implement this

Re: Better variable names

2017-02-23 Thread Chip Scheide via 4D_Tech
it is all in the stars David :) > > Does anyone know, is there an actual 'vote' mechanism, or are you just > supposed to put down a +1 post? Hell is other people Jean-Paul Sartre ** 4D Internet Users Group

Re: v13 - Any way to set a Form Property programatically

2017-02-14 Thread Chip Scheide via 4D_Tech
Peter, so.. No! v13 does NOT have this command. On Tue, 14 Feb 2017 04:51:33 -0700 (MST), Peter Lerch via 4D_Tech wrote: > Chip Scheide wrote >> so... >> No > > so... > Yes > > ARRAY LONGINT($MyFormEvents;1) > $MyFormEvents{1}:=On Unload > OBJECT SET EVENTS(*;"";$MyFormEvents;Enable events

Re: Where is the error?

2017-02-14 Thread Chip Scheide via 4D_Tech
not sure what you are doing.. 26655216 is more then 7400 hours If $Duration is negative then <>StartSampleArray{$i} is larger then the next array element value (<>StartSampleArray{$i+1}) Since 26655216 seconds is 7400 hours, or if the the value 26+ million is milliseconds is still over 7.4

Re: Better variable names

2017-02-25 Thread Chip Scheide via 4D_Tech
is there a forum feature request for these? :) > > That said, on inug I'm very frustrated because I can't add picture, > show code correctly, add a link, and so on. Hell is other people Jean-Paul Sartre **

v12 - Query problem

2017-03-01 Thread Chip Scheide via 4D_Tech
I have a query being run Query([table];$Query_Field-> = Date(s_Search_Start)) $Query Field is [table]Sent_Date (a date field) s_Search_Start = "02/27/17" If I run the query (in code) the result is 46 records. In debugger Creating an interprocess set, and using the set in the 'user

Re: repost : Printer selection issue

2017-03-24 Thread Chip Scheide via 4D_Tech
:38:37 +0100, Arnaud de Montard via 4D_Tech wrote: > >> Le 23 mars 2017 à 16:49, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> I am having an issue with printer selection. >> [...] >> The users know, or at least should know by now,

y2038 -- is 4D ready?

2017-03-28 Thread Chip Scheide via 4D_Tech
Just reading an article about the next Y2K - y2038. IN this year many systems that use 1970 as a base starting point for time will exceed the 32bit integer used to track seconds. Is 4D, natively, y2038 safe? --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for

Re: v13 anyone printing 'raw' listboxes?

2017-03-24 Thread Chip Scheide via 4D_Tech
Thanks - good timing :) On Fri, 24 Mar 2017 12:29:09 -0700, Douglas von Roeder via 4D_Tech wrote: > Chip: > > Check out the home page - http://4dtoday.com > > -- > Douglas von Roeder > 949-336-2902 > > On Fri, Mar 24, 2017 at 12:22 PM, Chip Scheide via 4D_Te

v13 anyone printing 'raw' listboxes?

2017-03-24 Thread Chip Scheide via 4D_Tech
I am trying and getting nothing any pointer appreciated Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

Re: y2038 -- is 4D ready?

2017-03-29 Thread Chip Scheide via 4D_Tech
last I knew (this could easily have changed) Sequence number range is +/- MAX LONGINT (so ~2.1 x 10^9) On Wed, 29 Mar 2017 18:38:56 +0800, Alan Chan via 4D_Tech wrote: > 4D would support 64bit integer by then. If not, sequence number (or > auto-increment) would be the first one to get in

repost : Printer selection issue

2017-03-23 Thread Chip Scheide via 4D_Tech
I am having an issue with printer selection. On Mac OS X, the default printer (in 4d only?) for the first print dialog (Page Setup) is "Any Printer" I have found that the margins(?) or Page Size(?), are different than the Xerox printers that are used here, and probably different than any

v13 - Callendars and push to ical

2017-03-23 Thread Chip Scheide via 4D_Tech
I have installed a calendar into my system. It is based on, but modified from, Dave Batton's old calendar system. So it is not a plugin, nor a component. When I run the calendar system from a stand alone version of 4D the system communicates (pushes scheduled items) to iCal on the same

Re: v13 - Converting a v12 data file - missing records

2017-03-29 Thread Chip Scheide via 4D_Tech
that is where I am on this, there is only 1 data file to convert... I have the missing records exported to text, and they import correctly. I'll run MSC just to be sure, then check whether I have to import... Thanks On Wed, 29 Mar 2017 14:27:08 -0700, Kirk Brooks via 4D_Tech wrote: > > If you

Re: v13 - Converting a v12 data file - missing records

2017-03-29 Thread Chip Scheide via 4D_Tech
relation is 'direct', manual relation [requistion] <-- [Req_Items] MCS - I'll do that before the final conversion On Wed, 29 Mar 2017 16:40:18 -0400, Charles Miller via 4D_Tech wrote: > On Wed, Mar 29, 2017 at 4:37 PM, Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote:

Re: v13 anyone printing 'raw' listboxes? (Resolved)

2017-03-27 Thread Chip Scheide via 4D_Tech
i, Mar 24, 2017 at 12:22 PM, Chip Scheide via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > >> I am trying and getting nothing >> >> any pointer appreciated >> >> Thanks >> --- >>

Re: repost : Printer selection issue

2017-03-24 Thread Chip Scheide via 4D_Tech
er name show up the first time. > > - > > I guess 4D Pack can do something similar pre v15. > maybe PAGE SETUP, maybe not. > > or even, > > https://github.com/miyako/4d-plugin-core-printing > >> 2017/03/24 0:49、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com

v13 - Print settings and Setting Printers

2017-03-16 Thread Chip Scheide via 4D_Tech
I need some clarification please. Docs for Set Current Printer say : The SET CURRENT PRINTER command must be called before SET PRINT OPTION, so that the options available correspond to the selected printer. On the other hand, SET CURRENT PRINTER must be called after PAGE SETUP, otherwise the

RE: tab seperated text - what to use for Cr

2017-03-16 Thread Chip Scheide via 4D_Tech
easy to get... I am going to do a simple substation: Cr will be replaced by "" The users can 'read' it, and understand, the spacing will help to act like a return, and replacement in excel (or other program should be easy Thanks everyone On Thu, 16 Mar 2017 08:41:14 +, Epperlein, Lutz

Re: Online Documentation with Right Click on command

2017-03-14 Thread Chip Scheide via 4D_Tech
The language documentation, PDF - click on the [very tiny] PDF icon next to the title - is on an FTP server. I have had issues with FTP and Mac OS in the past, where the Mac OS tries to mount the FTP directory directly on the desktop. You can try copying the link and using something like

v13 - Select & Create Document

2017-03-14 Thread Chip Scheide via 4D_Tech
I have the following (code excerpt) attempt to create a document on disk. The Select Document dialog is fine, and shows the desired directory (default saved to #5) I can enter a file name, no problem. However... $File_Path-> after accepting the file destination and file name contains ONLY the

Re: Using a worker as an alternative to recursion

2017-03-21 Thread Chip Scheide via 4D_Tech
I believe - I am not in a version where workers are available - that workers have to be 'thread safe'. As such, you can use a worker to do parallel processing. Given that I am correct about being 'thread safe' the following works. I think that by combining the 2 ideas you have outlined here

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Chip Scheide via 4D_Tech
I came across a tool : zsDuplicateHunter I haven't used it for a long time - so not clue as to how (or if) it is has been updated > Hi Kirk! > >> On Mar 14, 2017, at 11:23 AM, Kirk Brooks via 4D_Tech >> <4d_tech@lists.4d.com> wrote: >> Robert, >> It sounds like you are doing some really

Re: v13 - Select & Create Document

2017-03-14 Thread Chip Scheide via 4D_Tech
THANKS! I didn't realize this got populated before the file was created. > After the call to Select document, the system variable Document > contains the full path to the document selected. > > John > > >> On Mar 14, 2017, at 11:21 AM, Chip Scheide via 4D_Tech

Re: Unique Files Verification Software (Mac)

2017-03-14 Thread Chip Scheide via 4D_Tech
You can try this link : http://download.cnet.com/s/duplicate-file-finder/mac/ > I guess Git does a pretty decent job at tracking changes and > movements in a designated directory, > but if you feel 4D give you the strength and flexibility to do > exactly what you want, > I have nothing against

Re: tab seperated text - what to use for Cr

2017-03-15 Thread Chip Scheide via 4D_Tech
I tried that - it too creates a new row in excel when opened/imported. On Wed, 15 Mar 2017 20:15:34 +0100, Arnaud de Montard via 4D_Tech wrote: > >> Le 15 mars 2017 à 19:46, Chip Scheide via 4D_Tech >> <4d_tech@lists.4d.com> a écrit : >> >> I am trying to

tab seperated text - what to use for Cr

2017-03-15 Thread Chip Scheide via 4D_Tech
I am trying to export some data to tab separated format. it is possible that there are carriage returns in the data. Is there a character (or combination) that I can use to replace the return to get excel to automatically wrap the text into one cell? Thanks --- Gas is for washing

Re: Form Buttons Not Showing on Windows...

2017-04-03 Thread Chip Scheide via 4D_Tech
the pictures for the buttons are not (were not) moved along with the structure. I do not know where you have them stored, resource folder, picture library, other location, but where ever it is, that folder likely needs to be moved along with the structure. BTW - not using v16 so take this

Re: Copy out of read only variable/field

2017-04-06 Thread Chip Scheide via 4D_Tech
display - variables - Enterable - On Load -- copy field data to variable - On Data Change -- copy field data back into variables I do this with a method that, if one variable is changed, it copies all data involved (about 10 fields/variable). No trying to specify which variable was changed,

Re: [OFF] Hardware advice - which new MacOS computer

2017-04-17 Thread Chip Scheide via 4D_Tech
My observation on this: Apple - Mac = more $ up front, but much longer life which means less $ in the longer run, and no "Shoved down your throat" OS updates (see Windows 10). MS - = less $ upfront, but faster turn over in machines (the organizations I've dealt with - primarily hospital

Re: Unattended Mac OS X Sierra v15.4 remote disconnects

2017-04-17 Thread Chip Scheide via 4D_Tech
try : System preferences -> Energy Saver : - Computer sleep = never - Put Hard disks to sleep when possible = off On Mon, 17 Apr 2017 15:34:10 +, Perkins, Bradley D via 4D_Tech wrote: > I spoke too soon. Client disconnects started once I left work on Friday. I > apparently have app nap

[offish] Why would you do this? (Execute Formula Question.)

2017-04-20 Thread Chip Scheide via 4D_Tech
Not to answer the original question.. sorry. But I did come across this wonderful bit of coding. Hours to try to figure out WTF was going on. TLDR; Execute Formula (method) called from within a different Execute Formula (method) Import routine : - run the code, import the data, not quite

Re: Methods, Components, Comments, and Tooltips

2017-04-21 Thread Chip Scheide via 4D_Tech
I have asked for - repeatedly - 4D to give us an automated means to "fix" this. http://forums.4d.fr/Post/EN/8282868/1/8282870#8282870 (15 votes from 2012) Basically - a means to change unchanged object names (variable1, Field3 etc) to AT LEAST the variable name, but with an option to pre/post

Re: Methods, Components, Comments, and Tooltips

2017-04-21 Thread Chip Scheide via 4D_Tech
What does this project method look like? Case of :(form event=) case of :(Last object = ) do stuff On Fri, 21 Apr 2017 07:49:11 -0500, John DeSoi via 4D_Tech wrote: > I recently embarked on an automated testing project and implemented > the advantages you mention by

v15 OS X 10.9.5 -- set print option ignored

2017-04-19 Thread Chip Scheide via 4D_Tech
I am printing reports for a couple of records. My code for print settings (see below) accepts as a parameter a looping counter, so the user is not presented with print dialogs for every record/report when printing 2 or more reports/records. If the loop counter is 1 or less, the user is

Correction : v12 OS X 10.9.5 -- set print option ignored

2017-04-19 Thread Chip Scheide via 4D_Tech
On Wed, 19 Apr 2017 12:51:51 -0400, Chip Scheide via 4D_Tech wrote: > I am printing reports for a couple of records. > My code for print settings (see below) > accepts as a parameter a looping counter, so the user is not presented > with print dialogs for every record/report whe

v12 - single sided printing ignored

2017-04-19 Thread Chip Scheide via 4D_Tech
In the (second) print dialog, I specifically set the option to print 1 sided. This is being ignored and I am getting duplex printing. I have checked the printer's defaults - and it is set to 1 sided printing. Ideas? Thanks Chip --- Gas is for washing parts Alcohol is for drinkin'

v13 and OS X 10.12

2017-04-13 Thread Chip Scheide via 4D_Tech
I am slowly leap frogging versions of OS X and 4D. Moving from 4D v2003 and v12 to v13, and OSX 10.6.8 to 10.9.? The next step will be to move to v14, 15, or 16 of 4D before moving to 10.0(?), .11(?), .12(?). However in the mean time, we need to replace a Mac computer, and a new Mac will have

Re: Unattended Mac OS X Sierra v15.4 remote disconnects

2017-04-17 Thread Chip Scheide via 4D_Tech
this probably should be on try it - worst case it has no effect... On Mon, 17 Apr 2017 19:17:47 +, Perkins, Bradley D via 4D_Tech wrote: > > [ ] Prevent computer from sleeping automatically when display is off. --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is

v15 - html/help viewer documentation

2017-04-19 Thread Chip Scheide via 4D_Tech
WI found, and DLed the PDFs, where can I find html/help viewer versions of the documentation? Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D

Re: components - questions about variable scope

2017-04-22 Thread Chip Scheide via 4D_Tech
uch as: does the file path point to a non-text var or field does the the save field point to a blob is the current user authorized (admin or designer) and if the method fails - give back to the host the error -- separately - from the function value returned. > >> Le 21 avr. 201

Re: components - questions about variable scope

2017-04-22 Thread Chip Scheide via 4D_Tech
ble > > Note that 4D does not complain if there is a $0 value returned and not used > at all. > > > > > > > > > Regards, > > Wayne > > > [image: --] > Wayne Stewart > [image: http://]about.me/waynestewart > <http://about.me/waynestewart> &g

components - questions about variable scope

2017-04-21 Thread Chip Scheide via 4D_Tech
I am working on my first component - all the chat about them :) process and inter process variables what can be seen by the component of/from the host, and vis-verse At the moment - I am looking at an inter process var in my nascent component, can the host database see this? if I change an IP

Re: Bug or feature?

2017-03-03 Thread Chip Scheide via 4D_Tech
came across this minutes before your post... not related but I could not help myself :) https://i.redd.it/njhwg6drc2jy.jpg On Fri, 3 Mar 2017 10:06:18 -0500, Jeffrey Kain via 4D_Tech wrote: > The following behaves differently in interpreted vs. compiled: > > C_OBJECT($oResponse) >

Re: Force the execution of an object method

2017-03-12 Thread Chip Scheide via 4D_Tech
write a project method My_Code_For_Object_xxx (needed_Parameters; including_Form_Event; and_or_Object_pointer) Then you can access the code from anywhere. If you are looking for an object reference in your method you can get a pointer to the form object, and you can pass in whatever form event

Re: Tables created with SQL CREATE TABLE command and triggers

2017-03-08 Thread Chip Scheide via 4D_Tech
On Wed, 8 Mar 2017 09:19:35 +, Pat Bensky wrote: > Hi Chip, > The problem with that scenario is that it would preclude the use of 4D > features such as the report editor, 4DWrite, label editor, etc. - all > things that our customers use. Or we would have to roll out our own, which > I'm not

Re: Users & Groups (What is "proper access privileges"?)

2017-03-13 Thread Chip Scheide via 4D_Tech
generically: Administrator Designer can access, BUT especially for creating it is not recommended. When I access (through code) the User/Group system I always change the user privs to Administrator. On Mon, 13 Mar 2017 15:21:01 -0400, Jeremy French via 4D_Tech wrote: > What is meant by "proper

Re: Online Documentation with Right Click on command

2017-03-14 Thread Chip Scheide via 4D_Tech
Doc.4d.com for the files to download as a note: if you know the command and type it and the left parenthesis the parameters show up in the 'status bar'(bottom of the window) ex: Save Record( Save Record {(aTable)} On Tue, 14 Mar 2017 10:28:21 -0600, G-Mail via 4D_Tech wrote: > I have got

Re: Strategy to allow one user to drop another from the server...

2017-03-06 Thread Chip Scheide via 4D_Tech
execute on client (Quit 4d) getting it to right client might be the trick :) On Mon, 06 Mar 2017 13:23:11 -0800, rooftop99--- via 4D_Tech wrote: > Hi, > > In a large client/server install we are implementing a function to > allow one user (client) to drop another from the server. It seems

Re: Copy or Drag from a listbox?

2017-03-06 Thread Chip Scheide via 4D_Tech
I do not have any ideas to add to the suggestions for getting the data out of 4D. BUT - to D multiple line hold the option/alt key while dragging On Tue, 7 Mar 2017 08:26:04 +1300, Keith Goebel via 4D_Tech wrote: > Hi all. > A client has asked: > I have the list (selection based listbox)

Re: v12 - Query problem

2017-03-02 Thread Chip Scheide via 4D_Tech
HOLY #%^(

Re: Tables created with SQL CREATE TABLE command and triggers

2017-03-07 Thread Chip Scheide via 4D_Tech
Pat, how about : 1 table - each record contains an object field which holds a table definition, which the user can define. 1 more table - each record has an object field which holds the data for the table defined above > I'm revisiting the idea of creating a flexible table structure with v16.

v13 - Check box active when not enabled and not enterable

2017-03-07 Thread Chip Scheide via 4D_Tech
following code run during on load of an entry form. OBJECT SET ENABLED(*;"obj_cb_Aliquot";$Enterable) OBJECT SET ENTERABLE(*;"obj_cb_Aliquot";$Enterable) in debugger, when clicking on cb_ALiquote OBJECT Get enterable(cb_Aliquote)...false OBJECT Get Enabled(cb_Aliquote) ... false So.. why does

Re: Preemptive execution question

2017-04-07 Thread Chip Scheide via 4D_Tech
I have not read any more of this thread... I am not able to use these commands... What should happen: - 4D should throw an error (interseptable by On Err) on the computer that caused the problem (i.e. client or server) - abort the illegal code block. SO if the error occurs inside some looping

Re: 4D Compiler

2017-04-07 Thread Chip Scheide via 4D_Tech
anywhere you may use: - Execute Formula - other means of indirect code execution. Method(s), code stored in data for example On Fri, 07 Apr 2017 09:30:38 +0100, Nigel Greenlee via 4D_Tech wrote: > Can anyone think of other examples where a var might be used in a way > that does not show up in

Re: 4D Compiler

2017-04-07 Thread Chip Scheide via 4D_Tech
Not copyable is not exactly true ;) On Thu, 06 Apr 2017 20:34:59 -0500, Tim Nevels via 4D_Tech wrote: > >>> When he wrote 4D Compiler back in 1990 I thought he was a >>> programming god... >> >> So did ACIUS, given the original pricing. > > I don’t remember the 4D Compiler 1.0 price. Was it

v15 - end of line in method editor

2017-04-17 Thread Chip Scheide via 4D_Tech
(Mac) used to be now?? Thanks --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

Re: v15 - end of line in method editor

2017-04-17 Thread Chip Scheide via 4D_Tech
remapping possible? On Mon, 17 Apr 2017 15:32:24 -0600, Tom Dillon via 4D_Tech wrote: > Chip Scheide via 4D_Tech wrote: > >> (Mac) used to be > > > > -- >-- >Tom Dillon

v15 - appending menu functions

2017-04-18 Thread Chip Scheide via 4D_Tech
I have converted a v13 database to v15. I am playing around with v15 to see what is broken. the first thing I found that is broken is: appending a menu item with a pre-defined (4D defined) function. If the user is allowed (admin or designer) a method is called to append a menu item to the first

Re: 4D Forums feature request - keep it the same

2017-07-28 Thread Chip Scheide via 4D_Tech
same situation if the forum login credentials are tied to $$$ >> 2017/07/28 2:11、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: >> why do i need to use a login credential which will likely have >> financial information behind it (partner/

Re: 4D Forums feature request - keep it the same

2017-07-28 Thread Chip Scheide via 4D_Tech
versions > and source code of 4D internal components / widgets. > > you might have not noticed, > but forum accounts are already tied to partner program subscription > or license (maintenance) activation accounts. > we just do it (and undo it) manually and/or annually. > &

Re: Restricting a query

2017-07-31 Thread Chip Scheide via 4D_Tech
You can also filter BEFORE query. for simplicity: Query([table];[table]client_ID = $Current_Client_ID) Query selection([table]) This will open 4D's query editor, and apply the query the user does to the selection you created before hand. On Mon, 31 Jul 2017 11:34:12 -0700 (MST), jarosz via

Blob to Record

2017-08-02 Thread Chip Scheide via 4D_Tech
is there simple way to move an entire (arbitrary) record to a blob? I was hoping for a simple command like: Record to blob([table];Blob) rather then for(records) for(number of fields) convert to text(field) append text to blob end for next end for --- Gas is for

v13 - wierdness with drag n drop

2017-08-03 Thread Chip Scheide via 4D_Tech
I have a database I am using to test a component. Both component and database are interpreted. it has 2 tables, 1table with 1 field, and the other table with 3 fields. It has 2 project methods for testing the component methods. In this (testing) database, I open the component methods exposed

Re: Blob to Record

2017-08-03 Thread Chip Scheide via 4D_Tech
gt; $blob:=$1 > $tablePtr:=$2 > > $path:=4D_temp_path +"temp_rec_to_blob"+String(Current process) > > BLOB TO DOCUMENT($path;$blob) > > SET CHANNEL(10;$path) > RECEIVE RECORD($tablePtr->) > SET CHANNEL(11) > SAVE RECORD($tablePtr->) > > > K

v12+ Folder Properties

2017-08-15 Thread Chip Scheide via 4D_Tech
There is a command Document Properties - which returns various bits of info about a document, including in this instance what I am looking for - visibility. However, this command fails (error) when trying to get the same information for a folder. It appears that there is no equivalent command

Re: How to show / hide all on Property List in v16?

2017-08-16 Thread Chip Scheide via 4D_Tech
lost functionality - **SHOULD** be a bug... of course that is when it is not a feature :) On Wed, 16 Aug 2017 05:41:59 -0700, Kirk Brooks via 4D_Tech wrote: > A HA! > Now, is it bug or is it a feature? > > On Wed, Aug 16, 2017 at 4:17 AM, Wayne Stewart via 4D_Tech < > 4d_tech@lists.4d.com>

Re: selection based list box

2017-08-16 Thread Chip Scheide via 4D_Tech
you can also clear, and recreate the selection set. Given : Listbox selection set name = "My_Listbox_Set" Clear set("My_Listbox_Set") Create set([table];"My_Listbox_Set") or listbox get table source(My_Listbox;$Tablenum) Create set(table($Tablenum)->;"My_Listbox_Set") On Tue, 15 Aug 2017

Re: Method Header Strategies

2017-08-10 Thread Chip Scheide via 4D_Tech
the old "standard" of: If (false) // block of comments end if is outdated for a variety of reasons - it started because it made interpreted code faster - as the interpreter would try to 'execute' each line of comment. This was on Motorola 680xx/Intel x86 processors running at a few 10s to a

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-14 Thread Chip Scheide via 4D_Tech
ntation/Darwin/Reference/ManPages/man1/open.1.html > > but you do need to create a copy and give it a ClientLocal folder > if you need to connect multiple client to the same server. > >> 2017/07/14 22:46、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> の >> メール: >>

Re: v13+ - How to do a 'Find in array' with a picture array?

2017-07-14 Thread Chip Scheide via 4D_Tech
Thanks for the pointers to Hashing functions! Im putting together a file re-namer utility. drag n drop file from file system to 4D window, allow the user to do various renaming functions with the files/folders. i.e. add/change/remove an extension, rename, make visible/invisible, add/remove

Re: Very Simple Way to Access Server with Two Copies of Remote from the Same Machine

2017-07-14 Thread Chip Scheide via 4D_Tech
on a Mac, assume similar for Windows. Create as many copies of the application as needed, open and 'point' to server. My dock has 7 4D icons in it. (3 v13, 2 v12, 2 v11) On Fri, 14 Jul 2017 09:13:35 +1000, Wayne Stewart via 4D_Tech wrote: > Doug, > > I think you've been asleep at the wheel

Re: Set_Exists() function: Simple version

2017-07-17 Thread Chip Scheide via 4D_Tech
this is basically what I did, but used arrays rather then ab object. shameless plug : https://www.dropbox.com/s/075k0ap7afervs8/Sets_Component_v1.0.zip?dl=0 Distributed as shareware $15 ($35 for source & a suite testing routines), it is a compiled/built component created in v13. If you like it

Re: Set_Exists() function: Simple version

2017-07-17 Thread Chip Scheide via 4D_Tech
David, I wrote a complete collection of set operation routines here : https://www.dropbox.com/s/075k0ap7afervs8/Sets_Component_v1.0.zip?dl=0 Distributed as shareware $15 ($35 for source & a suite testing routines), it is a compiled/built component created in v13. If you like it you are free to

Re: Interesting(?) Tales of Coding Was : Request for tech note

2017-07-11 Thread Chip Scheide via 4D_Tech
https://i.redd.it/fjcv9evg6u8z.png now THAT is hard work. I wonder if it was complete... Chip --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Quick report strange behavior

2017-07-11 Thread Chip Scheide via 4D_Tech
No I do not. I have seen posts regarding font size issues and windows 7?, 8?, 10? Since I do not use 4D on these systems I do not pay a lot of attention. search the archives on the 4D KB, or gmane, or Nabble sorry, best I can offer Chip On Tue, 11 Jul 2017 17:50:45 +0200, stardata.info via

Re: Quick report strange behavior

2017-07-11 Thread Chip Scheide via 4D_Tech
Yes, Ferdinando that is the issue - everything is small. search the archives, others have reported (and I think) resolved the issue. On Tue, 11 Jul 2017 19:29:15 +0200, stardata.info wrote: > Hi, > > Quick report when work on windows 7 work fine, when run on windows 8 > give this problems. >

Re: Interesting(?) Tales of Coding Was : Request for tech note

2017-07-10 Thread Chip Scheide via 4D_Tech
love it $Which_Was_It:=Choose(Pair=Pear;"Myspelling/typing";"Damned Auto Correct") :) Chip On Mon, 10 Jul 2017 11:51:33 -0400, Roger Reed – Illus House wrote: > Delicious… and beautiful work. Including, that the phrase “ > pear-shaped” itself went pear-shaped and became “pair-shaped”.

Interesting(?) Tales of Coding Was : Request for tech note

2017-07-10 Thread Chip Scheide via 4D_Tech
I picked up a database written in FoxPro (for Mac). This code was running on a Motorola G3 box. In it the previous programmer needed to do some combinatorial matrix work. In Fox Pro, without having ever seen 4D's set functionality, he basically wrote 4D sets, as string/text operations!!!

revelation! - Choose

2017-07-06 Thread Chip Scheide via 4D_Tech
Thanks to code from Robert Livingston I found out about a command I had not known about Choose I love this command if anyone does not know about it - read it is so nice to do in one line of code what other wee takes at least5 Chip --- Gas is for washing parts Alcohol is for

v13+ - How to do a 'Find in array' with a picture array?

2017-07-12 Thread Chip Scheide via 4D_Tech
I have a picture array which has icons I want to use it as a key to the contents of other (parallel) arrays. basically if icon{1} = pic1 - do something if icon{1} = pic2 - do something else etc . . . any ideas? code? Thanks Chip --- Gas is for washing parts Alcohol is for

RE: v13+ - How to do a 'Find in array' with a picture array?

2017-07-14 Thread Chip Scheide via 4D_Tech
this will work, as the icon is the picture. Thanks On Thu, 13 Jul 2017 20:26:51 +, Timothy Penner via 4D_Tech wrote: > Another approach instead of comparing MD5 hashes, could be to compare > the pictures directly using the EQUAL PICTURES command (created in > v13): >

Re: Facial Detection/recognition

2017-07-14 Thread Chip Scheide via 4D_Tech
IFTFU: It thinks I am Bill Clinton (at least my eyes are like him)...Perfect excuse if Monica Lewinsky stood in front of me. Hi Monica, it's Ball Clinton :) On Fri, 14 Jul 2017 17:35:54 +0100, Balinder Walia via 4D_Tech wrote: > It thinks I am Bill Clinton (at least my eyes are like

Re: Use of Objects vs Global Variables (Was 'Arrays vs Objects...)

2017-07-18 Thread Chip Scheide via 4D_Tech
Long ago - and I am pretty sure the code has been lost to time - in v2.2.3 (I think) I wrote code to do binary searching on a selection, as at that time Search Selection (the old command name) was sequential, but sorting the selection was indexed. Even with the overhead of managing the

Re: revelation! - Choose

2017-07-10 Thread Chip Scheide via 4D_Tech
On Mon, 10 Jul 2017 09:03:21 +, Keisuke Miyako via 4D_Tech wrote: > > unlike Case of~End case, Choose evaluates all expressions. How Sad... This is Sooo much nicer to read/look at: $Specified_Fields:=Choose(Count parameters>=2;$2;<>ptr_Nil) $Errors:=Choose(Count parameters>=3;$3;<>ptr_Nil)

Choose - I love it :)

2017-07-18 Thread Chip Scheide via 4D_Tech
OBJECT SET TITLE(*;"obj_Extension_Title";Choose(rb_Replace=1;"New Extension";"Extension")) GOTO OBJECT(*;Choose(rb_Replace=1;"obj_x_Replacment";"obj_x_Extension")) :) --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for racing

Re: [off] Age bracket of this group (USA) :)

2017-07-21 Thread Chip Scheide via 4D_Tech
BTW - one of my favorite eno albums : My life in the bush of ghosts https://www.youtube.com/watch?v=JOXbk1GYkxE particularly : The Jezebel spirit (safe for work) https://www.youtube.com/watch?v=Ifriiv3DIw8 (Video NSFW official video) https://www.youtube.com/watch?v=FWQdKkk4Xr0 On Sat, 22 Jul

Re: Use of Objects vs Global Variables (Was 'Arrays vs Objects...)

2017-07-21 Thread Chip Scheide via 4D_Tech
On Fri, 21 Jul 2017 23:01:56 +1000, David Adams via 4D_Tech wrote: > let's take a moment to > remember that speed only matters when things are slow. true. BUT... if you have 3 ways to do something 1 - this works, but takes X time 2 - this works too, take a bit more coding, but takes X/2 time 3 -

Re: v13 - Host methods, and components

2017-07-25 Thread Chip Scheide via 4D_Tech
MES.301-3376032.en.html > will return a list of shared method names. > >> 2017/07/25 5:47、Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> のメール: >> if not, is there some way to determine if a method e

Re: nested components

2017-07-25 Thread Chip Scheide via 4D_Tech
gt; > Component A can call Component B but not vice versa. > > If you need to call in both directions then Execute Method or Execute > Formula are your friends. > > In the host database have both components available. You can’t use a > ‘contained’ component. > > Wayne &g

nested components

2017-07-25 Thread Chip Scheide via 4D_Tech
I am working on a couple of components. in them I use (reuse) the same code for managing errors, like bad parroter values. can I: - break this error code out into a component, lets call it 'Text_Errors' - then place the 'Text_Errors' component into an other, eventually to be built, component?

Re: nested components

2017-07-25 Thread Chip Scheide via 4D_Tech
THANKS! That should work too.. I'll have to try and play with this a bit. On Tue, 25 Jul 2017 16:56:22 -0500, Keith Culotta via 4D_Tech wrote: > I have one component that is used by the Host and by other > components. These other components are also used by the Host. > 4D puts all the

v13 - Host methods, and components

2017-07-24 Thread Chip Scheide via 4D_Tech
Can I, form a component, use "Get Method Paths" to determine if a method exists in the host? if not, is there some way to determine if a method exists in the host, from a component? Additionally, Am I right, I can call a host database method from a component (as long as I know it exists)?

Re: v13 - Host methods, and components

2017-07-24 Thread Chip Scheide via 4D_Tech
i did not see this option initially. I have a follow up question... I am playing with this command. I have the following code: $x:=METHOD Get path(Path Project method;"does not exist") TRACE $x:=METHOD Get path(Path Project method;"url_Errtxt_Init") TRACE the first call to get method path - the

Re: 4D Forums feature request - keep it the same

2017-07-27 Thread Chip Scheide via 4D_Tech
link to post to up (or down) vote: http://forums.4d.com/Post//19752777/1/ text of my post on the forum: personally - I do NOT like the idea. why do i need to use a login credential which will likely have financial information behind it (partner/store) to access a purportedly open public

  1   2   3   4   5   6   7   8   9   10   >