AW: Memory leak with dynamic variables in list boxes?

2018-07-26 Thread Flury Olivier via 4D_Tech
Works interpreted, but not compiled. https://flury-software.ch/ -Ursprüngliche Nachricht- Von: 4D_Tech <4d_tech-boun...@lists.4d.com> Im Auftrag von Keisuke Miyako via 4D_Tech Gesendet: Freitag, 27. Juli 2018 01:32 An: 4D iNug Technical <4d_tech@lists.4d.com> Cc: Keisuke Miyako

AW: Memory leak with dynamic variables in list boxes?

2018-07-26 Thread Flury Olivier via 4D_Tech
Hi Michael, Absolutely, dynamic footer variables are typed as text, but footer sum requires a numeric variable. Changing the type of a dynamic variable does not work in compiled mode. Only changing the type of dynamic arrays. Would be great if 4D would extend LISTBOX INSERT COLUMN with an addi

AW: Memory leak with dynamic variables in list boxes?

2018-07-26 Thread Flury Olivier via 4D_Tech
Hi Michael, There should not be a need to use Execute, also it is not recommended to do so for declaring/creating new variables during runtime (however, I admit, it can be handy...) When you tested with nil pointers for header and footer variables: could it be that your object names (for heade

AW: List Box Header background color programatically.

2017-12-26 Thread Flury Olivier via 4D_Tech
Hi John, If memory serves me well, you cannot set background colors to buttons (= list box headers). Lately I had to do a date picker with colored "special" dates (e.g. suggested dates) and after some tries with a form with buttons (a button for each date) I switched to a list box (where you c

AW: POP3 Email Processing

2017-10-27 Thread Flury Olivier via 4D_Tech
I agree that the 4D Internet Commands require some serious renovations... [Earth (4D Developers) @ 4D: can you hear us?] You may also have a look at the following technote: http://kb.4d.com/assetid=75713 -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auf

AW: Create multi array

2017-10-06 Thread Flury Olivier via 4D_Tech
I would not do this unless there is no other solution for the problem I want to solve. Better solutions: - Pre-declare a number of arrays (Array text(MyArray_001 etc.) and use them by get pointer (Get pointer ("MyArray_"+string($lCounter)) - On interface level you can address most elements with

AW: Widget performance

2017-08-26 Thread Flury Olivier via 4D_Tech
You could create your custom dropdown menu by using one single project form and some code. The dropdown will display this form. No overhead. Have a look at the type ahead component I published a while ago, you could adapt the concept I use there to build your own dropdown menu. -Ursprüngli

AW: Function to return the date/time of the next scheduled backup

2017-07-12 Thread Flury Olivier via 4D_Tech
Not directly out of a Backup.xml file, but GET BACKUP INFORMATION also returns the date for the next scheduled backup: http://doc.4d.com/4Dv14/4D/14.4/GET-BACKUP-INFORMATION.301-2511955.en.html -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von To

AW: Printing ListBox that is longer than a single page

2017-06-05 Thread Flury Olivier via 4D_Tech
Hi John, The component "FSTypeahead" contains a component "FSUty". This component contains a utility method called " Uty_PrintListBox". This method prints the visible columns of a listbox using print object. It adapts the column width to the available space (horizontally) and does the necessa

AW: Problems with LISTBOX SET FOOTER CALCULATION and dynamic columns (v15)

2017-05-11 Thread Flury Olivier via 4D_Tech
Kirk & Miyako, I am struggling with the same problem, works interpreted but not compiled. The type of the dynamic footer variable remains "2" (text). Tested with 4D 16.1. Or did you figure out a way to make it work? If not, and if this is the way it works (not possible to re-type a dynamic var

AW: GOTO OBJECT

2017-05-02 Thread Flury Olivier via 4D_Tech
Have you the "On Timer" event still "free"? If yes: try to set a timer right after the alert and goto object in the timer event. Helps sometimes. Other idea: create your own alert msg, you may have more control on what is going on. And one last idea: create an invisible button. Goto object to

AW: GOTO OBJECT

2017-05-02 Thread Flury Olivier via 4D_Tech
Hi Ferdinando, Instead of an Alert create a text area on your form, make it big and red and use OBJECT SET TITLE and OBJECT SET VISIBLE in case of an alert. Best, Olivier -Ursprüngliche Nachricht- Von: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] Im Auftrag von stardata.info via 4D_T

AW: CALL FORM: Some notes on a command that's easy to misunderstand

2017-03-21 Thread Flury Olivier via 4D_Tech
Hi, Regarding check of method name as string, e.g. for New Process: you could check the name using METHOD GET NAMES. It's not perfect, but better than nothing. My recommendation regarding project method organization: prefix your method names (and form names) for each "module" with 3 or 4 letter

Typeahead Component

2017-02-21 Thread flury olivier via 4D_Tech
I have written a component allowing easy implementation of typeahead functions for variables or fields. The idea is to create an array with possible values ("suggestions") and to place a method (the only shared method of the component) in the on after edit event of the variable or field. To thi

AW: Question about storing data outside of datafile

2017-02-17 Thread flury olivier via 4D_Tech
ecuted on server is an easy and reliable solution ! Best regards, Maurice Inzirillo -- AJAR S.A. 4D v16: http://www.ajar.ch/ Wakanda Wednesday Lab : http://www.ajar.ch/wwl twitter: ajar_info Tél : +41 (0)323422684 > On 17 Feb 2017, at 07:45, flury olivier via 4D_Tech <4d_tech@

AW: Question about storing data outside of datafile

2017-02-16 Thread flury olivier via 4D_Tech
I am currently thinking of rewriting an existing document management system. What is the "best" way to move files from the clients to the server and back from the server to the client? VARIABLE TO VARIABLE? Execute on Client / Execute on Server? Using a kind of caching table (store the last x u