Re: Entity-Selection ListBoxes and adding new records

2019-08-26 Thread Kirk Brooks via 4D_Tech
Chris, Working with collection or entity selection based listboxes is easier for me when I think of the listbox as simply 'showing' or 'displaying' the underlying data. From this perspective when I add something to that underlying data the listbox updates itself because that's all it's doing -

Entity-Selection ListBoxes and adding new records

2019-08-26 Thread Chris Belanger via 4D_Tech
I am using ORDA-based programming exclusively now; not using ‘classic’ methodology. I am wondering what you are doing about creating ‘new’ entities within a listBox (related to some master record). For example, classic scenario: INVOICE - invoice table INVDETAIL - invoice detail lines table

Entity-Selection ListBoxes and adding new records

2019-08-26 Thread Chris Belanger via 4D_Tech
I am using ORDA-based programming exclusively now; not using ‘classic’ methodology. I am wondering what you are doing about creating ‘new’ entities within a listBox (related to some master record). For example, classic scenario: INVOICE - invoice table INVDETAIL - invoice detail lines table

Re: Syntax Checking with Component

2019-08-26 Thread Kirk Brooks via 4D_Tech
Hi David, If your database is going to be compiled all the components must be compiled too. That's what the Compiler is complaining about. Best option is to open the component and compile it yourself. Plus that will get it up to date with the version you are using. On Mon, Aug 26, 2019 at 1:22

Syntax Checking with Component

2019-08-26 Thread David Rose via 4D_Tech
I have a v17 interpreted database that includes an interpreted component (Miyako's Excel Component). The component has a number of methods that have $0 parameters. The component has a Compiler method in which all of the parameters are typed. The local variables in the host database to which the

Re: zooming and panning

2019-08-26 Thread Keith Culotta via 4D_Tech
From the description of your setup on page 1 it sounds like you already know this, but... If pic0 (on page 0) and pic1 (on page1) are both the same size and formatted to Truncated (non aero) you can OBJECT GET SCROLL POSITION ( pic1 ; vPosition ; hPosition ) // marker pic OBJECT SET SCROLL

zooming and panning

2019-08-26 Thread Peter Mew via 4D_Tech
Hi Heres the thing I have an audio waveform (You can think of it as a map) I want to be able to choose a location somewhere in the waveform, move the waveform so the chosen location is in the centre of the waveform, and zoom in X 2 to the location. Then drop a marker at that point and then to be

Re: Regex expert needed??

2019-08-26 Thread Chip Scheide via 4D_Tech
Update : the following code should be more efficient for getting the actual substring(s) replacing the loop starting "For($i;1;$Size)". The following code, uses the built up 2D array to determine where the longest substring(s) end, this gives a position in the shorter string where the

Re: Regex expert needed??

2019-08-26 Thread Chip Scheide via 4D_Tech
Keith, Thanks for you input!! we seem to have a nice collaboration on text utilities :) I ran the code you provided, and found an issue. Given: "This is my dog" & "My Dog does not have fleas" - Your initial code generates NO matches - you use Position with Case sensitivity ON, and as for

Write Pro Tab Stop Example...

2019-08-26 Thread Tom Benedict via 4D_Tech
I want to manage tabs under program control in 4D Write Pro. The documentation explains how to use WP SET ATTRIBUTES to set tabs and the command seems to work (I can verify that the tab offset was changed using WP GET ATTRIBUTES), but the change is not manifested in the Write Pro horizontal

Re: My 4D Experience Blog

2019-08-26 Thread GI - AJAR via 4D_Tech
Hi Jeremy, Thanks for your interest. It is true that I have forgotten to change the color of the SQL statements, I rarely use SQL so until today I didn’t face this problem. I will update the preferences file on the dropbox. Best Regards, Gabriel Inzirillo — 4D Developer AJAR S.A. —