<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi Jussi.<br>
<br>
I thought that the mail program had sent the message with the
attachment to the international list, but it seems that it has not.
The message is in the sent tray.<br>
It may be a Gmail problem with attachments without using a cloud
storage service where to add the attachment and link it there.<br>
<br>
As for using QT4 or using QT5 the program is very small, I do not
think it's a concrete problem of these. If it were a more complex
program, it would be different.<br>
I always use gb.gui.qt to avoid problems with the versions.<br>
<br>
Now there is a novelty. The expression parser is no longer the same.
I made a capture. Now with Gambas 3.12.2<br>
the expression looks complete and the result. It has changed to how
it looked in other versions of Gambas.<br>
<br>
I show you an image. It is totally different from the previous one.<br>
<br>
<img moz-do-not-send="false"
src="cid:part1.70CF460B.3DF07ED0@gmail.com" alt="" width="826"
height="286"><br>
<br>
<div class="text-wrap tlid-copy-target">
<div class="result-shield-container tlid-copy-target"><span
class="tlid-translation translation"><span title="" class="">Before
when I used debug mode and executed step by step.</span> <span
title="">The expression was shown automatically, now it must
be added.</span><br>
<span title="">In one way or another, the problem seems to
have been resolved in a different way. :-?<br>
</span></span><br>
</div>
</div>
Regards<br>
<br>
<div class="moz-cite-prefix">El 24/1/19 a las 19:50, Jussi Lahtinen
escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAFJMe7RiVwBt83ntwovV=Mb=oFpAQvvfo2ebSJKtX=mC8ixbjw@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div>It's also most convenient way to provide the code. It
saves time of people who try to help you.</div>
<div><br>
</div>
<div>Unfortunately I still can't reproduce the problem.
However I just noticed that I don't have Qt5 on this system
(only Qt4).</div>
<div>So, please someone using Qt5, can you please try
reproduce the problem?</div>
<div><br>
</div>
<div>1. Put break point to line If (x >= unrect.Left) And
(x <= unrect.Right) And (y >= unrect.Top) And (y <=
unrect.Bottom) Then</div>
<div>2. Run the project.</div>
<div>3. At the bottom of the IDE, select Debugging tab.</div>
<div>4. Try to add comparisons (<= and >=) for x and y.
Is the = sign missing?<br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>Jussi<br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Jan 24, 2019 at 10:37
AM Francisco Martinez <<a href="mailto:fmfdario@gmail.com"
moz-do-not-send="true">fmfdario@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> <span
class="gmail-m_5111729697672267121tlid-translation
gmail-m_5111729697672267121translation"><span title="">I
did not think the whole project was necessary.</span> <span
title="">Here it is.</span></span><br>
<br>
Regards.<br>
<br>
<div class="gmail-m_5111729697672267121moz-cite-prefix">El
24/1/19 a las 0:36, Jussi Lahtinen escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>Please send it as source archive to catch
everything exactly as in your computer.</div>
<div>IDE --> Project --> Make --> Source
archive</div>
<div><br>
</div>
<div><br>
</div>
<div>Jussi<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr"
class="gmail-m_5111729697672267121gmail_attr">On Thu,
Jan 24, 2019 at 1:08 AM Francisco Martinez <<a
href="mailto:fmfdario@gmail.com" target="_blank"
moz-do-not-send="true">fmfdario@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px
0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> Hi Jussi.<br>
<br>
<div
class="gmail-m_5111729697672267121gmail-m_4068325184257619203text-wrap
gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-copy-target">
<div
class="gmail-m_5111729697672267121gmail-m_4068325184257619203result-shield-container
gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-copy-target"><span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-translation
gmail-m_5111729697672267121gmail-m_4068325184257619203translation"><span
title="">It is a small code.</span> <span
title="">The code tries to find out if any
part of a rectangle is inside another
rectangle.<br>
</span></span><span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-translation
gmail-m_5111729697672267121gmail-m_4068325184257619203translation"><span
title="">You will need to create a project
that uses the qt component.<br>
</span></span><br>
<span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-translation
gmail-m_5111729697672267121gmail-m_4068325184257619203translation"><span
title=""><span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-translation
gmail-m_5111729697672267121gmail-m_4068325184257619203translation"><span
title="">The code uses words in Spanish.
</span></span></span></span><span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-translation
gmail-m_5111729697672267121gmail-m_4068325184257619203translation"><span
title="">Here it is.</span></span><span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203tlid-translation-gender-indicator
gmail-m_4068325184257619203translation-gender-indicator"></span></div>
</div>
<br>
[code]<br>
Public Sub Form_Open()<br>
<br>
Dim rect1 As New Rect<br>
Dim rect2 As New Rect<br>
Dim rectangulos As New Rect[][] <br>
<br>
With rect1<br>
.x = 10<br>
.y = 10<br>
.W = 100<br>
.H = 200<br>
End With<br>
<br>
With rect2<br>
.x = 5<br>
.y = 10<br>
.W = 300<br>
.H = 200<br>
End With<br>
<br>
rectangulos.Add([rect1, rect2]) <br>
rectangulos.Add([rect2, rect1])<br>
<br>
Print SuperPosicion(rect1, rect2)<br>
<br>
' Print rect1.Contains(rect2.x, rect2.y)<br>
' Print rect2.Contains(rect1.X, rect1.y)<br>
<br>
End<br>
<br>
Public Sub SuperPosicion(prota As Rect, unrectangulo
As Rect) As Boolean<br>
' <br>
<br>
Dim rec1 As New Rect<br>
Dim rec2 As New Rect <br>
Dim tmprec1 As New Rect[]<br>
<br>
With rec1<br>
.X = prota.x <br>
.Y = prota.y<br>
.W = prota.w<br>
.H = prota.h<br>
End With<br>
<br>
With rec2<br>
.x = unrectangulo.x<br>
.y = unrectangulo.y <br>
.w = unrectangulo.w<br>
.h = unrectangulo.h<br>
End With<br>
<br>
For Each tmprec1 In [[rec1, rec2], [rec2, rec1]]<br>
<br>
If ((PuntoDentroDeRect(tmprec1[0].Left,
tmprec1[0].Top, tmprec1[1])) Or <br>
(PuntoDentroDeRect(tmprec1[0].Left,
tmprec1[0].Bottom, tmprec1[1])) Or<br>
(PuntoDentroDeRect(tmprec1[0].Right,
tmprec1[0].Top, tmprec1[1])) Or<br>
(PuntoDentroDeRect(tmprec1[0].Right,
tmprec1[0].Bottom, tmprec1[1]))) Then Return
True <br>
Next <br>
Return False<br>
<br>
End<br>
<br>
Public Sub PuntoDentroDeRect(x As Integer, y As
Integer, unrect As Rect) As Boolean<br>
<br>
If (x >= unrect.Left) And (x <=
unrect.Right) And (y >= unrect.Top) And (y <=
unrect.Bottom) Then<br>
Return True <br>
Else<br>
Return False<br>
Endif<br>
<br>
End<br>
[/code]<br>
<br>
Regards.<br>
<br>
<div
class="gmail-m_5111729697672267121gmail-m_4068325184257619203moz-cite-prefix">El
23/1/19 a las 19:56, Jussi Lahtinen escribió:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div>I can't reproduce the problem either...
perhaps something in your code triggers it.
Can you send small project to reproduce the
problem?</div>
<div><br>
</div>
<div>Jussi<br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr"
class="gmail-m_5111729697672267121gmail-m_4068325184257619203gmail_attr">On
Wed, Jan 23, 2019 at 11:14 AM Francisco
Martinez <<a
href="mailto:fmfdario@gmail.com"
target="_blank" moz-do-not-send="true">fmfdario@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote"
style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF"> Hi everyone!.<br>
<br>
<span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203gmail-m_1626525596239538268tlid-translation
gmail-m_4068325184257619203gmail-m_1626525596239538268translation"><span
title="">I hope you can see the image.</span>
<span title="">Some operators do not
display correctly in the debug console
window.<br>
<br>
<img
src="cid:part5.F7EC7803.42757DA2@gmail.com"
alt="" class="" width="771"
height="291"><br>
<br>
When I use >= is shows only > for
example.<br>
<br>
¿ Wheres is "=" sometimes ?. :-)<br>
<br>
</span></span><span
class="gmail-m_5111729697672267121gmail-m_4068325184257619203gmail-m_1626525596239538268tlid-translation
gmail-m_4068325184257619203gmail-m_1626525596239538268translation"><span
title="">Best Regards.<br>
</span></span> </div>
<br>
----[ Gambas mailing-list is hosted by <a
href="https://www.hostsharing.net"
rel="noreferrer" target="_blank"
moz-do-not-send="true">https://www.hostsharing.net</a>
]----<br>
</blockquote>
</div>
<br>
<fieldset
class="gmail-m_5111729697672267121gmail-m_4068325184257619203mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_5111729697672267121gmail-m_4068325184257619203moz-quote-pre">----[ Gambas mailing-list is hosted by <a class="gmail-m_5111729697672267121gmail-m_4068325184257619203moz-txt-link-freetext" href="https://www.hostsharing.net" target="_blank" moz-do-not-send="true">https://www.hostsharing.net</a> ]----
</pre>
</blockquote>
<br>
</div>
<br>
----[ Gambas mailing-list is hosted by <a
href="https://www.hostsharing.net" rel="noreferrer"
target="_blank" moz-do-not-send="true">https://www.hostsharing.net</a>
]----<br>
</blockquote>
</div>
<br>
<fieldset
class="gmail-m_5111729697672267121mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_5111729697672267121moz-quote-pre">----[ Gambas mailing-list is hosted by <a class="gmail-m_5111729697672267121moz-txt-link-freetext" href="https://www.hostsharing.net" target="_blank" moz-do-not-send="true">https://www.hostsharing.net</a> ]----
</pre>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>