v13 - getting list of method names

2016-10-26 Thread Chip Scheide
I know that there are now methods to get... um... method access in a database. I can not figure out what these are? Can some one please point me in the right direction. All I need is a list of methods Thanks Chip ** 4D Internet

Re: v13 - getting list of method names

2016-10-26 Thread Chip Scheide
THANKS! On Wed, 26 Oct 2016 16:36:17 -0400, Chip Scheide wrote: > I know that there are now methods to get... um... method access in a > database. > I can not figure out what these are? > > Can some one please point me in the right direction. > All I need is a list of m

Re: v13 - getting list of method names

2016-10-27 Thread Chip Scheide
; 949-336-2902 > > On Wed, Oct 26, 2016 at 5:01 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> >> THANKS! >> >> On Wed, 26 Oct 2016 16:36:17 -0400, Chip Scheide wrote: >>> I know that there are now methods to get... um... method ac

Re: v13 - getting list of method names

2016-10-27 Thread Chip Scheide
7;s created. Otherwise the method > code is replaced with the new code. > > On Thu, Oct 27, 2016 at 7:59 AM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> one more thing - >> it appears that the design object access methods (at least in v13) can >> n

Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2016-11-04 Thread Chip Scheide
my 2 cents If i am to understand correctly, Tony, you and I use IP variables in a similar manner - we use them (primarily) as 'Konstants'. I think a possible solution to at least this part of the IP issue is: - some mechanism that allows us to either easily (as part of 4D not a plugin/compo

RE: Progressive slow

2016-11-04 Thread Chip Scheide
Dennis - I agree with you on the memory issue. However, the initial question was/is: Why are searches quick(er?) after a restart and slow down after some period of server up time. This is not/should not be a client side issue - it is most likely a cache issue... However there is one other thing

Re: Survey on 4D¹s strategy for implementing Preemptive Processing / worker processes

2016-11-04 Thread Chip Scheide
Add, please see my more recent comment on 'Konstants' On Wed, 2 Nov 2016 16:32:37 +0100, Add Komoncharoensiri wrote: > Hi Cannon, > > That is exactly what a constant is for. If the value is never changed, > then those IP variables can easily be replaced by a constant. > > Regards, > > Add > >

Re: Survey on 4D’s strategy for implementing Preemptive Processing / worker processes

2016-11-04 Thread Chip Scheide
create a local array/object declare the static array Copy Array (local;static) haven't worked with objects - but same Idea I assume On Tue, 1 Nov 2016 18:23:56 -0600, Cannon Smith wrote: > > I’ve been thinking about how a static variable could be instantiated. > Think of an array, for example.

Re: Problems installing 4D PrivilegeHelperTool

2016-11-04 Thread Chip Scheide
not directly looks like a privilege error you could try: create a (blank) text file, named : com.4D.HelperTool.plist and place it in the location: /Library/LaunchDaemons Im not sure I would screw around with the permissions on that specific directory, although you could by adding Read/Write pri

RE: Progressive slow

2016-11-07 Thread Chip Scheide
me > process is more slow. > > Thanks > /Ferdinando/ > > Il 04/11/2016 20:00, 4d_tech-requ...@lists.4d.com ha scritto: >> Message: 2 >> Date: Fri, 4 Nov 2016 10:37:41 -0400 >> From: Chip Scheide<4d_o...@pghrepository.org> >> To: 4D iNug Tech

RE: Progressive slow

2016-11-07 Thread Chip Scheide
.com ha scritto: >> Message: 12 >> Date: Mon, 7 Nov 2016 10:02:35 -0500 >> From: Chip Scheide<4d_o...@pghrepository.org> >> To: 4D iNug Technical<4d_tech@lists.4d.com> >> Subject: RE: Progressive slow >> Message-ID:<20161107100235041589.9243f

RE: Progressive slow

2016-11-07 Thread Chip Scheide
do > > Il 07/11/2016 21:00, 4d_tech-requ...@lists.4d.com ha scritto: >> Message: 4 >> Date: Mon, 7 Nov 2016 11:20:54 -0500 >> From: Chip Scheide<4d_o...@pghrepository.org> >> To: 4D iNug Technical<4d_tech@lists.4d.com> >> Subject: RE: Progressive

Missing Getters - Form Get Input, Form Get Output

2016-11-07 Thread Chip Scheide
Looks like these 2 commands are missing. We have : Form Set Input Form Set OUtput BUT no getters to determine the current input/output form for a table anyone interested? I can create a feature request... Chip ** 4D Internet Us

Re: Missing Getters - Form Get Input, Form Get Output

2016-11-08 Thread Chip Scheide
get the list of forms for the table to display and I > can easily set the output form for printing. I can easily re-set the > current output form - IF I KNEW WHAT IT WAS. > > > On Mon, Nov 7, 2016 at 1:51 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: >

v12 & 13(+?) Compiler fails to detect leading ; in directives

2016-11-08 Thread Chip Scheide
v12 on Mac - I have a method in which I also have a typo: C_LONGINT(;$1;$Loop_Count;$Print_to_Screen;l_Print_Destination) Look closely there is a leading ';' after the compiler directive. The compiler does NOT catch this. I found it due to an error while running interpretedly, the local variable

Re: Missing Getters - Form Get Input, Form Get Output

2016-11-08 Thread Chip Scheide
I think that would work :) get form name before changing input/output form, then replace when done. Thanks! On Tue, 8 Nov 2016 22:57:31 +0100, Charlie Vass wrote: > Doug, > > Would the command "Current form name” > > be

Re: Automatic Variable Assignment and Web Get Variables - Bad usage of pointer or pointer to an unknown variable

2016-11-09 Thread Chip Scheide
I do NO web work so take this idea with that in mind Instead of : On Wed, 9 Nov 2016 19:58:16 +, Mike McCall wrote: > Else > $p:=Get pointer(arr_Web_Field_Name{$i}) > $p->:=arr_Web_Field_Value{$i} > End case if

RE: Automatic Variable Assignment and Web Get Variables - Bad usage of pointer or pointer to an unknown variable

2016-11-10 Thread Chip Scheide
other idea. > > Mike > > -Original Message- > From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Chip > Scheide > Sent: Wednesday, November 9, 2016 12:38 PM > To: 4D iNug Technical <4d_tech@lists.4d.com> > Subject: Re: Automatic Variable A

searching text for Date in dd/mm/yy format

2016-11-10 Thread Chip Scheide
I have a text field I use for tracking when an activity happens contains: User reference, Date, and Time I am having problems being able to search for an embedded date. Query([table];[table]track_field="@11/10/16@") returns nothing, even though I can see that this value exists. I have tried using

Re: searching text for Date in dd/mm/yy format

2016-11-10 Thread Chip Scheide
[table];[table]track_field:=replace string([table]track_field;"/";"-") On Thu, 10 Nov 2016 15:35:11 -0500, Charles Miller wrote: > On Thu, Nov 10, 2016 at 3:30 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> I am having problems being able

Re: searching text for Date in dd/mm/yy format

2016-11-10 Thread Chip Scheide
_1]Field_2="@11/10/16@") > > finds the alpha value "the date is 11/10/16 ..." with or without index. > >> 2016/11/11 5:30、Chip Scheide <4d_o...@pghrepository.org> のメール: >> >> I am having problems being able to search for an embedded date. >

Re: searching text for Date in dd/mm/yy format

2016-11-10 Thread Chip Scheide
you expand on the field type and the value you know is there? > quick test shows that it should work as you would expect. > > ie. > > QUERY([Table_1];[Table_1]Field_2="@11/10/16@") > > finds the alpha value "the date is 11/10/16 ..." with or without ind

Re: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Chip Scheide
ok - SO some 'jacking' how about: open database, see datafile is locked (read only) Ask user for admin user/password, like a standard installer Use LEP to execute the terminal command to re-enable 'from anywhere' copy the structure and data to where you want it (or ask user) then turn off the opt

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Chip Scheide
does this work regardless of where the file is moved to? i.e the desktop? On Mon, 14 Nov 2016 19:04:03 +0100, Timothy Penner wrote: > Starting with 10.12.x Sierra, if you download an app.zip and unzip it > then run it from the Downloads directory, Apple will quarantine the > app into a Read-Only

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Chip Scheide
also notice this si specifically referencing "Signed Applications" On Mon, 14 Nov 2016 19:36:28 +0100, Timothy Penner wrote: > Sorry Chip, I don’t know, I was paraphrasing the docs: > https://developer.apple.com/library/content/technotes/tn2206/_index.html#//apple_ref/doc/uid/DTS40007919-CH1-TNTA

RE: Downloaded 4D app: structure file in read only mode

2016-11-14 Thread Chip Scheide
actually - what I was pointing out is that Apple is doing all of this security on applications which are (supposedly) 'safe', as in they have been signed, presumably by Apple itself. What are they doing to apps that are not signed? ANd is this the next step in forcing all applications t use the

v12 - easy way to rename many methods at once?

2016-11-14 Thread Chip Scheide
I what to rename a number of methods. the 'module' prefix is no longer valid/desired I would like to change the names of all the methods at once, rather then having to rename them 1 at a time. Thanks Chip ** 4D Internet Users Gro

Re: v12 - easy way to rename many methods at once?

2016-11-15 Thread Chip Scheide
and then do "Replace in content". > > > -- > Douglas von Roeder > 949-336-2902 > > On Mon, Nov 14, 2016 at 2:22 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> I what to rename a number of methods. >> the 'module' pre

Re: It's the little things (ordering parameters)

2016-11-15 Thread Chip Scheide
Wrap one to look like the other :) On Tue, 15 Nov 2016 10:26:47 +1100, David Adams wrote: > For those of you that pass parameters, order can matter. It's been, what, > 30 years now I've been using 4D (!) and I *still* have to double-check > Position and Find in array > > Position(Needle;Haysta

Re: It's the little things (ordering parameters)

2016-11-15 Thread Chip Scheide
I have to put in a plug (for Walt Nelson of Guam) Flow charting of methods :) On Tue, 15 Nov 2016 13:34:07 -0700, Ed Glassgow wrote: > There have been efforts at pure graphical programming software. In > fact, there was a database program that was drag and drop in the > relatively early Mac

v12+ parsing text

2016-11-16 Thread Chip Scheide
I have a routine which parses text. It seemed to function well, until recently, when I had to feed it 50 megs of text (48.3 million characters). The data is Cr delimited, and each line of text is of variable length. I am using the below mentioned truncate option, so each time the source/original

Re: v12+ parsing text

2016-11-16 Thread Chip Scheide
ok - doing some testing and recoding. I do not quite understand I wrote code to implement substring (see far below) I use it in a parsing routine (see below) on a text block of 2.7 million characters. time to process the entire block : 36.5 sec. I use the exact same code, using 4D's Substrin

Re: Scrollbars become disabled

2016-11-16 Thread Chip Scheide
redraw ? On Wed, 16 Nov 2016 14:12:21 -0800, truegold wrote: > Hi Chuck, > >> Can you minimize and bring back. It may also work by clicking into >> where scroll bar is > > > Unfortunately not. This an old database that started development in > late 80’s. It still has those small window with

Re: v12+ parsing text

2016-11-17 Thread Chip Scheide
Thanks On Thu, 17 Nov 2016 07:16:54 +0800, Alan Chan wrote: > I have written replacement of replace string with blog (not > neccessary in v15) You could modify it to fit your needs. Please note > that this is written for large text block and not for small text > block in a tight loop due to its

Re: v12+ parsing text

2016-11-17 Thread Chip Scheide
: open document repeat receive packet (doc_ref;array element;1,500,000) if not EOF) add element to array end if until EOF Then process the text Chip On Thu, 17 Nov 2016 14:14:19 +0100, Arnaud de Montard wrote: > >> Le 16 nov. 2016 à 20:12, Chip Scheide <4d_o...@pghrepository.

Re: v12+ parsing text

2016-11-17 Thread Chip Scheide
gt; http://www.informed-solutions.com > > > >> On Nov 17, 2016, at 10:07 AM, Chip Scheide >> <4d_o...@pghrepository.org> wrote: >> >> >> Thank

Re: v12+ parsing text [summary]

2016-11-17 Thread Chip Scheide
I am using a text array (only 1 element) The array is created on import of the text from the disk file and is NOT resized (except to clear) after this. The element(s) of the array are filled via Receive Packet(Doc;Array_Element;1,500,000,000) Original Issue - I tired to import a large (50meg) do

Re: v12+ parsing text [summary]

2016-11-17 Thread Chip Scheide
I'm not working with arrays (being passed) but a single text variable. x_Parse:=ax_File_Contents{$Current_File_Text_Block} then x_Parse is worked on/with So a method call looks like this: utl_text_Fast_Parse(->x_Parse;$Delimeter_Count;$Delimeter) BUT if I were working with the array directly, I

Re: v12+ parsing text [summary]

2016-11-17 Thread Chip Scheide
for posterity :) My new parsing routine (followed by new substring routine) //Project Method: utl_Text_Fast_Parse //$1 - pointer - to text to parse //$2 - longint (optional) - number of times to find character(s) (default is one) //$3 - text (optional) - text delimter to find (default i

Re: Debugger - catch whenever a variable changes

2016-11-22 Thread Chip Scheide
use Run time explorer 'Catch' tab/icon/button enter an expression such as A = 6 When it becomes true the debugger will stop. TO catch when a field or variable changes, use that object's current/initial value ex: [table]field1 # !00/00/00! then when field1 is assigned a date the program will ha

Re: Debugger - catch whenever a variable changes

2016-11-22 Thread Chip Scheide
nsky wrote: >> >>> Hi Chip, >>> Yes, that'll work. But what if the variable changes again? For example, >>> suppose I have a text variable named MyTextVariable. It gets some text >>> assigned to it. Then, later on, it might get more tex

v12 & v13 screwup, converted accidentally

2016-11-23 Thread Chip Scheide
I accidentally converted a v12 structure to v13 is there a way to move the structure back to v12? Thanks Chip ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html O

Re: v12 & v13 screwup, converted accidentally

2016-11-23 Thread Chip Scheide
von Roeder > 949-336-2902 > > On Wed, Nov 23, 2016 at 12:08 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> I accidentally converted a v12 structure to v13 >> is there a way to move the structure back to v12? >> >> Thanks >> Chip >

Re: v12 & v13 screwup, converted accidentally

2016-11-23 Thread Chip Scheide
Roeder wrote: > Chip: > > Sorry to hear about that - I was thinking that it parked a clean version of > the structure out of harms' way. > > Obvious question - what about a backup or archival copy? > > > -- > Douglas von Roeder > 949-336-2902 > > On Wed,

Re: v12 & v13 screwup, converted accidentally

2016-11-23 Thread Chip Scheide
changes: > > C_TEXT($FB0476_T) > //dvonroeder 20161123 {0476} > > FB0476 = case #476 in FogBugz, which is the bug tracking software that I > use. > > This is a post facto recommendation but this practice *has* come in handy a > few times. > > > >

[any version] Version Conversion dialog

2016-11-28 Thread Chip Scheide
After last Friday's debacle Which I have since realized was partially my fault, as I think I canceled the upgrade in the middle and 4D had not yet created/copied the old version. Would anyone be interested in a feature request that asks 4D inc to do the following: In the conversion (confirm

Re: v12 & v13 screwup, converted accidentally

2016-11-28 Thread Chip Scheide
Kirk Brooks wrote: > Chip, > To expand on Doug's thought - in the structure you accidentally updated use > Find in Design and search by date range for things changed since 2 days > ago. Gives you a fairly good list of the things you need to move. > > On Wed, Nov 23, 2016 at

Feature request - Compiler directive - DO NOT change case of variable names

2016-11-28 Thread Chip Scheide
feature request : http://forums.4d.fr/4DACTION/www_Post_Message/EN/1075213/0/0/ typing methods which are generated by the compiler, and therefore variable lookups/type-ahead in methods make all variables ALL CAPS. Please -- DO NOT -- change the case of the variables from that typed, when gene

Feature Request - Clear Object Method in contextual menu

2016-11-28 Thread Chip Scheide
http://forums.4d.fr/Post//18717071/1/ When right clicking on an object, when that object has an object method. Please add, and make active, 'Clear Object Method', as is currently available from the primary form editor's 'Object' menu. **

Re: Feature request - Compiler directive - DO NOT change case of variable names

2016-11-29 Thread Chip Scheide
v12 and 13 On Tue, 29 Nov 2016 01:35:25 +0100, Keisuke Miyako wrote: > which version are you using? > just tested with v15 and v15R5, > case is always respected in Compiler_Variables. > >> 2016/11/29 6:32、Chip Scheide <4d_o...@pghrepository.org> のメール: >> It would b

Check box interface question

2016-11-30 Thread Chip Scheide
I have a form with a grid on it. the columns and rows are labeled with numbers or letters. The 'labels' include invisible buttons which allow the user to turn off/on the entire row/column I have a check box which alters the function of these row/column buttons. The checkbox switches the buttons

Older upgrades to v12+

2016-12-01 Thread Chip Scheide
I am moving a database from v2003 to v12. I have (at least one) report which used the old 'Print Variable Frame' option of text variables. It appears that this functionality become permanent when the database is upgraded. The report has 7 print variable frame text objects, all stacked as rows te

v12 and v13 Debugger Font size

2016-12-02 Thread Chip Scheide
in the debugger for some reason the font size has gotten reduced to, I do not know, 6 or 8 points THe font size I am referring too is the font size of Expression panes. Code size is OK. How do I change this? Thanks ** 4D Intern

Re: ​About using the same data file in two different structures...

2016-12-05 Thread Chip Scheide
Kirk, I haven't seen anyone mentioning this.. As I remember (I do not work with remote sites, so grain of salt..) - You can turn on data logging (backup) which creates a journal file that can be used to update a database in case of crash and data loss. - You can save these files, and pass them to

Re: Move Object

2016-12-06 Thread Chip Scheide
here - maybe these will help - I know I got completely fed up with move object. //Project Method: utl_Move_Object // $1 - pointer - to object to move - if Nil, use object name passed in $4 // $2 - Longint - absolute left location to place object // $3 - longint - absolute top location t

v13 - Design created menus

2016-12-13 Thread Chip Scheide
I have a set (4) of design created menu bars, numbered 1 -> 4, and each given a name. I have 2 items on the first menu, on each menu bar, that I want to remove or display depending on user privileges. This works during login, and the (design access) menu item and separator are enabled for me,

Re: Stuck Floating Palettes

2016-12-20 Thread Chip Scheide
Havana! :) On Tue, 20 Dec 2016 13:01:15 -0700, Tom Dillon wrote: > (which should be in Costa Rica, BTW.).) ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Opti

Re: Sierra 10.12.2 4D crash on new touch bar macbook pro - possible solution

2016-12-21 Thread Chip Scheide
Nice... pay a lot of money for a 'track bar' then turn it off... :( On Wed, 21 Dec 2016 13:42:09 +0100, Armin Deeg wrote: > Hi, > > one of my customer had a problem with my 4D app (v12.6) on a new > touchbar macbook pro. > 4D crashes after a few clicks. > > latest Apple MacBookPro 13,3" with ol

[off] Happy New year

2017-01-03 Thread Chip Scheide
hope everything is going well for all of you. Chip ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub:

v13+ code to increase font size

2017-01-03 Thread Chip Scheide
anyone have code already written to increase font size, move things around etc as the font size increases - at least for a list (ing/box) - great if it can include entry forms too Thanks Chip ** 4D Internet Users Group (4D iNUG)

Re: v13+ code to increase font size

2017-01-04 Thread Chip Scheide
et it working as my machine at work (where I am now) can not run v15. Thanks to all Chip On Tue, 3 Jan 2017 14:14:25 -0500, Chip Scheide wrote: > anyone have code already written to increase font size, move things > around etc as the font size increases > - at least for a list (ing/box) &

v13+ - Warming Cache - still needed?

2017-01-04 Thread Chip Scheide
I have some code that warms the cache for one specific table. I am wondering if this is still needed with newer version of 4D. This is/was done because at time I need to build a genealogy, which can/has go for 10 generations and thousands of animals. In my initial testing (v11) i found a vary si

Re: v13+ code to increase font size

2017-01-04 Thread Chip Scheide
quite good, but you have to adjust the code to > handle > > - horizontal and vertical lines (only moving, no resizing) > - resizeable forms > - replace graphics with svg to have better results in zoom mode > > check the video: http://.mettre.de/wp/formulare-zoomen/ > >

Re: v13+ code to increase font size

2017-01-05 Thread Chip Scheide
17:40:58 +0100, Arnaud de Montard wrote: >> >> Le 4 janv. 2017 à 16:14, Chip Scheide <4d_o...@pghrepository.org> a >> écrit : >> >> [...] >> Arnaud, >> This might work, at least for listboxes :) > > I use it on listboxes only. Old users like m

Re: v13+ code to increase font size

2017-01-05 Thread Chip Scheide
5, 2017 at 1:25 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> C_LONGINT($Font_Size;$Row_Height) >> >> $Font_Size:=OBJECT Get font size(ptr_Output_Form_LB->) >> $Row_Height:=LISTBOX Get rows height(ptr_Output_Form_LB->) >> >>

pointer and array element issue

2017-01-06 Thread Chip Scheide
I have a method which resizes any number of arrays, regardless of type. In this method I want to clear the {0} elements of these arrays if the new size of the array is Zero [utl_array_Resize_Array]. In this method I am calling another method which converts text to an appropriate data type [utl_

RE: pointer and array element issue

2017-01-06 Thread Chip Scheide
after checking on usage, It appears I can do this. That was simple :) However, it might be useful to know how to go about setting to be able to pass a pointer in this manner. ANy more IDeas? Thanks Chip On Fri, 6 Jan 2017 20:15:40 +, Dennis, Neil wrote: >> If ($New_Size=0) //clear {0}

RE: pointer and array element issue

2017-01-06 Thread Chip Scheide
Thanks I saw that solution... but since the method utl_text_Convert_From_Text does the same/similar thing I was trying not to duplicate functionality. I know I have used smiler syntax to ->($Current_Array->{0}) in other places but probably not with an array element On Fri, 6 Jan 2017 21:01:

RE: pointer and array element issue

2017-01-06 Thread Chip Scheide
Thanks Tim, $temp_p would not necessarily be a pointer. The method utl_array_Resize_Array can take any type of 1 dimensional array. so, as was previously pointed out a case statement testing type of array would be needed Chip > On Jan 6, 2017, at 7:18 PM, Chip Scheide wrote: > >>

Re:iNug vs Forum was : 4D UI code

2017-01-09 Thread Chip Scheide
I like nug because: - it comes to me - I find the (not just 4d's) forum format a headache to use, in some cases 4D more then others - to the specific point, '... reading code copy paste to a 4D method, or your favorite text editor On Mon, 9 Jan 2017 10:07:33 +0100, Arnaud de Montard wrote:

Re: 4D UI code questions and observations

2017-01-09 Thread Chip Scheide
What about : Self ?? Chip ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr

v14+ loss of Option F

2017-01-09 Thread Chip Scheide
I was working with a dialog today which was not behaving correctly. I made some changes which I thought might fix the problem, and then ran the code in the "user" environment (i.e. I did Menu RUN -> Run Method). This allowed me to test the changes, as it should, HOWEVER - the dialog (form) has

Re: v13+ code to increase font size

2017-01-09 Thread Chip Scheide
Thanks! On Mon, 9 Jan 2017 09:57:10 -0700, Cannon Smith wrote: > Hi Chip, > > I pasted some code below you might be interested in. It is from a > method I named LB_Header_SplitLabels. You can run it after setting up > a listbox, whenever you add/remove columns from a listbox, whenever > you ch

Re: 4D UI code questions and observations

2017-01-09 Thread Chip Scheide
seeing that we can do > a "Find in design" and then "Replace in content", but it's one of those > "trying to stay ahead of the power curve" things for me. > > -- > Douglas von Roeder > 949-336-2902 > > On Mon,

Re: Audit Trails

2017-01-09 Thread Chip Scheide
Queue - SNL skits re: Pat Pat (Saturday Night Live) - Wikipedia http://www.google.com/url?q=https://en.wikipedia.org/wiki/Pat_(Saturday_Night_Live)&sa=U&ved=0ahUKEwib_ZGz-rXRAhWD7iYKHdcgARkQFggvMAU&usg=AFQjCNH3DkJYzPmNrZV12DAxH8MN9bHr5g On Mon, 9 Jan 2017 20:46:06 +, Pat Bensky wrote: > Oh, y

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: Input form strangeness v15r5

2017-01-16 Thread Chip Scheide
no this is not the case, in v12 even. Tab controls are arrays, as such, if you/user selects a tab and you do not clear/reinitialize the array between record access, then it has the last selected tab as default. ex (pseudo code): :(on load) if (size of array(tab_control)=0) array text(tab_con

Re: Input form strangeness v15r5

2017-01-16 Thread Chip Scheide
While I can not speak to v15 specifically, generally, automatic relations can be problematic, while not for the reason(s) you are questioning. The biggest problems are: - circular relations - relational path Circular relations - given tables A, B, C and D, and the below relationships A -> B -> C

Re: Input form strangeness v15r5

2017-01-16 Thread Chip Scheide
2 for > a continuous string of years has been different. I’ll go back and > recheck form and object methods just to be sure… and report back if > I find anything. In any event, thanks for your reply. > > max > > >> On Jan 16, 2017, at 6:11 AM, Chip Scheide >> <

v13 - text field Copy/Paste

2017-01-18 Thread Chip Scheide
I am testing an entry form, in this case that the edit menu functions as expected (copy/cut/paste) I have a couple of text fields which are displayed on a tab control. I enter some text. Cut the text paste the text AND... the pasted text is largerlike from 10 (original) to 12 (pasted) point

Re: Website development path

2017-01-18 Thread Chip Scheide
AWESOME!! Thanks On Wed, 18 Jan 2017 22:14:27 +0100, Peter Jakobsson wrote: > Hello ernie > >> But, I have tried four time to 'get a grip' on Active4D, I slam into >> text (manuals) that makes no cense to me and does not empower me to >> continue to want to 'learn' this fantastic product > >

Re: Query editor in v15

2017-01-18 Thread Chip Scheide
turn on query path logging? On Thu, 19 Jan 2017 10:18:16 +1300, Keith Goebel wrote: > >> On 18/01/2017, at 2:40 pm, Keisuke Miyako wrote: >> you could just activate the "execute on server" method property if >> you need that function in your QBF >> >>> 2017/01/18 5:15、Keith Goebel >>

Re: v13 - text field Copy/Paste

2017-01-18 Thread Chip Scheide
the style sheet and is larger, 12 point. Also text entered subsequent to the paste is ALSO 12 point. ... On Wed, 18 Jan 2017 16:31:24 -0500, Chip Scheide wrote: > I am testing an entry form, in this case that the edit menu functions > as expected (copy/cut/paste) > > I have a coupl

v13 - Listbox Cell level colors

2017-01-19 Thread Chip Scheide
Can I set the font and/or background color for a specific cell in a selection listbox? If so... anyone have code? I don't see a way to do this in this version of 4D. Thanks ** 4D Internet Users Group (4D iNUG) FAQ: http://list

Re: v13 - text field Copy/Paste

2017-01-19 Thread Chip Scheide
fically but it sounds like the sort of artifacts I > have seen when the field has the multistyle option enabled. If it's checked > try disabling it. > > On Wed, Jan 18, 2017 at 1:31 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> I have a couple of te

v13 - How do I turn on/off unique programatically

2017-01-20 Thread Chip Scheide
continuing title... I what to be able to at least temporarily, turn on/off the unique attribute of a field in code. is there a way? Thanks ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http

Re: v13 - How do I turn on/off unique programatically

2017-01-23 Thread Chip Scheide
action in reliance upon this transmission is strictly > prohibited. Delivery of this message to any person other than the > intended recipient shall not compromise or waive such > confidentiality, privilege or exemption from disclosure as to this > communication. > >> On Jan 20

Re: v13 - How do I turn on/off unique programatically

2017-01-23 Thread Chip Scheide
once again.. I want to turn on/off the uniqueness of a field so.. Uniquessness:="off" Uniquessness:="on" On Mon, 23 Jan 2017 13:08:20 -0500, Charles Miller wrote: > On Mon, Jan 23, 2017 at 1:02 PM, Chip Scheide <4d_o...@pghrepository.org> > wrote: > >> t

Re: v13 - How do I turn on/off unique programatically

2017-01-23 Thread Chip Scheide
the key (unique) field in the new table On Mon, 23 Jan 2017 13:27:22 -0500, Jeremy French wrote: > > I’m curious. What are you trying to do in a table where you want > uniqueness most ― but not all -- of the time? > > >> On Jan 23, 2017, at 1:22 PM, Chip Scheide >> &

RE: v13 - How do I turn on/off unique programatically

2017-01-23 Thread Chip Scheide
Thanks Ill try that On Mon, 23 Jan 2017 20:13:42 +0100, Timothy Penner wrote: > Maybe disabling constraints will help you: > http://kb.4d.com/assetid=76498 > http://doc.4d.com/4Dv16/4D/16/ALTER-DATABASE.300-3201303.en.html > > > Begin SQL > ALTER DATABASE DISABLE INDEXES; > ALTER DATABA

RE: v13 - How do I turn on/off unique programatically

2017-01-23 Thread Chip Scheide
Thanks Tim! That works. It appears that all i need(ed) is the disable constraints line. That seems to do the trick On Mon, 23 Jan 2017 20:13:42 +0100, Timothy Penner wrote: > Maybe disabling constraints will help you: > http://kb.4d.com/assetid=76498 > http://doc.4d.com/4Dv16/4D/16/ALTER-DATABAS

Re: replace string

2017-01-23 Thread Chip Scheide
$oldstring:=Char(92) $newString:=Char(Quote) On Mon, 23 Jan 2017 21:24:09 +, Peter Mew wrote: > Hi > I am importing some text, which appears to have apostrophes at various > points in the text file. > Investigation shows that some of these characters evaluate to "'"and others > to "\'92" > I

Re: Equals is not always transitive

2017-01-24 Thread Chip Scheide
"@" always on the right On Tue, 24 Jan 2017 14:00:51 +1100, David Adams wrote: > > If someone has something usefully smart to say to help me keep this > straight in my head, I'm all ears. ** 4D Internet Users Group (4D iNUG) FAQ:

Re: v12 - Drag n drop from desktop

2017-01-25 Thread Chip Scheide
7;t find a place to change the settings, probably because this > db was created in v11 (I believe). > > I've tried using DRAG AND DROP PROPERTIES($vpSrcObj;$vlSrcElem;$vlPID) but > $vpSrcObj is a nul pointer (is this just for dropping 4D objects?). > > Any suggestions would b

Re: Missing Pict

2017-01-25 Thread Chip Scheide
according to Apple (old) https://discussions.apple.com/thread/1428664?tstart=0 Preview can open PICTs and then save as jpg. ALso I found the following online tools --NO ENDORSEMENT-- as I have not used these tools http://image.online-convert.com/convert-to-jpg https://www.coolutils.com/online/PI

Re: Check Syntax returns random number of errors...

2017-01-31 Thread Chip Scheide
many syntax errors? it might matter where 4D starts the syntax checking. I know that some syntax errors will 'block' others. I would try fixing a bunch of the errors, then try again. since you have so many errors, it really doesn't matter whether there are 1103, or 1502, or some other number.

Re: What are people using inter-process communications for now?

2017-02-03 Thread Chip Scheide
primarily 1 - creating relational ties between record sources (drag n drop) ex: associate samples with an experiment, drag sample(s) from 1 list form to an experiment entry form 2 - displaying related data in it's own window (communication is one way and short lived), when 'drilling down' does,

Re: What are people using inter-process communications for now?

2017-02-03 Thread Chip Scheide
The move to 16 is a matter of hopping and skipping among OS and software versions I expect that by end Feb we will finally be able to move away from v2003/v12 and OS X 10.6.8 Where we will then be able to move to v13 and 10.9. After that I have t look at other software compatibility issues, no

v13+ - On After Double Clicked??

2017-02-06 Thread Chip Scheide
The event referenced in the subject does not exist, but I think it could be a useful one. Anyone? I'll create a feature request if it seems like others are interested. (Selection Based Listbox) I am finding a situation where I want to run some code after opening a entry form from an 'included'

Re: v13+ - On After Double Clicked??

2017-02-07 Thread Chip Scheide
based listbox > is only triggered if you have set the double click property of the > listbox to edit or add a record. > > if it is set to "do nothing", I don't think the event won't fire. > > 2017/02/07 7:01、Chip Scheide > <4d_o...@pghrepository.org<mailt

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