AW: Defining and documenting Objects

2018-10-11 Thread Olivier Flury via 4D_Tech
Well, not sure if this is what you need, but you can insert a dynamic column into a list box, get a pointer to it and define this column as control array/column for hiding/showing rows. http://doc.4d.com/4Dv16/4D/16.4/LISTBOX-SET-ARRAY.301-3978698.en.html I use this a lot, e.g. in custom

AW: Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Olivier Flury via 4D_Tech
Hi Piotr, I guess, you are doing what is described in the documentation for PAGE SETUP: http://doc.4d.com/4Dv16/4D/16.4/PAGE-SETUP.301-3978038.en.html The idea of "AUTOMATIC SCALED PRINTING" ? Am I correct, that the goal is to print a list scaled in order to fit on a "standard" size (e.g.

AW: How to Create a Browser-Like Tabbed Interface

2019-01-21 Thread Olivier Flury via 4D_Tech
Maybe as an alternative to SVG a Listbox with one row and no header and use the cell's as tab controls? You can detect single/double/context click, can put images, set colour, font style/size/colour insert and delete columns... Listboxes are very versatile, I used them to create a custom colour

AW: ON AFTER SORT

2019-01-16 Thread Olivier Flury via 4D_Tech
HTH: // UtyLB_SaveUserSort(tListBox;->tHeaderName;->lSortOrder) // // User name (OS): Olivier Flury - FLURY SOFTWARE // Date and time: 19.07.16, 12:49:33 // // Method:

AW: Do I want to use SELECTION TO ARRAY instead of GOTO SELECTED RECORD server-side in V17?

2018-09-16 Thread Olivier Flury via 4D_Tech
Not really an answer to your question but a more general observation: Very often, when I have to do an export function towards other systems, I end up in doing a bulk export. Either because I am lazy or the other side is lazy or both sides are lazy. It's easy, just send everything. But

AW: Finding the proper source code...

2019-03-25 Thread Olivier Flury via 4D_Tech
The problem with missing attachements may not be related to the new version of the app but to: https://doc.4d.com/4Dv16/4D-Internet-Commands/16/File-Transfer-Overview.300-3069885.en.html The path to the attachement on MacOS X is limited to 63 Chars (documentation) and the length of the file

AW: XLS plugin - format number with leading zero

2019-01-30 Thread Olivier Flury via 4D_Tech
Hi, Some time ago I needed to export data as fixed length strings, including numbers (reals). So I wrote this method: // Uty_FixLengthNum(rToConvert;lLength;lLengthDec;tFillChar;tDecSign;bAlwaysReturnDec) -> tFixLengthNum // // User

AW: How to Catch Paste Action

2019-07-20 Thread Olivier Flury via 4D_Tech
- catch the on after edit event and put the query string (get edited text) into a (hidden) variable 1 - set timer (in my experience, a short timer does the trick, e.g. 3 ticks) - in the on timer event, compare the value of the hidden variable 1 to the value of hidden variable 2 If the content

AW: Multi-Select Dropdown Menu

2020-03-05 Thread Olivier Flury via 4D_Tech
Not sure if it will address your problem... I have created some custom popups and also a multi selection tool. It is still 4D v16 and my selectors/popups are array based. The demo shows the dropdown in action with a 60 000 row address set: Run the method "UI_Test" - compiled mode is better,

AW: AW: Multi-Select Dropdown Menu

2020-03-05 Thread Olivier Flury via 4D_Tech
Thanks for your kind words. The DataBrowser component is still there and I have made some improvements lately: https://flury-software.ch/databrowser-a-better-view-on-your-data/ Olivier -Ursprüngliche Nachricht- Von: 4D_Tech <4d_tech-boun...@lists.4d.com> Im Auftrag von Scott Staley

AW: Active Listbox/Form while listbox dynamically built

2020-03-09 Thread Olivier Flury via 4D_Tech
Hi John, Try to see CALL FORM as "execute this project method in the context of this form", similar to EXECUTE METHOD IN SUBFORM So, the method you execute should update/fill the listbox. e.g. CALL FORM ($WinRef;"MyListboxUpdateMethod";$ObjectWithData) Best, Olivier ||

AW: Programmatically change the number format?

2020-03-16 Thread Olivier Flury via 4D_Tech
Hi, I suppose you want to display noting (or a special value, e.g. "-") if the value is zero? Defining a number format has the following pattern: "positive values{;negative values};{zero}". Example: "### ### ### ###.00;-### ### ### ###.00;-" In other words: you just need to define one

AW: 4D v18 — Need methodology to

2020-04-24 Thread Olivier Flury via 4D_Tech
Maybe too simple for what you need to do, but have a look at the "execute on server" property for project methods. Create a method that is executed on server. It gets as $1 the id of the document you want to display on the client side. The method does everything to fetch the document from the

AW: Change list values in a listbow coloumn

2020-08-03 Thread Olivier Flury via 4D_Tech
e.g. https://kb.4d.com/assetid=76346 || https://flury-software.ch/ -Ursprüngliche Nachricht- Von: 4D_Tech <4d_tech-boun...@lists.4d.com> Im Auftrag von stardata.info via 4D_Tech Gesendet: Freitag, 31. Juli 2020 15:15 An: 4d_tech@lists.4d.com; 4d_tech-requ...@lists.4d.com Cc:

AW: Finding duplicates

2022-03-17 Thread Olivier Flury via 4D_Tech
Hi Stephane, Not sure if this is what you are looking for but I have this (old) method. It works on the current selection. One could try to adapt the idea to ORDA but ORDA does not (yet?) return the count of each value when doing a .distinct()

AW: [SPAM] [ANN] 4D Developer Meeting - June 29 - Zurich

2023-06-13 Thread Olivier Flury via 4D_Tech
No, there will be no spiced ham, but I think we will organize pizza and beer.  -Ursprüngliche Nachricht- Von: 4D_Tech <4d_tech-boun...@lists.4d.com> Im Auftrag von Olivier Flury via 4D_Tech Gesendet: Dienstag, 13. Juni 2023 10:01 An: '4D iNug Technical' <4d_tech@lists.4d.c

[ANN] 4D Developer Meeting - June 29 - Zurich

2023-06-13 Thread Olivier Flury via 4D_Tech
The 4D community of German-speaking Switzerland hasn't met for a long time, so we're organizing a meeting: 4D developer meeting on Thursday, June 29, 2023, from 3:30 p.m. in Zurich, Nordstrasse 15 (near the main station) Further information and registration:

[ANN] 4D Developer Meeting - June 29 - Zurich (again)

2023-06-13 Thread Olivier Flury via 4D_Tech
he Nachricht- Von: 4D_Tech <4d_tech-boun...@lists.4d.com> Im Auftrag von Olivier Flury via 4D_Tech Gesendet: Dienstag, 13. Juni 2023 10:01 An: '4D iNug Technical' <4d_tech@lists.4d.com> Cc: o...@vtxnet.ch Betreff: [SPAM] [ANN] 4D Developer Meeting - June 29 - Zurich The 4D community of Ger

AW: FOLDER DATA CREATION

2023-05-25 Thread Olivier Flury via 4D_Tech
Hi Ferdinando, If you are on 4D Version 17R5 minimum : check out the command "Folder" https://doc.4d.com/4Dv18/4D/18.4/Folder.301-5234162.en.html The 4D Object returned by this command contains also the infos you are looking for: Folder.creationDate Folder.creationTime Olivier