Re: Create Object Field Under Program Control?

2019-06-25 Thread Tom Benedict via 4D_Tech
Thanks for the response Mr Miyako. I tried using IMPORT STRUCTURE and immediately got errors: 1100Wrong source field 1020Wrong field reference in database myDatabase 1227Table name is already used When I exported the ‘old’ structure and diffed the .xml files

Re: Create Object Field Under Program Control?

2019-06-25 Thread Keisuke Miyako via 4D_Tech
haven't investigated thoroughly, but I think it is possible to update an existing table with IMPORT STRUCTURE https://doc.4d.com/4Dv17/4D/17.2/IMPORT-STRUCTURE.301-4386048.en.html if the UUID matches. you might want to first test and confirm the behaviour with an existing DB. > 2019/06/25

Re: Any 4D Write Pro Features Available Only in 64Bit?

2019-06-25 Thread Tom Benedict via 4D_Tech
>What 4DWrite Pro features, if any, are only available in 64bit? From what I’ve been able to determine the only 64bit specific limitation is that the WP PRINT command cannot be called within a 4D print job started with OPEN PRINTING JOB

Re: Dialog (;*) question

2019-06-25 Thread Peter Bozek via 4D_Tech
Kirk, Yes, this is a good idea, and the schema when there is central UI process (worker) displaying a toolbar, and all other windows are created with DIALOG(;*) by clicks on toolbar buttons / menu items is interesting, but in this particular case not doable, as I work with existing application

Re: Dialog (;*) question

2019-06-25 Thread Kirk Brooks via 4D_Tech
Hi Peter, When you call DIALOG(*) the dialog opens in the current process. But as you saw execution continues on. The solution is to make a DIALOG call by itself first and open the subsequent windows from there. The suggestions I've heard are to think about having a single UI process. This

Re: list box and sort

2019-06-25 Thread Chip Scheide via 4D_Tech
Chuck, all of my listbox code was written a while ago.. so I am a bit fuzzy but for the predesigned listbox, as I recall since you are 'stepping around' the native sort function of the header button (listbox setting 'sortable', I think this is what is causing the header button to not change

list box and sort

2019-06-25 Thread Charles Miller via 4D_Tech
HI all, I have not had this problem before but it must be something dumb I am doing. I have listbox 1 where I have columns created through code and on header click event. When I enter on header click event I do a customer sort on column 2. The code looks like this case of : (Form event=On Header

Create Object Field Under Program Control?

2019-06-25 Thread Tom Benedict via 4D_Tech
Is there a way to add an object field to a table via 4D code? I went to create a SQL script to do this using ALTER TABLE but found in the documentation that object fields cannot be added via SQL. I have to add an object field to a number of tables in a number of databases, so it would be nice

Re: Dialog (;*) question

2019-06-25 Thread Chip Scheide via 4D_Tech
peter, depending on what type of progress you need to display.. Progress Component - part of 4D now - will display either a barber pole (indeterminate duration) with text above and below, or a progress thermometer (defined interation count), again with text above and below. - Both of these run

Re: Dialog (;*) question

2019-06-25 Thread Keith Culotta via 4D_Tech
"If the current process terminates, the forms created in this way are automatically closed". I have always had a DIALOG() window to keep the process from terminating, and called the DIALOG(*) windows from within it. However, you may be able to start a process with CALL WORKER, which does not

Re: Dialog (;*) question

2019-06-25 Thread GI - AJAR via 4D_Tech
Hello Peter, This is a good question. The actual behavior you are encountering is because the process will die after the execution of the code. Thanks to the worker it is now possible to use a worker to display dialog with the * parameter. A worker never die until you kill it with KILL WORKER.

Dialog (;*) question

2019-06-25 Thread Peter Bozek via 4D_Tech
I maybe already asked this question, but anyway I am still a bit confused: I wanted to use DIALOG with * as an additional parameter, but have problem to make it work. I have app that display several info windows - like palettes, progress messages, communication statuses etc.Currently, I often