Re: ORDA - updating data in listboxes

2018-08-13 Thread Two Way Communications via 4D_Tech
Looking on the bright side, this will elude you only ONCE ;-)

Rudy Mortier
Two Way Communications bvba 



> On 13 Aug 2018, at 00:13, John DeSoi via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> This makes me wonder why REDRAW can't do this internally instead of adding 
> yet another microscopic difference between listbox types that will continue 
> to elude even the most experienced 4D developers. At the very least, the 
> REDRAW documentation should be updated to say that this command does not work 
> for collection/ORDA list boxes and explain what you are supposed to do 
> instead.
> 
> John DeSoi, Ph.D.
> 
> 
> 
>> On Aug 12, 2018, at 2:05 PM, Spencer Hinsdale via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> is this relevant?
>> 
>> http://kb.4d.com/resources/inug?msgid=GmailId164f73d107b663e7 
>> 
>> 
> 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

v17.0 HF1 Bug Fix delayed process not waking fix

2018-08-13 Thread Tim Nevels via 4D_Tech
Got an email about v17.0 HF1 being released. This fixed bug caught my eye:


ACI0098368 A delayed processes do not wake up if paused and then resumed: 
it stays in pause mode.

Could this be a fix for the Stored Procedure problem many have reported here 
where they get paralyzed and refuse to wake up and run again until you restart 
4D Server?

Anyone know if this is a fix for that bug. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Jeffrey Kain via 4D_Tech
This fails every time:

C_OBJECT($selManuAbbv)
$tManufacturerName:="Levy's"
$selManuAbbv:=ds.ManufacturerAbbv.query("Manufacturer = :1";$tManufacturerName)


It's due to the single-quote in the string. Is this a bug in 4D?
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

SVG IDs in Listbox Cells

2018-08-13 Thread Cannon Smith via 4D_Tech
You know how you can give SVG elements IDs and then use SVG Find element ID by 
coordinates during a click or mouse over event to figure out what element the 
mouse is over in an SVG picture? I’d like to do this, except that the SVG 
picture is in a list box. In fact, the list box has several of these SVG 
pictures in different rows and columns. So I need to detect which cell the 
mouse is over and then which SVG element within the cell the mouse is over.

There are a lot of pieces to this puzzle, some of which might not work in a 
list box context. Mainly I’m wondering if anyone has already tried this and 
proven that it _can’t_ work before I waste time working on it. Or if anyone has 
gotten it to work, I’d love to know that as well!

Thanks for any comments.

--
Cannon.Smith
Synergy Farm Solutions Inc.
Hill Spring, AB Canada
403-626-3236




**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Jeffrey Kain via 4D_Tech
Forgot to add - it fails as in 4D gives a runtime error every time trying to 
execute the query (this is from 4D Remote - haven't tried single user yet):

   Error code: 1806 (dbmg)
   URL is not well formed
   component: dbmg



> On Aug 13, 2018, at 1:20 PM, Jeffrey Kain  wrote:
> 
> This fails every time:
> 
> C_OBJECT($selManuAbbv)
> $tManufacturerName:="Levy's"
> $selManuAbbv:=ds.ManufacturerAbbv.query("Manufacturer = 
> :1";$tManufacturerName)
> 
> 
> It's due to the single-quote in the string. Is this a bug in 4D?

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Tim Nevels via 4D_Tech
On Aug 13, 2018, at 2:00 PM, Jeffrey Kain wrote:

> This fails every time:
> 
> C_OBJECT($selManuAbbv)
> $tManufacturerName:="Levy's"
> $selManuAbbv:=ds.ManufacturerAbbv.query("Manufacturer = 
> :1";$tManufacturerName)
> 
> It's due to the single-quote in the string. Is this a bug in 4D?

Did you try doing something like this:

$tManufacturerName:=“Levy”+char(Quote)+”s"

That would tell you if it is a parsing/method editor issue or something very 
low level in the ORDA engine. 

Either way it is definitely a bug that must be fixed. 

Also, did you try v17.0 HF1? Maybe they snuck a fix into that. 

Tim

*
Tim Nevels
Innovative Solutions
785-749-3444
timnev...@mac.com
*

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Jeffrey Kain via 4D_Tech
Well, "Levy"+Char(Quote)+"s" had no effect. I'll download HF1 tonight, but I 
didn't see anything documented in the fix notes like this.

Thanks, Tim!

Jeff
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Jeffrey Kain via 4D_Tech
Also, it only fails in client/server. Single user is fine.

> On Aug 13, 2018, at 3:47 PM, Jeffrey Kain  wrote:
> 
> Well, "Levy"+Char(Quote)+"s" had no effect. I'll download HF1 tonight, but I 
> didn't see anything documented in the fix notes like this.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Add Komoncharoensiri via 4D_Tech
Hi Jeff,

We just confirmed that this is a bug occurs in 4D Remote only. We'll get it 
reported to the team.

Regards,
Add




On 8/13/18, 10:27 AM, "4D_Tech on behalf of Jeffrey Kain via 4D_Tech" 
<4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> wrote:

Forgot to add - it fails as in 4D gives a runtime error every time trying 
to execute the query (this is from 4D Remote - haven't tried single user yet):

   Error code: 1806 (dbmg)
   URL is not well formed
   component: dbmg



> On Aug 13, 2018, at 1:20 PM, Jeffrey Kain  wrote:
>
> This fails every time:
>
> C_OBJECT($selManuAbbv)
> $tManufacturerName:="Levy's"
> $selManuAbbv:=ds.ManufacturerAbbv.query("Manufacturer = 
:1";$tManufacturerName)
>
>
> It's due to the single-quote in the string. Is this a bug in 4D?

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: ORDA runtime error - seems like a bug in 4D

2018-08-13 Thread Jeffrey Kain via 4D_Tech
Awesome - thanks Add.

> On Aug 13, 2018, at 4:17 PM, Add Komoncharoensiri  
> wrote:
> 
> Hi Jeff,
> 
> We just confirmed that this is a bug occurs in 4D Remote only. We'll get it 
> reported to the team.
> 
> Regards,
> Add

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

SVG IDs in Listbox Cells

2018-08-13 Thread John J Foster via 4D_Tech
Hi Cannon,

I’ve never done this as imaages used in listboxes have alwasy been just 
pictures.

The reason we can find an svg object (with an id) by id is because there is an 
xml tree to traverse through. So how could you mimic this behavior within a 
cell of a listbox?

Could each listbox cell hold a different svg image with each xml tree 
simulataneously held in memory?

Or

Coudl each svg image when clicked load an the svg xml source and then do a find 
with it? Woudl require the xml source be maintained with the svg image.

It feels like it could be done.

Sorry I cannot be less general.

JOhn...

> You know how you can give SVG elements IDs and then use SVG Find element ID 
> by coordinates during a click or mouse over event to figure out what element 
> the mouse is over in an SVG picture? I’d like to do this, except that the SVG 
> picture is in a list box. In fact, the list box has several of these SVG 
> pictures in different rows and columns. So I need to detect which cell the 
> mouse is over and then which SVG element within the cell the mouse is over.
> 
> There are a lot of pieces to this puzzle, some of which might not work in a 
> list box context. Mainly I’m wondering if anyone has already tried this and 
> proven that it _can’t_ work before I waste time working on it. Or if anyone 
> has gotten it to work, I’d love to know that as well!
> 
> Thanks for any comments.
> 
> --

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SVG IDs in Listbox Cells

2018-08-13 Thread Arnaud de Montard via 4D_Tech

> Le 13 août 2018 à 19:01, Cannon Smith via 4D_Tech <4d_tech@lists.4d.com> a 
> écrit :
> 
> You know how you can give SVG elements IDs and then use SVG Find element ID 
> by coordinates during a click or mouse over event to figure out what element 
> the mouse is over in an SVG picture? I’d like to do this, except that the SVG 
> picture is in a list box.

I have a doubt about using events mouse enter/leave/move svg events in such 
context, IMHO listbox events will "win". But superimposing a picture variable 
over the listbox cell one, same coordinates, same picture, could work. 

-- 
Arnaud de Montard 



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SVG IDs in Listbox Cells

2018-08-13 Thread Keisuke Miyako via 4D_Tech
I tend to disagree.

the corroboration between form events (mouse, move, enter, leave, click, double 
click) and SVG elements,
as well as automatic update of MOUSEX and MOUSEY system variables,
are unique to picture objects.

one can display pictures (SVG or not) in a listbox cell,
but I do not think dynamic features are supported in that context.

2018/08/14 6:15、John J Foster via 4D_Tech 
<4d_tech@lists.4d.com>のメール:
It feels like it could be done.



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: SVG IDs in Listbox Cells

2018-08-13 Thread Keisuke Miyako via 4D_Tech
moreover, commands such as SVG GET/SET ATTRIBUTES,
which are closely associated with ID based SVG manipulation,
requires an object name or variable,
but a cell inside a listbox are not accessible that way.

2018/08/14 7:11、Keisuke Miyako via 4D_Tech 
<4d_tech@lists.4d.com>のメール:

one can display pictures (SVG or not) in a listbox cell,
but I do not think dynamic features are supported in that context.



**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v17.0 HF1 Bug Fix delayed process not waking fix

2018-08-13 Thread Justin Carr via 4D_Tech
On 14 Aug 2018, at 2:18 am, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> wrote:
> 
> Got an email about v17.0 HF1 being released. This fixed bug caught my eye:
> 
> 
> ACI0098368 A delayed processes do not wake up if paused and then resumed: 
> it stays in pause mode.
> 
> Could this be a fix for the Stored Procedure problem many have reported here 
> where they get paralyzed and refuse to wake up and run again until you 
> restart 4D Server?
> 
> Anyone know if this is a fix for that bug. 

Hi Tim

I don't whether this fix will also fix the other bug many of us are 
experiencing. Just to be clear there is no pause/resume process involved when 
it happens (to us at least). And you don't need to restart the 4D Server to 
resolve it. Just calling RESUME PROCESS gets it going again.

So no explicit pausing and resuming - it's just that the DELAY PROCESS doesn't 
wake up at the appropriate time.

J
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

v17 variables not found on forms

2018-08-13 Thread John DeSoi via 4D_Tech
It appears version 17 (including HF1) no longer finds variables on forms. If I 
right click on a variable in a method, and choose "Search References", it only 
shows the variables in methods. If I do a global text search, it shows 
additional references on forms. Be careful renaming things.

Also, I'm wondering if anyone else is seeing the two frontmost methods 
automatically join into a tabbed window when switching back to 4D (Mac). I'm 
not using tabbed windows, but they seem to randomly tab together sometimes.

John DeSoi, Ph.D.

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**