How to get array index with hierarchical listbox when using on mouse move

2017-02-27 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I want to use a hierarchical listbox with arrays When I am in the on mouse move event of the listbox, how can I determine which element this is? I have found a tech tip where is explained how to get the row number. But how can I get from row number to array index? Say I have 6 elements in a

Entry Field questions

2017-03-21 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I have 2 questions about entry fields : 1. Although I know the best answer on forehand (Use system behavior), is there an (easy) way to customize entry fields (fields and variables). For example rounded borders, yellow background when having focus instead of blue border? 2. What is

RE: 4D Write Pro using expressions with XML merge file (or JSON)

2017-03-29 Thread Piotr Chabot Stadhouders via 4D_Tech
gt; > HTH > Koen > > Op 29-mrt.-2017, om 09:02 heeft Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> het volgende geschreven: > > > Has anybody already done "my new way" and have experience with this? > > Does

Re: 4D Write Pro using expressions with XML merge file (or JSON)

2017-03-29 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Bruno, Because it is easy to use xpath in 4D and easy to generate XML in Oracle this is exactly why I think this is a nice solution. I am glad you think the same:-) I assume one can also use attributes in xpath in 4D. Gr, Piotr Op 29 mrt. 2017 21:37 schreef Bruno LEGAY

4D Write Pro using expressions with XML merge file (or JSON)

2017-03-29 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi All, We are using 4D Write for about 20 years now. With 4D v16R2 we think it is time to migrate to 4D Write Pro. One thing we use a lot is expressions to merge data with document templates. We don't use 4D records but we use 4D for OCI to connect to an Oracle database. 20 years ago we didn't

RE: 4D Write Pro using expressions with XML merge file (or JSON)

2017-04-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I was thinking : Wouldn't it be nice if 4D implemented some commands where we can easily do this kind of stuff in 4D Write Pro? 1 command to link a xml / json data file to a 4D write pro document, and 1 counterpart to detach data file Extend ST INSERT EXPRESSION (maybe ST INSERT XPATH)

form fields and variables with rounded borders

2017-04-05 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Is there a (smart) way to set rounded borders to fields and variables on a form? In other apps I am seeing the use of rounded borders for fields a lot. I know I can set border to none and put a rounded rectangle beneath, but I was hoping for something easier. Also, I often see fields

Property list in 4D 16.1HF2 looks old

2017-07-15 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Windows 10, 4D v16.1 hotfix 2 I noticed that the property list looks "old", i.e. with sunken checkboxes The look and feel looks like something from years ago Does anybody know what could be the reason of this? ** 4D Internet

Citrix and sys_GetEnv alternative for getting CLIENTNAME

2017-04-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, For a couple of years now we use the WIN32API command sys_GetEnv to get the CLIENTNAME However, we have found out that when an user is taking over his citrix session on another machine, the OLD CLIENTNAME is returned when using this command and not the name of the new machine My

Form with Custom Grow Box

2017-09-19 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I think I have read somewhere that it is possible somehow to create a form with a custom grow box. I am not talking about maximize / minimize but on Windows the area in the right bottom corner of a window I want to open a Modal form dialog box and create my own grow box. Was I dreaming, or

RE: Form with Custom Grow Box

2017-09-20 Thread Piotr Chabot Stadhouders via 4D_Tech
Spring, AB Canada > 403-626-3236 > <can...@synergyfarmsolutions.com> > > > > > On Sep 19, 2017, at 9:51 AM, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > >

RE: Form with Custom Grow Box

2017-09-19 Thread Piotr Chabot Stadhouders via 4D_Tech
th Custom Grow Box > > having not done this > this *might* work > a button (picture probably) > on mouse down - get current mouse/window coords on mouse up - get > mouse position - resize window to that position > > > On Tue, 19 Sep 2017 06:58:40 +, Piotr Chabot S

Re: Setting a detail subform's scroll position programmatically

2017-09-08 Thread Piotr Chabot Stadhouders via 4D_Tech
> On Jul 18, 2015, at 8:56 AM, Jeff Grann wrote: > > 4Dv14/v15 > > There doesn't seem to be a way to set a detail subform's scroll position > programmatically. OBJECT SET SCROLL POSITION doesn't work with detail > subforms. > > Am I missing something? Is there a workaround? > Dear Jeff

OBJECT get variable type

2017-09-08 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, V16 Maybe this is a stupid question but I just don't see it : When putting a variable on a form and set a variable name to t I attach a variable to the object, for example a C_TEXT variable However, there is also a property "Variable Type", that doesn't necessarily has to be of type text,

RE: OBJECT get variable type

2017-09-11 Thread Piotr Chabot Stadhouders via 4D_Tech
ot;current". > > the bound variable can change at runtime (see OBJECT SET DATA SOURCE), > so the initial "variable type" has no real value in code. > > > 2017/09/09 3:18、Piotr Chabot Stadhouders via 4D_Tech > > <4d_tech@lists.4d.com> のメール: &g

RE: Widget questions

2017-09-05 Thread Piotr Chabot Stadhouders via 4D_Tech
4D > does not bubble and capture events for all widgets on all levels on all pages. > > to design complex forms on a single page, you could take advantage of > "object views". > > http://doc.4d.com/4Dv15/4D/15.4/Using-object-views.300-3285345.en.html > Thanks fo

RE: [ANN] 4D v16.2 ready for download

2017-09-06 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Brian, Windows 10 I notice something strange (I also noticed this in 16.1 HF2 and posted this here without a response) : In the property list the checkboxes and also the edit button look like an "earlier" windows version, i.e. the checkboxes have a sunken border and the button a raised

font color with disabled 3D button

2017-09-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, We are setting a font color for 3D buttons However, when the button is disabled on Windows this font color becomes gray, but on OSX the color stays the same as the original color Is this normal behavior (So the behavior on OSX and Windows differs) ? Gr, Piotr

Widget performance

2017-08-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v16, Windows 10 Despite all advice saying to use standard 4D objects, I am on the verge of creating my own dropdown menu. We have a multi-platform application and want to have its own unique L I think I can create a dropdown as a widget, but what I am worried about is performance As a

RE: Listbox header OSX

2017-08-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako, Thanks for your answer. As I understand correctly the only way to get rid of the lines is by changing system appearances in OSX. Gr, Piotr Miyako wrote : "Hello, the Header of a listbox takes after the appearance of a standard menu bar. on Windows 10, the menu bar happens

RE: Widget performance

2017-08-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Thanks Miyako and Jody, The thing I most worry about is the performance overhead of subforms. I would suspect a subform is "heavier" than a simple field or button for example. Can someone tell me what the subform performance overhead is? After all, when inserting 100 widget I am in fact

Listbox header OSX

2017-08-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v16, OSX When I set the border line style of a listbox to none OSX still shows a line above the header. On windows this line disappears as expected. Does this make sense? Does anybody know how to get rid of the line above the listbox header on OSX? Gr, Piotr

RE: Widget questions

2017-09-04 Thread Piotr Chabot Stadhouders via 4D_Tech
to:keisuke.miy...@4d.com] > > > Verzonden: zaterdag 26 augustus 2017 0:32 > > > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > > > Onderwerp: Re: Widget performance > > > > > > there is a "duplicate by matrix" menu in the form editor, which

RE: Widget questions

2017-09-04 Thread Piotr Chabot Stadhouders via 4D_Tech
ese widgets most of the time are created with 4D v14. > > > Would you do (some) things differently when using v16? > > > > > > Thanks, > > > > > > Piotr > > > > > > > -Oorspronkelijk bericht- > > > > Van: Keis

RE: Widget questions

2017-09-01 Thread Piotr Chabot Stadhouders via 4D_Tech
; there is a "duplicate by matrix" menu in the form editor, which > > > allows you to quickly experiment with tens of thousands of objects. > > > maybe it is the execution code setup code that is taking 2 seconds. > > > > > > in my experience, a form wit

RE: Widget questions

2017-09-02 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Timothy, Thanks for your answer! We are 4D partner but I don't know if I can, and if so how I can vote for your bug. Do you know how I can do that? Thanks, Piotr > -Oorspronkelijk bericht- > Van: Timothy Penner [mailto:tpen...@4d.com] > Verzonden: vrijdag 1 september 2017 21:22 >

Widget questions

2017-09-01 Thread Piotr Chabot Stadhouders via 4D_Tech
kly experiment with tens of thousands of objects. > > maybe it is the execution code setup code that is taking 2 seconds. > > > > in my experience, a form with thousands of form objects is nothing > > uncommon. > > >

RE: Widget performance

2017-08-31 Thread Piotr Chabot Stadhouders via 4D_Tech
riment with tens of thousands of objects. > maybe it is the execution code setup code that is taking 2 seconds. > > in my experience, a form with thousands of form objects is nothing > uncommon. > > > 2017/08/25 16:39、Piotr Chabot Stadhouders via 4D_Tech > > <4d_tech@lis

RE: Subform initialize logic

2017-11-24 Thread Piotr Chabot Stadhouders via 4D_Tech
or not) the dropdown widget I hope you understand what I am saying Needing 2 calls instead of 1 is what I don’t like Gr, Piotr Piotr, On Thu, Nov 23, 2017 at 11:01 AM, Piotr Chabot Stadhouders via 4D_Tech < 4d_t...@xxx.xxx> wrote: > I have to do this “On Page Change” > ​Yep, thi

Subform initialize logic

2017-11-23 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v16.2 I am using a subform in my app (a widget) As I understand correctly, when not on page 1, this subform is only initialized when the page is loaded In my widget I have an attribute defined called "enabled" When using a dropdown for example, I can disable the dropdown "On load", even

RE: Subform initialize logic

2017-11-23 Thread Piotr Chabot Stadhouders via 4D_Tech
Stadhouders via 4D_Tech < 4d_t...@xxx.xxx> wrote: > As I understand correctly, when not on page 1, this subform is only > initialized when the page is loaded > ​I assume you are talking about a subform you placed in the design environment and not one where you used OBJECT SET SUB

RE: poor performance LISTBOX INSERT COLUMN

2017-12-02 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Arnaud, Array listboxes >> Le 1 déc. 2017 à 15:49, Piotr Chabot Stadhouders via 4D_Tech >> <4d_t...@xxx.xxx> a écrit : >> >> Hi, >> >> In search of a performance problem in 1 of our forms I am asking for some >> advice. >> >>

RE: poor performance LISTBOX INSERT COLUMN

2017-12-02 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Tim, > -Oorspronkelijk bericht- > Van: Tim Nevels [mailto:timnev...@mac.com] > Verzonden: vrijdag 1 december 2017 22:00 > Aan: 4d_tech@lists.4d.com > Onderwerp: Re: poor performance LISTBOX INSERT COLUMN > > On Dec 1, 2017, at 2:00 PM,Piotr Chabot Stadhouders wrote: > > > But, bottom

New Log Parser says : this doesnt make sense

2017-11-30 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I am trying to use the new Log Parser, but without success First of all, when I start logging I have 10 files of 10MB each within 1 minute, but that's not the problem (or is it) After loading the log files, I open the Process with the most (+200.000) debug entries. After a while a get

RE: poor performance LISTBOX INSERT COLUMN

2017-12-05 Thread Piotr Chabot Stadhouders via 4D_Tech
hi Alan, Maybe calling the average was a bit misleading after all : So I created a demo database with 1 form On this form I have 12 listboxes with 1 column On load of each listbox I insert 20 columns with LISTBOX INSERT COLUMN Inspecting the 4D debug log I am seeing something I did mention

RE: CALL FORM and CALL WORKER

2017-12-01 Thread Piotr Chabot Stadhouders via 4D_Tech
In fact, the functionality explained below could be seen as setting an alarm The alarm fires after a second (period of time) In the meantime it can be reset to again wait for a period of time before it fires Gr, Piotr Van: Piotr Chabot Stadhouders Verzonden: vrijdag 1 december 2017 17:40 Aan:

CALL FORM and CALL WORKER

2017-12-01 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, This is the first time I am going to use CALL FORM and CALL WORKER I am going to convert a "Searchbox" mechanism where a user enters some characters and after 3 or more characters the search is started This was done by a custom Timer mechanism implemented via a separate process and inter

RE: Stack level in 4DDebugLog.txt

2017-12-13 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Chip, Tim, Could there be some other weird reason why the stack level increases and doesn't decrease? Maybe calling plugin commands, or maybe EXECUTE METHOD? Maybe a bug in the debug log? Maybe something in Windows 10? I know nearly for sure that there is no recursion, and still the stack

RE: poor performance LISTBOX INSERT COLUMN

2017-12-05 Thread Piotr Chabot Stadhouders via 4D_Tech
nsert column(listbox;size of listbox+1; colname; etc) > > > On Tue, 5 Dec 2017 09:11:25 +, Piotr Chabot Stadhouders via 4D_Tech > wrote: > > > > I suppose you mean with the same command? Do you mean you think > > putting the column behind the last could be faster tha

poor performance LISTBOX INSERT COLUMN

2017-12-01 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, In search of a performance problem in 1 of our forms I am asking for some advice. I have succeeded in analyzing 10 4DDebuglog.txt files (using an Oracle DB by the way) and have come to following : The problem is with the execution time of the "LISTBOX INSERT COLUMN" The performance of this

RE: poor performance LISTBOX INSERT COLUMN

2017-12-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Alan, Thanks for testing! This is great news, because then maybe there is something else going on. Remember, I only asked the community if this performance was normal behavior and if it could be confirmed. Clearly not by you. I tested this on an HP Intel Core i7-4710MQ 2.50GHz laptop with

RE: poor performance LISTBOX INSERT COLUMN

2017-12-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako, >I think we need to set reasonable limits on how the commands is expected to be >used, >before we device that its performance is "poor". Sorry, maybe you are right and I shouldn't have called it poor performance, but it was my feeling because the command takes 10 times longer to

RE: poor performance LISTBOX INSERT COLUMN

2017-12-05 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Tim, Yes, I have opened a tech support case. Gr, Piotr > -Oorspronkelijk bericht- > Van: Timothy Penner [mailto:tpen...@4d.com] > Verzonden: woensdag 6 december 2017 2:24 > Aan: 4D iNug Technical <4d_tech@lists.4d.com> > Onderwerp: RE: poor performance LISTBOX INSERT COLUMN > > >

Stack level in 4DDebugLog.txt

2017-12-11 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Can anybody explain to me what the "Stack level" column in the 4DDebugLog.txt means? There is no further explanation of this column in the docs What can be done with this? TIA, Piotr ** 4D Internet Users Group (4D iNUG)

RE: Stack level in 4DDebugLog.txt

2017-12-11 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Tim, Thanks again for your answer. I already thought so, however, in my case the stack level increases over time It starts with zero I see it decrease some times, but after 1000 log lines it already is at 262 So I guess this smells like a nesting problem? I have to find out where and why Or

RE: poor performance LISTBOX INSERT COLUMN

2017-12-01 Thread Piotr Chabot Stadhouders via 4D_Tech
gt; Piotr > > recode this! > On Fri, 1 Dec 2017 14:49:11 +, Piotr Chabot Stadhouders via 4D_Tech > wrote: > > > > No big deal you could say, but for a couple of our forms it IS a big > > deal We have a form with 27 listboxes on it, all dynamically build, > &g

RE: poor performance LISTBOX INSERT COLUMN

2017-12-04 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Chip, When the form is first displayed there are no elements in one of the arrays in the listboxes Only after certain user action, like pressing a button, the arrays are populated, so this isn't the problem Furthermore, I am not able to test with local 4D data because, surprise, we don't

RE: poor performance LISTBOX INSERT COLUMN

2017-12-05 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Arnaud, Thanks for your thorough test. >That's not surprising, IMHO, it's like concatenation: as the room is filled, >each piece added is harder to arrange than the previous. I understand this, but still I believe maybe there can be some performance improvement in the command. I cannot

BUG in ST Get content type?

2017-10-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v16R4 I use the "loop example" to get all expressions in a WP area However, when the first "character" of the text in the area is an expression, this expression is skipped (not seen) It seems that when I call $type:=ST Get content type*;"WParea";$start;$end;$startBlock;$endBlock) for

RE: Web Area display PDF

2018-05-15 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Jeffrey, We also have problems viewing PDF in a webarea with 4D 32-bit on High Sierra Do you know if this is a 32-bit problem? So going to 64-bit would solve the problem? We are using 4d write and want to migrate it to 4D write pro Now would be the time to do this if the PDF problem doesn't

Paste (ctrl-v) in textfield doesn't work with focusable listbox

2018-05-09 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v16R6 I have a form with a listbox and a textfield When the listbox has the property focusable set, pasting text into the text field via ctrl-v doesn't work (menu item paste DOES work) When I uncheck the focusable property pasting does work Does anybody know about this behavior? I need

RE: Paste (ctrl-v) in textfield doesn't work with focusable listbox

2018-05-12 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Ok, thanks, i Will try to reproduce the problem in a sample database " I created a simple form with an array based listbox and a text field and it seems like I have no trouble pasting into the text field, but perhaps I am doing something different than you are doing. Also, I don't see

Why are columns of a non-focusable listbox not enterable?

2018-05-24 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I need some listboxes that are not focusable However, as a side effect then the columns of these listboxes are not enterable Does anybody know the reason of this? Does this make sense? Gr, Piotr ** 4D Internet Users Group

4D Write Pro: traverse throught all available headers and footers

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Does anybody know of a way how to traverse through all available headers and footers of a document? I have an 4D Write Pro object and in some circumstances I get an error when using WP SET FRAME How do I know if, and so which frames are available in a 4D Write Pro object I need to traverse

4D Write Pro: get all expressions

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Below is a code snippet (not my own) that loops through all expressions in a 4D Write Pro document It seems that when an expression is the very first element in the document it is not detected Does anybody know a solution? Is there a better way to get all expressions? Thanks, Piotr

RE: procedurally delete anchored image in 4D Write Pro

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Justin, Miyako, INVOKE ACTION works, but then I was realizing that this only works with an Write Pro on a Form and not when using an "offscreen" 4D Write Pro object variable That's why I thought I must be overlooking a command to do the deleting So there are 2 possibilities: 1. We are

RE: Why are columns of a non-focusable listbox not enterable?

2018-05-25 Thread Piotr Chabot Stadhouders via 4D_Tech
ffrey.k...@gmail.com > > > > > > On May 24, 2018, at 2:57 AM, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > > I need some listboxes that are not focusable However, as a side effect > > then th

procedurally delete anchored image in 4D Write Pro

2018-05-18 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Sorry, but I don't see it: How can I procedurally delete an anchored image in a 4D Write Pro document? I know how to select the image with WP SELECT(*;"WParea";$image_object) But then what? I hope somebody knows the answer. Gr, Piotr

Write Pro: programmatically manipulate text expertise needed

2018-06-12 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, We are in the progress of migrating from 4D Write to Write Pro A lot of things are going fine, but there is one area that seems easy but I am having difficulties with it and that is programmatically manipulating text I give 2 examples that maybe seem obvious to others but are not for

RE: Write Pro: programmatically manipulate text expertise needed

2018-06-13 Thread Piotr Chabot Stadhouders via 4D_Tech
get an accurate position with styled text. > > 2. Again, use ST GET PLAIN TEXT to get a range of text from the cursor > position > back n characters or to the beginning of the text. > > HTH > > Pat > > On Tue, 12 Jun 2018 at 10:02, Piotr Chabot Stadhouder

RE: 4D Write Pro: traverse throught all available headers and footers

2018-05-30 Thread Piotr Chabot Stadhouders via 4D_Tech
ression" > > do you mean ST Get content type doesn't report "ST Expression type" (for > instance you get mixed type) or do you mean ST Get expression doesn't return > an expression (maybe you should start from 1, not ST Start text) > > ? > > > 2018/05/30 0:0

RE: 4D Write Pro: traverse throught all available headers and footers

2018-05-29 Thread Piotr Chabot Stadhouders via 4D_Tech
lists.4d.com> > Onderwerp: Re: 4D Write Pro: traverse throught all available headers and > footers > > Hello, > > the command is ST Get content type > > http://doc.4d.com/4Dv16/4D/16.3/ST-Get-content-type.301-3652488.en.html > > > 2018/05/26 0:46、Piotr Chabot

RE: Any way to detect change to 4D Write Pro orientation.

2018-06-26 Thread Piotr Chabot Stadhouders via 4D_Tech
gt; - Make the other object the focus > > A bit clunky ... but should work OK? > > Pat > > On Tue, 26 Jun 2018 at 07:54, Piotr Chabot Stadhouders via 4D_Tech < > 4d_tech@lists.4d.com> wrote: > > > Hi John, > > > > I am already using the 4D Wri

RE: Any way to detect change to 4D Write Pro orientation.

2018-06-26 Thread Piotr Chabot Stadhouders via 4D_Tech
treet > Kailua, Hawaii 96734 > (808) 262-0328 > john...@hawaii.rr.com > > > On Jun 20, 2018, at 9:45 PM, Piotr Chabot Stadhouders via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > > > Hi John, > > > > I am on your side with this. > > Espe

RE: Re: Any way to detect change to 4D Write Pro orientation.

2018-06-21 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi John, I am on your side with this. Especially the need to use INVOKE ACTION to set specific attributes is something I don't understand. Our users want to be able to set some defaults for the Write Pro area, for example the default zoom % and the default view mode Now I have to use for

Selecting tables in a Write Pro Area

2017-10-20 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I am experimenting with 4D Write Pro. Because WP only supports inline pictures I thought to give tables a try, i.e to insert a picture in a cell and text in a next cell (what is a "workaround" for wrapping text around a picture) Inserting a table with some cells is no problem, but I have

4D Write Pro and SMTP_Body

2017-10-20 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, We use 4D to send HTML emails Until now we used 4D Write to generate the mail body, and convert it to HTML (WR SAVE DOCUMENT ($area;$docpath;wr HTML 4 document)) Now we want to convert this to 4D Write Pro. In WP there is a command WP EXPORT VARIABLE to convert an area to HTML ("wk mime

RE: On Column Resize event

2018-01-05 Thread Piotr Chabot Stadhouders via 4D_Tech
e, you could try setting a flag. Set the > > flag in 'On Mouse Enter', and clearing it in 'On Mouse Leave', in the > > context of the listbox. Then in the code for resizing if the flag is > > set the user has the mouse in the listbox and is resizing manually. If not, > > then > the user is

RE: On Column Resize event

2018-01-05 Thread Piotr Chabot Stadhouders via 4D_Tech
and clearing it in 'On Mouse Leave', in the context of the listbox. Then in > the > code for resizing if the flag is set the user has the mouse in the listbox > and is > resizing manually. If not, then the user is resizing the window. > > Chip > On Thu, 4 Jan 2018 17:

On Column Resize event

2018-01-04 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, In 4D v16 there is a new feature so an "On Column Resize" event is triggered "live" during resizing of a listbox: https://blog.4d.com/execute-action-upon-listbox-column-resizing/ I have a lot of code behind that event in our application that now is executed too many times, so I don't like

RE: Web Area display PDF

2018-08-21 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Jeff, Thanks for sharing! > -Oorspronkelijk bericht- > Van: Jeffrey Kain > Verzonden: maandag 20 augustus 2018 19:20 > Aan: 4d_tech@lists.4d.com > Onderwerp: Re: Web Area display PDF > > I wasn’t able to get it working in Windows. It seems really close though. But > the IE

Re: Web Area display PDF

2018-08-20 Thread Piotr Chabot Stadhouders via 4D_Tech
/Documents/Products_Documentation/LastVersions/Line_16/VIntl/4D_v16_3_ReleaseNotes.pdf > 2018/05/15 17:10、Piotr Chabot Stadhouders via 4D_Tech > <4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> のメール: > We also have problems viewing PDF in a webarea with 4D 32-bit on High Sierra > Do

UUID version 4 needed

2018-07-05 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, I need to generate an UUID but it MUST be version 4 I know in 4D there is the command Generate UUID and the NTK plugin has the command NTK Create UUID but as far as I know they both are not UUID version 4 Does anybody know how to generate an UUID version 4? Thanks, Piotr

RE: UUID version 4 needed

2018-07-05 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Neil, For some reason I thought it is not version 4. I hope you are right! @Steven : Unfortunately the webservice we are talking with demands a message with a UUID version 4 generated message ID. Don't ask me why. Gr, Piotr > -Oorspronkelijk bericht- > Van: Dennis, Neil >

RE: UUID version 4 needed

2018-07-06 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Dennis, There is something strange: Indeed, when I look at the generated UUID in 4D the 15th hex digit is always 4 But, as far as I know the docs say : "set the four most significant bits of the 7th byte to 0100'B, so the high nibble is 4" This means that the 13th hex digit must be 4 And in

RE: UUID version 4 needed

2018-07-06 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, The Win32API command sys_GetGUID does return a version 4 UUID So on Windows : Win32API generates a version 4 UUID --> 13th hex digit is a 4 4D v16 does not generate a version 4 UUID --> 15th hex digit is a 4 > -Oorspronkelijk bericht- > Van: Dennis, Neil > Verzonden: vrijdag 6

RE: UUID version 4 needed

2018-07-07 Thread Piotr Chabot Stadhouders via 4D_Tech
rand( 0, 0x ), mt_rand( 0, 0x ) > ); > } > } > > source: > https://helloacm.com/how-to-create-uuid-in-php/ > > also there is a bunch of discussion on StackOVerflow regarding generating a > UUID, in various languages, and platforms > > > On

Procedurally set Movable Rows option for a listbox

2018-03-08 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, 4D v16R5 I must be overlooking it, but how can I procedurally set the Movable Rows option for a listbox? Gr, Piotr ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive:

RE: overlapping subforms

2018-03-20 Thread Piotr Chabot Stadhouders via 4D_Tech
t; > > -- > > Randy Jaynes > > Senior Programmer and Customer Support > > > > http://printpoint.com <http://printpoint.com/> • 845.687.3741 • > > PrintPoint, Inc • 57 Ludlow Lane • Palisades, NY 109

RE: overlapping subforms

2018-03-21 Thread Piotr Chabot Stadhouders via 4D_Tech
ed subform as required > instead of managing multiple subform objects. > > The version you are using also may matter. But to answer the question you > asked: > > On Mon, Mar 19, 2018 at 1:40 AM, Piotr Chabot Stadhouders via 4D_Tech < > 4d_tech@lists.4d.com> wrote:

overlapping subforms

2018-03-19 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I have a form with a couple of subforms on it Now I want to add another subform, that is on top of 3 others, and becomes visible when pressing a button You can see it as a kind of popup viewer Because the subform must show in front of the others, in design mode I put the subform container

RE: Write Pro: programmatically manipulate text expertise needed

2018-06-21 Thread Piotr Chabot Stadhouders via 4D_Tech
look at it. > > > > HTH > > > > Pat > > > > On Wed, 13 Jun 2018 at 07:35, Piotr Chabot Stadhouders via 4D_Tech < > > 4d_tech@lists.4d.com> wrote: > > > >> Hi Pat, > >> > >> Your tips seem to work, but I am hoping

Miyako zip plugin

2018-11-13 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako, or others, We are using Miyako's zip plugin, thanks for that! But now we are having difficulties (on Windows) with zipping text files within a folder. Previously we used the 7zip plugin from Miyako, and used *.txt to define all text files within the folder But now, when I use

Re: Miyako zip plugin

2018-11-13 Thread Piotr Chabot Stadhouders via 4D_Tech
of this plugin. It's one that Miyako maintains and updates regularly. This may be an issue he's fixed already. https://github.com/miyako?page=3=repositories On Tue, Nov 13, 2018 at 2:33 AM Piotr Chabot Stadhouders via 4D_Tech < 4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > Hi Mi

RE: Miyako zip plugin

2018-11-13 Thread Piotr Chabot Stadhouders via 4D_Tech
ready. https://github.com/miyako?page=3=repositories On Tue, Nov 13, 2018 at 2:33 AM Piotr Chabot Stadhouders via 4D_Tech < 4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > Hi Miyako, or others, > > We are using Miyako's zip plugin, thanks for that! > > But now

4D and SafeSign Identity Client

2018-11-08 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I need to use a card reader in our 4D software The authority that provides the card, wants us to use the SafeSign Identity Client Does anybody have experience using SafeSign Identity Client along with 4D? Gr, Piotr ** 4D

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

2018-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Olivier, The example in the docs for the command PAGE SETUP is indeed kind of what I am talking about. But instead of having different forms with a scaling setting I have different page setup forms with a “paper size” setting (A3 portrait, A3 landscape), because also forms with a scaling

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

2018-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Miyako, Thanks for your anwer. Ok, I understand what you are saying, and in some cases I already use the SET PRINT OPTION command But when I want to print a report without interaction with the user, and I want to print it to a certain paper size, I can do two things I guess: 1. Use SET

Printing A3 format on windows when scaling is not possible

2018-09-26 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, I am working for over 20 years with 4D now, but still I am having troubles with printing reports on Windows / OSX On forehand I want to say it sure can be me that is the problem The most problematic is when I want to print a lot on a report and scaling comes in to play Because scaling

Use HID Omnikey 3121 USB reader in 4D

2018-09-27 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi All, I recently saw a discussion about using USB barcode scanners in 4D Maybe this is an obvious question, but does anybody know what is the best way to interface with an USB (smart card) reader in 4D? We are going to use the HID Omnikey 3121 Thanks in advance, Piotr

SDI on WIndows doesnt respect a toolbar

2019-01-23 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, I am testing the SDI interface on Windows with 4Dv17 64-bit. I am happy to get rid of the gray background, however, the windows now don't respect the use of a toolbar anymore I can maximize the windows, and the titlebar gets under the toolbar, so no way to move or close the window anymore.

RE: Calling java

2018-12-04 Thread Piotr Chabot Stadhouders via 4D_Tech
/jsonrpc4j John DeSoi, Ph.D. > On Dec 4, 2018, at 1:48 AM, Piotr Chabot Stadhouders via 4D_Tech > <4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > > We need to call some java classes from within 4D. > These classes deliver an interface to interact with a smart card connecte

Calling java

2018-12-03 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, We need to call some java classes from within 4D. These classes deliver an interface to interact with a smart card connected to the local PC Does anybody have an opinion how to handle this? I don't see any other way than to use these java classes, and one way or the other call this java

Cursor position in 4D method editor is wrong a few pixels

2018-09-13 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi, Tested on Windows 4D v17.0 When I click with my mouse in a text string (enclosed by double quotes) in the 4D method editor, the cursor position is often wrong a few pixels Then it looks like the cursor is after character Y, but it IS after character X (1 character before Y) Does anybody

Best way to detect pasting a picture in 4D Write Pro

2019-04-02 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, Does anybody know what is the best way to detect pasting a picture in 4D Write Pro? I understand I can do it with some form event type, but I think I have to run this code every time something is pasted into the Write Pro Area, so also when pasting text for example Gr, Piotr

Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi all, First of all, I must say I am no hardware expert, so maybe this is a stupid question. It seems that 4D 32-bit Volume desktop only uses 1 core. But does 4D 64-bit Volume desktop use all available cores? Gr, Piotr ** 4D

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
ed, 30 Jan 2019 at 09:13, Piotr Chabot Stadhouders via 4D_Tech < 4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > Hi all, > > First of all, I must say I am no hardware expert, so maybe this is a > stupid question. > > It seems that 4D 32-bit Volume desktop only

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
.xxx>> wrote: > > Piotr > I believe the "bitness" has more to do with how it uses RAM than cores. > Pat > > On Wed, 30 Jan 2019 at 09:13, Piotr Chabot Stadhouders via 4D_Tech < > 4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > >> Hi

Re: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
Hi Tim, Now for me an important question: is 4D for Oci pre-emptive? In short: We use for 90% UI and 4D for OCI commands. How can I make use of more than 1 core? Nu colleague says Word and Excel also use more cores, so why can't we? Gr, Piotr I see, this is relatively new development - I

RE: Does 4D 64-bit Volume desktop use more than 1 core?

2019-01-30 Thread Piotr Chabot Stadhouders via 4D_Tech
. > On Jan 30, 2019, at 1:25 PM, Piotr Chabot Stadhouders via 4D_Tech > <4d_t...@xxx.xxx<mailto:4d_t...@xxx.xxx>> wrote: > > So, does 4D automagically use more cores in 4D 64-bit or what? > When I follow all pre-emptive advise in the docs or from the iNUG, do I have

  1   2   >