Re: 4D freezing on print preview

2017-03-23 Thread Keith Culotta via 4D_Tech
Just to add a datapoint, 4D Mac v15.current seems to be the only app that causes Preview to unexpectedly quit when getting a print preview. It does not affect 4D however. Keith - CDI > On Mar 23, 2017, at 4:07 PM, Keith Goebel via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > So, nobody else

Re: y2038 -- is 4D ready?

2017-03-28 Thread Keith Culotta via 4D_Tech
I changed my system date to 1/1/2039 and started testing dates. An android walked into my office and told me to cut it out. Keith - CDI > On Mar 28, 2017, at 10:37 AM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Just reading an article about the next Y2K - y2038. > IN this

Re: "Placeholder" in property list

2017-04-22 Thread Keith Culotta via 4D_Tech
That new feature has been a help with clutter. I was unable to use it a numeric field until the field's format was set to something where the zero value was hidden, like ";-;". When the field does not have the focus, the placeholder appears. Keith - CDI > On Apr 22, 2017, at 8:37

Re: Which rows are selected?

2017-03-10 Thread Keith Culotta via 4D_Tech
listBox{$row}=true Keith - CDI > On Mar 10, 2017, at 1:56 PM, bob.miller--- via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi Everyone, > > Call it Friday, call it memory loss, but don't call it lack of effort. > I've been scouring the docs looking for how, using an array-type listbox >

Heads Up about Write Pro Style Transformations

2017-07-31 Thread Keith Culotta via 4D_Tech
This is something to be aware of if you plan to use Write Pro text outside of Write Pro areas. A bug report has been submitted, but for now Write Pro Style Transformations are cosmetic only. For instance, if you apply the Write Pro transformation Uppercase to "This is a Test", you will

Re: Heads Up about Write Pro Style Transformations

2017-08-01 Thread Keith Culotta via 4D_Tech
t;> wrote: >> >> Keith, >> If you used ST Get Text instead of Get Plain Text, then you maybe could >> strip out the style tags and end up with the correct plain text? (I haven't >> tried this). >> >> Pat >> >> On 1 August 2017 at 15:0

Re: Heads Up about Write Pro Style Transformations

2017-08-01 Thread Keith Culotta via 4D_Tech
ried this). > > Pat > > On 1 August 2017 at 15:08, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Well, It looks like this has been declared standard behavior. I can't say >> it's unexpected to see the words "style" and &q

Re: Listbox Printing

2017-08-14 Thread Keith Culotta via 4D_Tech
u call FORM LOAD (unless > the listbox already exists in the current form) ? > >> 2017/08/14 23:29、Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> のメール: >> >> I tried with the name as well. It works that way too, but not when run as a >> component. >> >>

Re: Listbox Printing

2017-08-15 Thread Keith Culotta via 4D_Tech
t"+String($i)) > End for > > $printed:=Print object(*;"ListBox") > > $v1:=OBJECT Get pointer(Object named;"v1") > $v1->:="Test String" > > $printed:=Print object(*;"v1") > > CLOSE PRINTING JOB > > End if >

Re: Listbox Printing

2017-08-14 Thread Keith Culotta via 4D_Tech
ke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > have you tried using the object name instead ? > >> 2017/08/13 5:46、Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> のメール: >> $obj:=(->Box_Sum) > > > > > *

Re: Listbox Printing

2017-08-12 Thread Keith Culotta via 4D_Tech
I tried several combinations of the code below showing a button method on the form "SumForm". The parent method gets passed some arrays, opens its form "SumForm", displays them in the LB, and provides a button with the below code. The button method prints fine in a DB. When the DB is used as

Re: Listbox Printing

2017-08-14 Thread Keith Culotta via 4D_Tech
On Aug 14, 2017, at 11:43 AM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I am not sure I understand your code; > > are you not supposed to populate the arrays AFTER you call FORM LOAD (unless > the listbox already exists in the current form) ? >

Re: Arrays vs Object for Key/Value pair lookups

2017-07-17 Thread Keith Culotta via 4D_Tech
Take a look at the new http://livedoc.4d.com/4D-Language-Reference-15.4/Arrays/Find-in-sorted-array.301-3274895.en.html. This would change the FIA side of the equation. Keith - CDI > On Jul 17, 2017, at 5:46 AM, Peter Jakobsson via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Hi > > I

Re: 4D Write Pro interface plug in or component?

2017-07-11 Thread Keith Culotta via 4D_Tech
As mentioned in Ortwin's link, the Widget and the WPro area are separate. Another alternative would be to put the Widget in a floating window OPEN WINDOW and DIALOG(*). Most parts of the Widget worked when I tested that (I think I had to use the variable name), but there were problems with

Re: 4D Write Pro interface plug in or component?

2017-07-10 Thread Keith Culotta via 4D_Tech
Don, I feel your pain. They took our old clunker and are giving us a collection of amazing car parts (plus instructions). Here is one approach to giving the user a clue via "menus": http://cdinc.co/Updates/SimpleWP.zip. It requires v16R3, which introduced some WPro standard actions.

Re: CROP A PDF DOCUMENT

2017-07-15 Thread Keith Culotta via 4D_Tech
I think this only reads page 1 of any pdf. READ PICTURE FILE("";$pic) // or get from clipboard or variable If (OK=1) CONVERT PICTURE($pic;".jpg") TRANSFORM PICTURE($pic;Crop;10;10;100;100) SET PICTURE TO PASTEBOARD($pic) End if Keith - CDI > On Jul 14, 2017, at 4:40

Re: nested components

2017-07-25 Thread Keith Culotta via 4D_Tech
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 components at the same level in the Components folder at compile time and it works. The Component can also call a Host method if the method in the Host is

Re: 4D Forums no longer accessible -- too many redirects

2017-07-27 Thread Keith Culotta via 4D_Tech
Same here. I tried from Partner Central, TOAW, and the usual link, and got too many redirects. Keith - CDI > On Jul 27, 2017, at 10:17 AM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Is there a new way to access forums.4d.fr? For the past few days I haven't > been able to

Re: 4D Forums no longer accessible -- too many redirects

2017-07-27 Thread Keith Culotta via 4D_Tech
In Safari: removed all "4D" website data (cookies). After that the site came up and I was able to log in with the old saved username and password. I signed back out, went to the site, and clicked the "Sign In" button near the top right. The next window was a migration window. After the

Re: C-objects and memory use

2017-07-26 Thread Keith Culotta via 4D_Tech
Sorry, forgot to say v16R3 is required to use NEW OBJECT in the example. Keith - CDI > On Jul 26, 2017, at 3:07 PM, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > That's what I see here. Same with passing the object to a new process. So, > not ref-coun

Re: C-objects and memory use

2017-07-26 Thread Keith Culotta via 4D_Tech
at 9:49 PM, Keith Culotta via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > I asked 4D and was told that if object is passed to worker, worker gets > copy. Did not test that, but it makes sense. > -- > Peter Bozek *

Re: How to close a modal window if user clicks outside of it?

2017-06-29 Thread Keith Culotta via 4D_Tech
Try with a Plain Form Window type and activate the On Deactivate event. Put a Cancel in that event to close the window. It can't tell if the mouse just moves outside the window (you can do that with an invisible, grow,grow object), but a click anywhere else will close the window. Keith - CDI

Standard action item appearance

2017-06-29 Thread Keith Culotta via 4D_Tech
In v16 R3, I'd like for a non-enabled standard action menu item to be visible and dimmed in the pop-up menu. When working through a list of actions like in the example below, each item gets Appended, but will not appear in the menu if "enabled"=False. Does anyone know a simple switch to change

Re: Thinking about optional parameters and optional object elements

2017-07-31 Thread Keith Culotta via 4D_Tech
My use of optional paramters was motivated by wanting add new features to, or extract more information from existing methods. I had to make sure that existing callers could still call those methods without having to pass anything extra. The optional parameter could just be missing when not

Re: Heads Up about Write Pro Style Transformations

2017-08-01 Thread Keith Culotta via 4D_Tech
t; > Hi Keith, > I suppose it could be argued that ST Get Plain Text gets plain (i.e., > unstyled) text ... text in its raw form ... but I agree with your point of > view. > > Pat > > On 31 July 2017 at 15:09, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> > wrote

Re: Encrypted Data at Rest

2017-08-02 Thread Keith Culotta via 4D_Tech
FileVault 2 was a big improvement over Apple's first attempt. This link describes the performance impact: http://osxdaily.com/2011/08/10/filevault-2-benchmarks-disk-encryption-faster-mac-os-x-lion/ Keith - CDI > On Aug 2, 2017, at 12:47 PM, Jody Bevan via 4D_Tech <4d_tech@lists.4d.com> >

Re: Missing Pict - 64bit Removes pictures from library

2017-08-09 Thread Keith Culotta via 4D_Tech
This was a big help with the Picture Library. Run it from a version of 4D that still supports the old format. http://kb.4d.com/assetid=76775 Keith - CDI > On Aug 9, 2017, at 2:28 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I put all of

Re: UUID vs Longint primary key

2017-08-04 Thread Keith Culotta via 4D_Tech
The UUID has been the easiest to work with. When a customer needs a recognizable ID, an auto-incremented Longint can be added to the table. UUIDs are perfect for avoiding conflicts when updating or exchanging records between databases. They can also be used as Process IDs or SVG IDs when one

Re: Using SVG for button graphics

2017-08-22 Thread Keith Culotta via 4D_Tech
Saved as a method? ..that draws the selected button and returns a picture to the form object object get pointer(object named;"myButton")->:= draw_Pic("okbutton") Haven't tried it Keith - CDI > On Aug 22, 2017, at 4:56 PM, Kirk Brooks via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi

Re: Using SVG for button graphics

2017-08-22 Thread Keith Culotta via 4D_Tech
signs, the small triangular arrows in round buttons, that sort of > thing. The SVG is fast enough - I just want a way to feed it directly into > the button object. > > But I think there's nothing in 4D at the moment to support this sort of > thing. > > On Tue, Aug 22, 2017 at 3:

Re: Using SVG for button graphics

2017-08-22 Thread Keith Culotta via 4D_Tech
This got somewhere, but "pic" has to be a process variable, and can't be cleared (pic:=pic*0). $svg:=SVG_New SVG_New_rect ($svg;1;1;4;4) pic:=SVG_Export_to_picture ($svg) $format:="1;1;pic;0" OBJECT SET FORMAT(OBJECT Get pointer(Object named;"Button")->;$format) SVG_CLEAR ($svg) Keith - CDI >

Re: POINTER TO ARRAY

2017-05-10 Thread Keith Culotta via 4D_Tech
Try changing the line "c_pointer($vPoint->)" to "c_pointer($vPoint)", and make sure $X is set to "1" or "2". Keith - CDI > On May 10, 2017, at 4:39 PM, stardata.info via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi All, > > I use 4D V13 on windows. > This code in interpreted work, but in

Re: .ExternalData folder outside of the database folder?

2017-06-12 Thread Keith Culotta via 4D_Tech
Maybe two things to try... Can you place the entire data folder on the external drive? Would using a Symbolic or Hard link work instead of an alias. Keith - CDI > On Jun 10, 2017, at 11:07 AM, John Baughman via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > As I read the docs, there is no way to

Re: Exploring CALL WORKER vs New process

2017-05-20 Thread Keith Culotta via 4D_Tech
That was a kind of mashup of several ideas, but you covered them in the preceding paragraph. Thanks for the observations. Keith - CDI > On May 19, 2017, at 5:41 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > You call a window, not a form, not process. That's precisely so

Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
Are there good reasons to keep using "New process" in a situation like the following, or can it be replaced by "CALL WORKER"? //--Base process that shows a list of records from [Table]. Pick a record and $p:=New process("wOpen";0;[Table]PriKey;*) //--wOpen - displays the record on the screen

Re: v13 - Warning Compiler misses syntax error

2017-05-24 Thread Keith Culotta via 4D_Tech
In v16 interpreted C_TEXT($t) C_POINTER($p1;$p2) $t:="A" $p1:=(->$t) $p2:=(->$p1) ALERT($p2->->) // Error ALERT(($p2->)->) // A ALERT(String(Type($p2->->))) // 2 ALERT(String(Type(($p2->)->))) // 2 Type and Alert have different tolerances? Keith - CDI > On May 24, 2017, at 1:50 PM, Chip

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
Tim, Sure enough, Dialog puts the brakes on it. Keith - CDI > On May 18, 2017, at 1:41 PM, Timothy Penner via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > For example, if the Worker is running DIALOG then the method will not > complete until after the window is closed. Like in your example:

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
a lot of extra coding for not much benefit - but I may > not fully get your intention. I do a lot of this sort of thing already > using Execute on server to move the heavy processing off the client and > avoid moving lots of data over the network. > > On Thu, May 18, 2017 at 8:22 AM, K

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
In just about all UI processes Dialog(TableOrProjectForm;plain window) is the only way a window gets opened. I suppose this has simulated calling DIALOG(*) from a [I forget what kind of] window. These can call their own DIALOG(*) windows too. Wanting to use CALL WORKER would change that

Re: Exploring CALL WORKER vs New process

2017-05-18 Thread Keith Culotta via 4D_Tech
May 18, 2017, at 3:36 PM, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > In just about all UI processes Dialog(TableOrProjectForm;plain window) is the > only way a window gets opened. I suppose this has simulated calling > DIALOG(*) from a [I forget wha

Re: Exploring CALL WORKER vs New process

2017-05-19 Thread Keith Culotta via 4D_Tech
> On May 18, 2017, at 5:38 PM, David Adams via 4D_Tech <4d_tech@lists.4d.com> > wrote: > * Workers don't die when their work is done, they wait. A method called by New Process $w:=Open Form Window("ShowRecord") Dialog("ShowRecord") ExitCode A method called by CALL WORKER $w:=Open

Re: Tags in record on 4d.

2017-05-19 Thread Keith Culotta via 4D_Tech
I have used Text fields and have considered using Objects for that kind of storage, but they both give me a hint of that old Subtable feeling. The data is buried in a field within a record. Objects have some tools to help with this, and it's easier to build a complex tag structure. A related

Re: Macro anyone?

2017-05-30 Thread Keith Culotta via 4D_Tech
This gets the text from and to the clipboard $text:=Get text from pasteboard ARRAY TEXT($array;0) $delim:=Char(Carriage return) $len:=Length($text) $lenDel:=Length($delim)-1 $pos1:=1 $pos2:=Position($delim;$text;*) While ($pos2>0) $SS:=Substring($text;$pos1;$pos2-1) APPEND TO ARRAY($array;$SS)

Cleaning Text & Replace string speed

2017-06-15 Thread Keith Culotta via 4D_Tech
I could not find it in the archives, so I quickly wrote a method to strip two unwanted, but unidentified characters from a body of text (6mb). Each acceptable character was added to the output text var. I stopped it after an hour of the compiled code not returning a result. Since I am always

Re: Cleaning Text & Replace string speed

2017-06-16 Thread Keith Culotta via 4D_Tech
Even better. With Match regex it takes about a second to remove a smaller number of characters ($text;32;126;9;13) from this file. However, when few characters are selected to remain in the result ($text;65;90;9;13), the time goes up into minutes; 8 compiled and 11 interpreted. I guess

Re: Counting # of specific characters in string/text

2017-05-05 Thread Keith Culotta via 4D_Tech
I haven't tested this for speed or unexpected conditions, but... $a:="now is the timetime for all good men to come to the aid of their country" $l1:=Length($a) $b:="time" $lb:=Length($b) $a:=Replace string($a;$b;"";*) $l2:=Length($a) $l3:=$l1-$l2/$lb ALERT(String($l3)) Keith - CDI > On May

Scheduler App request

2017-09-15 Thread Keith Culotta via 4D_Tech
I saw the following from an Apple Reseller. Does anyone have a solution? I can forward the info to him. We have 8-10 trucks on the road every day performing deliveries, installations, service calls, etc. For 30 years we have used old fashion pen and paper to create a schedule but our

Re: SVG Scale

2017-09-19 Thread Keith Culotta via 4D_Tech
Sorry, there is also this: SVG_SCALING_CENTERED ( svgObject ; scale {; x ; y} ) http://doc.4d.com/4Dv16/4D/16/SVG-SCALING-CENTERED.301-3202422.en.html Keith - CDI > On Sep 19, 2017, at 11:03 AM, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Hi, > > I am looking for a very

Re: SVG Scale

2017-09-19 Thread Keith Culotta via 4D_Tech
Here is a sample with the attributes hard coded: 100 and 2. Comment out (and in) the middle section to see the effect. $svg:=SVG_New $ref:=SVG_New_circle ($svg;100;100;20) SVG_SET_TRANSFORM_SCALE ($ref;2;2) SVG_SET_ATTRIBUTES ($ref;"cx";String(100/2);"cy";String(100/2))

Re: FORM SET OUTPUT -> project form

2017-10-16 Thread Keith Culotta via 4D_Tech
I think PRINT RECORD and PRINT SELECTION require a Table Form. A project form is printed with PRINT FORM. Keith - CDI > On Oct 16, 2017, at 5:39 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Using v14: > > I get an error with > > *FORM SET OUTPUT*("ReportHeaderLandscape")

Re: v13 - How to clear Array list box selection

2017-10-16 Thread Keith Culotta via 4D_Tech
Something along the lines of the listbox variable being a BOOLEAN array. The highlighted rows are TRUE. Keith - CDI > On Oct 16, 2017, at 4:36 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have an array based listbox. > I make a select the first row. > I drag n drop

Re: [OFF] PCI/DSS compliance

2017-09-08 Thread Keith Culotta via 4D_Tech
pper lines anymore. > > ​Were you involved in the overall certification PCI certification process? > I'm wondering about stuff like the internal paper handling aspects of the > deal. Any insight is welcome. > > Thanks much!​ > > > On Thu, Sep 7, 2017 at 1:51 PM, Keith Culot

Re: SVG component question

2017-09-05 Thread Keith Culotta via 4D_Tech
----- > > > >> On 05 Sep 2017, at 19:19, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> >> wrote: >> >> I think a 'text' element's text can only be set when it is created, unlike a >> textArea. So the item that needs to be changed wi

Re: SVG component question

2017-09-05 Thread Keith Culotta via 4D_Tech
I think a 'text' element's text can only be set when it is created, unlike a textArea. So the item that needs to be changed will need to be deleted and created again. OTOH, I didn't know about addressing the "4d-text" attribute. Maybe it can be better addressed via XML commands? Keith -

Re: [OFF] PCI/DSS compliance

2017-09-07 Thread Keith Culotta via 4D_Tech
Kirk, I can't say that I understand the nuances of the system to the point of having any details to contribute, but after lots of trying to figure it out the thing that finally allowed us to pass the scan was to use a VPN. We open only the VPN ports and the ports required by the credit card

Re: 4D Write PRO how to ...

2017-08-22 Thread Keith Culotta via 4D_Tech
Maybe not super useful, but this: WP EXPORT VARIABLE(waAreaPtr->;$destination;wk web page html 4D;wk html debug) SET TEXT TO PASTEBOARD($destination) gives this result: http://www.w3.org/1999/xhtml; xmlns:d4="http://www.4D.com;> 4D Write Pro New Document

Re: Losing Hightlighted Records in a Listbox

2017-09-04 Thread Keith Culotta via 4D_Tech
The two additional "COPY SET" lines below have worked for me. $ListBoxName:="CCTransactionsLB" COPY NAMED SELECTION([CC_Transactions];"TempCurrentSet") LISTBOX GET TABLE SOURCE(*;$ListBoxName;$tableNum;$namedSelection;$highlightSet) COPY SET($highlightSet;"$tmpSet") // Store the highlighted set

Re: SVG add object question

2017-10-23 Thread Keith Culotta via 4D_Tech
// A heads up about embedding a SVG area into another SVG area. // Getting the ID of the embedded object requires SVG Find element IDs by rect // It does not seem to work using SVG Find element ID by coordinates $svg:=SVG_New $svgArea:=SVG_New SVG_New_text ($svg;"This is a test";10;10)

Re: SVG add object question

2017-10-22 Thread Keith Culotta via 4D_Tech
I think I recall a discussion a while back about SVG_Add_object not working well when the object being added was another svg document. Two svg docs can be "combined" using SVG_ELEMENTS_TO_ARRAYS, and SVG_Add_object for each reference in the doc being added. This technique doesn't produce a

Re: Slow characters visualization

2017-11-20 Thread Keith Culotta via 4D_Tech
Just to confirm, I have also seen the issue on my MacBook Pro since v15 was introduced. It was intermittent, and I have not experienced it for a while. Sometimes quitting 4D and restarting would help. Other times it would restart with the problem still present. I never saw a clear pattern

Re: Normalization question

2017-11-08 Thread Keith Culotta via 4D_Tech
[Project]<--[ProjectEmployeeType]--> [Employee] ? Keith - CDI > On Nov 8, 2017, at 2:06 PM, John Baughman via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Given a Project table and an Employee table where Employees can be Project > Principles, Project Managers, and Project Supervisors,

Re: Normalization question

2017-11-08 Thread Keith Culotta via 4D_Tech
Something that stood out in a recent thread about the definition of the Relational Model was a statement that said related fields should contain meaningful information. This was a surprise, especially since the use of UUIDs has been such a convenience. I took 'meaningful' to imply 'user

Re: pointers to arrays (and List Box Basics)

2017-10-31 Thread Keith Culotta via 4D_Tech
A past discussion mentioned creating arrays on the fly using a Listbox command that creates columns. This is for an array listbox. http://livedoc.4d.com/4D-Language-Reference-16.2/List-Box/LISTBOX-INSERT-COLUMN.301-3433513.en.html C_POINTER($NilPtr) LISTBOX INSERT

Re: identify duplicates

2017-10-31 Thread Keith Culotta via 4D_Tech
The third parameter of DISTINCT VALUES really saves work. Here is a strategy to find dups in a field within a selection. The set can be a listbox highlight set. // // Method: DuplicatesToSet // - // INPUT1: Pointer - field //

Re: Picture resources

2018-04-27 Thread Keith Culotta via 4D_Tech
Take a look at this Tech Tip and its link to Tech Tip 76775: http://kb.4d.com/assetid=77713 The code must be run the the older version of 4D, the one compatible with the depreciated picture format. Keith - CDI > On Apr 27, 2018, at 2:09 PM, Dave Tenen via 4D_Tech <4d_tech@lists.4d.com> >

Re: Picture resources Related Question

2018-04-27 Thread Keith Culotta via 4D_Tech
The Picture Library is still in 17b, but you can only add a new pic to by loading it from a volume. Pics in the library can still be assigned to form objects. Keith - CDI > On Apr 27, 2018, at 2:42 PM, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Is the Picture library

Re: Why are columns of a non-focusable listbox not enterable?

2018-05-25 Thread Keith Culotta via 4D_Tech
Try something like this: OBJECT SET ENTERABLE(*;"LB1";False) OBJECT SET FOCUS RECTANGLE INVISIBLE(*;"LB1";True) FORM GET ENTRY ORDER($aNames;*) DELETE FROM ARRAY($aNames;1) // the is "LB1" FORM SET ENTRY ORDER($aNames) Keith - CDI > On May 25, 2018, at 1:08 PM, Piotr Chabot Stadhouders via

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

2018-05-24 Thread Keith Culotta via 4D_Tech
This happened to me recently on a Mac that had no printers yet added to the Print System. Keith - CDI > On May 24, 2018, at 3:48 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > could it be that the table has no defined output forms (and the editor is > somehow looking for

Re: Build with code signing

2018-06-11 Thread Keith Culotta via 4D_Tech
Would this still be relevant: http://kb.4d.com/assetid=76697 ? Keith - CDI > On Jun 11, 2018, at 12:34 PM, Peter Bozek via 4D_Tech <4d_tech@lists.4d.com> > wrote: > >> Can someone please direct me to documentation on how to code sign apps for >> MacOS with 4D. I need the entire process in a

Re: Flexible SVG ID Strategy

2018-06-05 Thread Keith Culotta via 4D_Tech
The easiest way I've found to move the objects in a group is to SVG_SET_TRANSFORM_TRANSLATE the group when the mouse is moving. Later if you UNGROUP, the translation needs to be spread out over the group's children so they don't jump to new locations. You can use SVG_Get_root_reference in a

Re: Counting lines of text

2018-06-27 Thread Keith Culotta via 4D_Tech
That sounds like a job for TEXT TO ARRAY ( varText ; arrText ; width ; fontName ; fontSize {; fontStyle {; *}} ) Keith - CDI > On Jun 27, 2018, at 4:31 PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > I have a need to know how many lines a block of text will occupy. > Given: >

Re: Uppercase Lowercase

2018-06-20 Thread Keith Culotta via 4D_Tech
or C_BOOLEAN($0) C_TEXT($1;$2) $0:=(Position string ($1; $2; *) = 1) Keith - CDI > On Jun 20, 2018, at 2:19 PM, Jeffrey Kain via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > How about > > C_BOOLEAN($0) > C_TEXT($1;$2) > $0:=(Replace string ($1; $2; *) = “”) > >> On Jun 20, 2018, at 3:05 PM,

Re: Uppercase Lowercase

2018-06-20 Thread Keith Culotta via 4D_Tech
...and check the length is = Keith - CDI > On Jun 20, 2018, at 2:32 PM, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > or > C_BOOLEAN($0) > C_TEXT($1;$2) > $0:=(Position string ($1; $2; *) = 1) > > Keith - CDI > >> On Jun 20, 2018, at

Re: Is a package preferred?

2017-10-20 Thread Keith Culotta via 4D_Tech
I switched back to folders for development. It's easier to manipulate the app's supporting folders and files. Users get a package, but like Chip said, you have to guard against the unintentional use of the datafile within the package. Keith - CDI > On Oct 19, 2017, at 5:41 PM, Robert

Re: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
PM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Nothing grows ... not the subform or any of it contents. > > On 26 October 2017 at 16:00, Keith Culotta via 4D_Tech <4d_tech@lists.4d.com >> wrote: > >> If the WP object in a form is set to gr

Re: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
If the WP object in a form is set to grow, and that is used in a subform which is set to grow, the WP object should grow the way you are thinking when the host form is resized. Keith - CDI > On Oct 26, 2017, at 4:32 AM, Pat Bensky via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Using v16: >

Re: Resizable subforms

2017-10-26 Thread Keith Culotta via 4D_Tech
ew host form? >> Is the Write Pro object within the subform for sure set to grow? >> >> Keith - CDI >> >>> On Oct 26, 2017, at 12:47 PM, Pat Bensky via 4D_Tech < >> 4d_tech@lists.4d.com> wrote: >>> >>> Nothing grows ... not

Re: SVG add object question

2017-10-22 Thread Keith Culotta via 4D_Tech
A nice solution! Just to be sure, it was to use ".svg" rather than "svg"? $svgPictureRef:=SVG_New_embedded_image ($svgCopyrightLayer_Ref;$interPicture;5;0;“.svg“) rather than $svgPictureRef:=SVG_New_embedded_image ($svgCopyrightLayer_Ref;$interPicture;5;0;“svg“) As displayed in the web

Re: Database locked in merged application

2017-12-21 Thread Keith Culotta via 4D_Tech
Re: So it looks like the data file which is wrapped up inside the application can’t be used After opening the app's package, doing a "Get Info" on the contents, making permissions R/W, and then building the app, that message went away in the built application. I had set the DB preference to

Tip: SVG internal error Trace

2018-01-15 Thread Keith Culotta via 4D_Tech
In case I am not the last one to know... When an internal SVG error message pops up on the screen, the Trace button is disabled in the dialog, but Trace is still available to display the offending line of code. You can use the option-command-click and select from the pop-up menu while the

Re: File Size

2018-01-15 Thread Keith Culotta via 4D_Tech
Today I saw that somewhere around 1997 the answer to this 6÷2(1+2) changed from 1 to 9, also because of techno-cultural influences. Keith - CDI > On Jan 15, 2018, at 2:10 PM, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > On Jan 15, 2018, at 2:00 PM, Wayne Stewart wrote: > >> I'm

Re: Anyone been using R5 for real work?

2018-01-19 Thread Keith Culotta via 4D_Tech
R5 has been very solid to the extent I've used it. I'm using dot notation and the new FORM object to get a floating window to communicate with instances of a subform containing a SVG picture. The FORM object is very convenient. I haven't tried to access tables. Keith - CDI > On Jan 19,

Re: ADA Compliance ???

2018-01-24 Thread Keith Culotta via 4D_Tech
No direct experience, but a couple of resources. Government rules: https://www.access-board.gov/guidelines-and-standards/communications-and-it/about-the-ict-refresh/final-regulatory-impact-analysis#_Toc471376906 DOJ Quick Check: https://www.justice.gov/crt/software-accessibility-checklist Real

Re: ImageCaptureCore - to Variable?

2018-02-01 Thread Keith Culotta via 4D_Tech
maybe another time, if I find where it starts. > On Jan 31, 2018, at 6:46 PM, Keisuke Miyako via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > but you receive binary RGB data in chunks, > and you have to build your own JPG, PNG, TIFF, whatever, by code. > > do you really want to go down that

ImageCaptureCore - to Variable?

2018-01-31 Thread Keith Culotta via 4D_Tech
Hello, I'm experimenting with 4d-plugin-ica and it's working. Is it possible to avoid scanning to a disk file? I tried ICA SET SCAN OPTION ($scanner;Scanner transfer mode;String(Scanner transfer mode data)) and can see a BLOB is being built. Using BLOB TO PICTURE and BLOB TO VARIABLE (with a

Wayback machine: 6.5 Client lost a form

2018-02-05 Thread Keith Culotta via 4D_Tech
Hello, A customer gets a "Form not found" error when trying to access a Table form on one of their PCs. All other PCs can view the form. No user logged into this one PC can view the form. It's a virtual Windows XP environment when accessing 4D. Does anyone remember where the temp folder for the

Re: Barber Pole Progress Indicator for Foundation

2018-02-21 Thread Keith Culotta via 4D_Tech
If you don't mind using the Progress component, this would work: http://livedoc.4d.com/4D-Progress-16-R6/Progress-bars/Progress-SET-PROGRESS.301-3712491.en.html Keith - CDI > On Feb 21, 2018, at 4:57 PM, Douglas von Roeder via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I'm working with a

Delivery problem

2018-02-21 Thread Keith Culotta via 4D_Tech
So I build a quick sample app for a client and send a zipped copy. He writes back and says his Mac won't open it because it’s from an undignified developer Keith - CDI ** 4D Internet Users Group (4D iNUG) FAQ:

Re: Delivery problem

2018-02-21 Thread Keith Culotta via 4D_Tech
That works. Dignity restored. Keith - CDI > On Feb 21, 2018, at 12:11 PM, Timothy Penner via 4D_Tech > <4d_tech@lists.4d.com> wrote: > >> So I build a quick sample app for a client and send a zipped copy. He >> writes back and says his Mac won't open it because it’s from an undignified >>

Re: Memory leak with dynamic variables in list boxes?

2018-07-27 Thread Keith Culotta via 4D_Tech
Would something like this help... ARRAY REAL(aFoot;0) // Use this array to give each column a unique REAL footer var in the loop Append To Array(aFoot;0) LISTBOX INSERT COLUMN(*;$lbName;$i;"C"+$iStr;$nilPtr;"H"+$iStr;$nilPtr;"Foot"+$iStr;aFoot{Size of array(aFoot)}) in the

Re: Anyone using FTP_Receive under 64-bit?

2018-08-15 Thread Keith Culotta via 4D_Tech
FTP_Receive used to show the progress of the download. That is no longer available, and I think throws an error if it's used. I think the cURL plugin shows the progress, or allows you to figure it out somehow. Keith - CDI > On Aug 15, 2018, at 4:10 PM, Allan Udy via 4D_Tech

Re: V17 and Edit menu (Copy)

2018-08-09 Thread Keith Culotta via 4D_Tech
I just had an instance (v17 Mac) where "command C" and "command V" to copy and paste some form objects between two forms had no effect. It worked when I used the menus with the mouse. That also seems to have cured the problem. This happens on such rare occasions that I've been blaming my

Re: SVG IDs in Listbox Cells

2018-08-14 Thread Keith Culotta via 4D_Tech
Can you then $svg:=SVG_Open_picture (agRM_Graph{1}) $ref:=SVG_Find_ID ($svg;"Value1") SVG_SET_ATTRIBUTES ($ref;"fill-opacity";"1";"stroke-opacity";"1") agRM_Graph{1}:=SVG_Export_to_picture ($svg) ? Keith - CDI > On Aug 14, 2018, at 9:40 AM, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> >

Re: How to show subtotals in a list box

2018-08-20 Thread Keith Culotta via 4D_Tech
Starting at the top and working down an array based listbox: A column could be "manually" subtotaled by inserting rows at the break points of a sorted column. These rows would need a marker in an invisible column so they could be deleted in the next sort or selection change. Or add a numeric

Re: SVG - Simple Example

2018-08-24 Thread Keith Culotta via 4D_Tech
A basic approach could be like this: --- C_TEXT($svg;$ref) C_PICTURE($pict) $svg:=SVG_New // this new svg document is referred to as "$svg" $ref:=SVG_New_rect ($svg;10;10;100;100) // refer to this new rectangle in "$svg" as "$ref" SVG_SET_FILL_BRUSH ($ref;"red")

Line count - compiled component vs interpreted

2018-08-24 Thread Keith Culotta via 4D_Tech
Hello, A compiled component of mine is throwing an error message from within a host database. It is correct to display the error message under its current conditions. However, the error is reported on line 35 of the offending method, but the method has only 25 lines, blank lines and all. Any

Re: Line count - compiled component vs interpreted

2018-08-24 Thread Keith Culotta via 4D_Tech
age- > From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Keith Culotta via > 4D_Tech > Sent: Friday, August 24, 2018 11:10 AM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Cc: Keith Culotta > Subject: Line count - compiled component vs interpreted &g

Re: New record numbering system and CALL WORKER

2018-08-27 Thread Keith Culotta via 4D_Tech
Does the speed penalty apply to reading values from Storage, or just to writing values to Storage? Thanks, Keith - CDI > On Aug 26, 2018, at 8:57 AM, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > Storage is the best option for interprocess communications if you want to use >

Re: Sending Text Messages From 4D

2018-08-22 Thread Keith Culotta via 4D_Tech
This has been working for us, but we only use it occasionally. $err:=SMTP_QuickSend ($Host;$FromAddress;$msgTo;$subject;$message;0;25;$vAuthUserName;$sequence) where $msgTo is a text/phone# like 555...@vtext.com Keith - CDI > On Aug 22, 2018, at 9:04 AM, Tim Nevels via 4D_Tech

Re: Who’s got the gazpacho?

2018-07-19 Thread Keith Culotta via 4D_Tech
Sorry, looking for the Paula Deen list. Keith - CDI ** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub:

  1   2   >