Re: [Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
Yes Fabien,
unfortunately, you're right.
I did not understand anything. Yet I was convinced ...
I am afraid that the decline has initiated :-(
Thanks for the attention

2016-03-10 22:26 GMT+01:00 Fabien Bodard :

> Well I think you have not understand the clipboard... this is an example
>
> 2016-03-10 21:18 GMT+01:00 Gianluigi :
> > Yes you are right,
> > I should send it before.
> > Attached file.
> >
> > Regards
> >
> > Gianluigi
> >
> > 2016-03-10 21:00 GMT+01:00 Fabien Bodard :
> >
> >> can you send mle the project ?
> >>
> >> 2016-03-10 20:56 GMT+01:00 Gianluigi :
> >> > No Fabien,
> >> > I always do the same:
> >> > Before I copy the commentate phrase, then I copy the latin phrase.
> >> > In the second procedure jumping the CTRL + V and step directly to the
> >> mouse.
> >> >
> >> > Regards
> >> > Gianluigi
> >> >
> >> >
> >> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard :
> >> >
> >> >> if you are selecting the commentate with the mouse ... then the
> >> >> secondary clipboard will be filled with it... replacing the latin one
> >> >>
> >> >> 2016-03-10 16:32 GMT+01:00 Gianluigi :
> >> >> > I do not understand why does this happen?
> >> >> >
> >> >> > Given this simple code:
> >> >> >
> >> >> > Public Sub Form_Open()
> >> >> >
> >> >> >   ' First copy this commentate words by selecting it and giving
> CTRL+C
> >> >> >
> >> >> >   TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
> >> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem
> aperiam
> >> >> eaque
> >> >> > ipsa, quae ab illo inventore"
> >> >> >   ' Triky Fabien
> >> >> >   Clipboard.Current = ClipBoard.Selection
> >> >> > ' Triky Jorge
> >> >> >   TextArea1.SetFocus()
> >> >> >   TextArea1.Select(0, Len(TextArea1.Text))
> >> >> >
> >> >> > End
> >> >> >
> >> >> > 1) Copy the commentate words
> >> >> > 2) Start the application.
> >> >> > 3) CTRL+C
> >> >> > 4) CANC
> >> >> > 5) CTRL+V
> >> >> > It is pasted the Latin phrase
> >> >> > 6) CANC (clear the textarea)
> >> >> > 7) CLICK the middle mouse button
> >> >> > It is pasted the Latin phrase
> >> >> > 8) Close
> >> >> >
> >> >> > Now we repeat the first four steps:
> >> >> >
> >> >> > 1) Copy the commentate words
> >> >> > 2) Start the application.
> >> >> > 3) CTRL+C
> >> >> > 4) CANC
> >> >> > 5) CLICK the middle mouse button
> >> >> > It is pasted the commentate words(!?)
> >> >> >
> >> >> > Why?
> >> >> >
> >> >> > Regards
> >> >> > Gianluigi
> >> >> >
> >> >>
> >>
> --
> >> >> > Transform Data into Opportunity.
> >> >> > Accelerate data analysis in your applications with
> >> >> > Intel Data Analytics Acceleration Library.
> >> >> > Click to learn more.
> >> >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >> >> > ___
> >> >> > Gambas-user mailing list
> >> >> > Gambas-user@lists.sourceforge.net
> >> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >>
> >> >>
> >> >>
> >> >> --
> >> >> Fabien Bodard
> >> >>
> >> >>
> >> >>
> >>
> --
> >> >> Transform Data into Opportunity.
> >> >> Accelerate data analysis in your applications with
> >> >> Intel Data Analytics Acceleration Library.
> >> >> Click to learn more.
> >> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >> >> ___
> >> >> Gambas-user mailing list
> >> >> Gambas-user@lists.sourceforge.net
> >> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >> >>
> >> >
> >>
> --
> >> > Transform Data into Opportunity.
> >> > Accelerate data analysis in your applications with
> >> > Intel Data Analytics Acceleration Library.
> >> > Click to learn more.
> >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >> > ___
> >> > Gambas-user mailing list
> >> > Gambas-user@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> >>
> >> --
> >> Fabien Bodard
> >>
> >>
> >>
> --
> >> Transform Data into Opportunity.
> >> Accelerate data analysis in your applications with
> >> Intel Data Analytics Acceleration Library.
> >> Click to learn more.
> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> >
> --
> > Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.do

Re: [Gambas-user] Clipboard question

2016-03-10 Thread Fabien Bodard
Well I think you have not understand the clipboard... this is an example

2016-03-10 21:18 GMT+01:00 Gianluigi :
> Yes you are right,
> I should send it before.
> Attached file.
>
> Regards
>
> Gianluigi
>
> 2016-03-10 21:00 GMT+01:00 Fabien Bodard :
>
>> can you send mle the project ?
>>
>> 2016-03-10 20:56 GMT+01:00 Gianluigi :
>> > No Fabien,
>> > I always do the same:
>> > Before I copy the commentate phrase, then I copy the latin phrase.
>> > In the second procedure jumping the CTRL + V and step directly to the
>> mouse.
>> >
>> > Regards
>> > Gianluigi
>> >
>> >
>> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard :
>> >
>> >> if you are selecting the commentate with the mouse ... then the
>> >> secondary clipboard will be filled with it... replacing the latin one
>> >>
>> >> 2016-03-10 16:32 GMT+01:00 Gianluigi :
>> >> > I do not understand why does this happen?
>> >> >
>> >> > Given this simple code:
>> >> >
>> >> > Public Sub Form_Open()
>> >> >
>> >> >   ' First copy this commentate words by selecting it and giving CTRL+C
>> >> >
>> >> >   TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
>> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam
>> >> eaque
>> >> > ipsa, quae ab illo inventore"
>> >> >   ' Triky Fabien
>> >> >   Clipboard.Current = ClipBoard.Selection
>> >> > ' Triky Jorge
>> >> >   TextArea1.SetFocus()
>> >> >   TextArea1.Select(0, Len(TextArea1.Text))
>> >> >
>> >> > End
>> >> >
>> >> > 1) Copy the commentate words
>> >> > 2) Start the application.
>> >> > 3) CTRL+C
>> >> > 4) CANC
>> >> > 5) CTRL+V
>> >> > It is pasted the Latin phrase
>> >> > 6) CANC (clear the textarea)
>> >> > 7) CLICK the middle mouse button
>> >> > It is pasted the Latin phrase
>> >> > 8) Close
>> >> >
>> >> > Now we repeat the first four steps:
>> >> >
>> >> > 1) Copy the commentate words
>> >> > 2) Start the application.
>> >> > 3) CTRL+C
>> >> > 4) CANC
>> >> > 5) CLICK the middle mouse button
>> >> > It is pasted the commentate words(!?)
>> >> >
>> >> > Why?
>> >> >
>> >> > Regards
>> >> > Gianluigi
>> >> >
>> >>
>> --
>> >> > Transform Data into Opportunity.
>> >> > Accelerate data analysis in your applications with
>> >> > Intel Data Analytics Acceleration Library.
>> >> > Click to learn more.
>> >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> >> > ___
>> >> > Gambas-user mailing list
>> >> > Gambas-user@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >>
>> >>
>> >>
>> >> --
>> >> Fabien Bodard
>> >>
>> >>
>> >>
>> --
>> >> Transform Data into Opportunity.
>> >> Accelerate data analysis in your applications with
>> >> Intel Data Analytics Acceleration Library.
>> >> Click to learn more.
>> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> >> ___
>> >> Gambas-user mailing list
>> >> Gambas-user@lists.sourceforge.net
>> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
>> >>
>> >
>> --
>> > Transform Data into Opportunity.
>> > Accelerate data analysis in your applications with
>> > Intel Data Analytics Acceleration Library.
>> > Click to learn more.
>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> > ___
>> > Gambas-user mailing list
>> > Gambas-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>>
>> --
>> Fabien Bodard
>>
>>
>> --
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard


ClipboardQuestion-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Lib

Re: [Gambas-user] XMLDocument GetSingleNode or XPath support?

2016-03-10 Thread KKing
On 08/03/16 02:39, Adrien Prokopowicz wrote:
> Le Mon, 29 Feb 2016 15:10:49 +0100, KKing  a écrit:
>
>> On 17/02/16 09:15, KKing wrote:
>>> does the XML component support a GetSingleNode method or allow an
>>> XPath to be used to obtain single nodes?
>>>   - - - -
>>>
>> is that a no then?
>>
>>
> At the moment, there is no XPath support for the gb.xml component.
>
> However, if you want to select specific nodes, you have several methods
> at your disposal :
>
> * The XmlElement.GetChildrenByTagName()[0] can be used to search elements
> with specific tag names, but it also supports LIKE[1] patterns. It can
> also receive a depth parameter if you want to restrict your search;
> * The XmlElement.GetChildrenByAttributeValue()[2] works with similar
> options;
> * The gb.xml.html sub-component adds a XmlElement.GetChildrenByFilter()[3]
> method,
> to which you can pass a CSS filter. Not all CSS expressions are
> supported though
> (see the MatchFilter()[4] help).
>
> Hope that helps,
>
> [0] http://gambaswiki.org/wiki/comp/gb.xml/xmlelement/getchildrenbytagname
> [1] http://gambaswiki.org/wiki/lang/like
> [2]
> http://gambaswiki.org/wiki/comp/gb.xml/xmlelement/getchildrenbyattributevalue
> [3]
> http://gambaswiki.org/wiki/comp/gb.xml.html/xmlelement/getchildrenbyfilter
> [4] http://gambaswiki.org/wiki/comp/gb.xml.html/xmlelement/matchfilter
>
ta, I did contemplate the GetChildren methods.
Due to time pressures, and a very specific need, I resorted to modifying 
the xml file via string manipulation.

If I ever need to revisit I may look to do it better, either within my 
code or extending the component.
Would XPath fit within the gb.xml component, or would you imagine a 
gb.xml.xpath component?



--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
Yes you are right,
I should send it before.
Attached file.

Regards

Gianluigi

2016-03-10 21:00 GMT+01:00 Fabien Bodard :

> can you send mle the project ?
>
> 2016-03-10 20:56 GMT+01:00 Gianluigi :
> > No Fabien,
> > I always do the same:
> > Before I copy the commentate phrase, then I copy the latin phrase.
> > In the second procedure jumping the CTRL + V and step directly to the
> mouse.
> >
> > Regards
> > Gianluigi
> >
> >
> > 2016-03-10 19:14 GMT+01:00 Fabien Bodard :
> >
> >> if you are selecting the commentate with the mouse ... then the
> >> secondary clipboard will be filled with it... replacing the latin one
> >>
> >> 2016-03-10 16:32 GMT+01:00 Gianluigi :
> >> > I do not understand why does this happen?
> >> >
> >> > Given this simple code:
> >> >
> >> > Public Sub Form_Open()
> >> >
> >> >   ' First copy this commentate words by selecting it and giving CTRL+C
> >> >
> >> >   TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
> >> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam
> >> eaque
> >> > ipsa, quae ab illo inventore"
> >> >   ' Triky Fabien
> >> >   Clipboard.Current = ClipBoard.Selection
> >> > ' Triky Jorge
> >> >   TextArea1.SetFocus()
> >> >   TextArea1.Select(0, Len(TextArea1.Text))
> >> >
> >> > End
> >> >
> >> > 1) Copy the commentate words
> >> > 2) Start the application.
> >> > 3) CTRL+C
> >> > 4) CANC
> >> > 5) CTRL+V
> >> > It is pasted the Latin phrase
> >> > 6) CANC (clear the textarea)
> >> > 7) CLICK the middle mouse button
> >> > It is pasted the Latin phrase
> >> > 8) Close
> >> >
> >> > Now we repeat the first four steps:
> >> >
> >> > 1) Copy the commentate words
> >> > 2) Start the application.
> >> > 3) CTRL+C
> >> > 4) CANC
> >> > 5) CLICK the middle mouse button
> >> > It is pasted the commentate words(!?)
> >> >
> >> > Why?
> >> >
> >> > Regards
> >> > Gianluigi
> >> >
> >>
> --
> >> > Transform Data into Opportunity.
> >> > Accelerate data analysis in your applications with
> >> > Intel Data Analytics Acceleration Library.
> >> > Click to learn more.
> >> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >> > ___
> >> > Gambas-user mailing list
> >> > Gambas-user@lists.sourceforge.net
> >> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >>
> >>
> >> --
> >> Fabien Bodard
> >>
> >>
> >>
> --
> >> Transform Data into Opportunity.
> >> Accelerate data analysis in your applications with
> >> Intel Data Analytics Acceleration Library.
> >> Click to learn more.
> >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> >> ___
> >> Gambas-user mailing list
> >> Gambas-user@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/gambas-user
> >>
> >
> --
> > Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
>
>
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


ClipboardQuestion-0.0.1.tar.gz
Description: GNU Zip compressed data
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Clipboard question

2016-03-10 Thread Fabien Bodard
can you send mle the project ?

2016-03-10 20:56 GMT+01:00 Gianluigi :
> No Fabien,
> I always do the same:
> Before I copy the commentate phrase, then I copy the latin phrase.
> In the second procedure jumping the CTRL + V and step directly to the mouse.
>
> Regards
> Gianluigi
>
>
> 2016-03-10 19:14 GMT+01:00 Fabien Bodard :
>
>> if you are selecting the commentate with the mouse ... then the
>> secondary clipboard will be filled with it... replacing the latin one
>>
>> 2016-03-10 16:32 GMT+01:00 Gianluigi :
>> > I do not understand why does this happen?
>> >
>> > Given this simple code:
>> >
>> > Public Sub Form_Open()
>> >
>> >   ' First copy this commentate words by selecting it and giving CTRL+C
>> >
>> >   TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
>> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam
>> eaque
>> > ipsa, quae ab illo inventore"
>> >   ' Triky Fabien
>> >   Clipboard.Current = ClipBoard.Selection
>> > ' Triky Jorge
>> >   TextArea1.SetFocus()
>> >   TextArea1.Select(0, Len(TextArea1.Text))
>> >
>> > End
>> >
>> > 1) Copy the commentate words
>> > 2) Start the application.
>> > 3) CTRL+C
>> > 4) CANC
>> > 5) CTRL+V
>> > It is pasted the Latin phrase
>> > 6) CANC (clear the textarea)
>> > 7) CLICK the middle mouse button
>> > It is pasted the Latin phrase
>> > 8) Close
>> >
>> > Now we repeat the first four steps:
>> >
>> > 1) Copy the commentate words
>> > 2) Start the application.
>> > 3) CTRL+C
>> > 4) CANC
>> > 5) CLICK the middle mouse button
>> > It is pasted the commentate words(!?)
>> >
>> > Why?
>> >
>> > Regards
>> > Gianluigi
>> >
>> --
>> > Transform Data into Opportunity.
>> > Accelerate data analysis in your applications with
>> > Intel Data Analytics Acceleration Library.
>> > Click to learn more.
>> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> > ___
>> > Gambas-user mailing list
>> > Gambas-user@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
>>
>>
>> --
>> Fabien Bodard
>>
>>
>> --
>> Transform Data into Opportunity.
>> Accelerate data analysis in your applications with
>> Intel Data Analytics Acceleration Library.
>> Click to learn more.
>> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
>> ___
>> Gambas-user mailing list
>> Gambas-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gambas-user
>>
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
No Fabien,
I always do the same:
Before I copy the commentate phrase, then I copy the latin phrase.
In the second procedure jumping the CTRL + V and step directly to the mouse.

Regards
Gianluigi


2016-03-10 19:14 GMT+01:00 Fabien Bodard :

> if you are selecting the commentate with the mouse ... then the
> secondary clipboard will be filled with it... replacing the latin one
>
> 2016-03-10 16:32 GMT+01:00 Gianluigi :
> > I do not understand why does this happen?
> >
> > Given this simple code:
> >
> > Public Sub Form_Open()
> >
> >   ' First copy this commentate words by selecting it and giving CTRL+C
> >
> >   TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
> > sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam
> eaque
> > ipsa, quae ab illo inventore"
> >   ' Triky Fabien
> >   Clipboard.Current = ClipBoard.Selection
> > ' Triky Jorge
> >   TextArea1.SetFocus()
> >   TextArea1.Select(0, Len(TextArea1.Text))
> >
> > End
> >
> > 1) Copy the commentate words
> > 2) Start the application.
> > 3) CTRL+C
> > 4) CANC
> > 5) CTRL+V
> > It is pasted the Latin phrase
> > 6) CANC (clear the textarea)
> > 7) CLICK the middle mouse button
> > It is pasted the Latin phrase
> > 8) Close
> >
> > Now we repeat the first four steps:
> >
> > 1) Copy the commentate words
> > 2) Start the application.
> > 3) CTRL+C
> > 4) CANC
> > 5) CLICK the middle mouse button
> > It is pasted the commentate words(!?)
> >
> > Why?
> >
> > Regards
> > Gianluigi
> >
> --
> > Transform Data into Opportunity.
> > Accelerate data analysis in your applications with
> > Intel Data Analytics Acceleration Library.
> > Click to learn more.
> > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
>
>
>
> --
> Fabien Bodard
>
>
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Clipboard question

2016-03-10 Thread Fabien Bodard
if you are selecting the commentate with the mouse ... then the
secondary clipboard will be filled with it... replacing the latin one

2016-03-10 16:32 GMT+01:00 Gianluigi :
> I do not understand why does this happen?
>
> Given this simple code:
>
> Public Sub Form_Open()
>
>   ' First copy this commentate words by selecting it and giving CTRL+C
>
>   TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
> sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam eaque
> ipsa, quae ab illo inventore"
>   ' Triky Fabien
>   Clipboard.Current = ClipBoard.Selection
> ' Triky Jorge
>   TextArea1.SetFocus()
>   TextArea1.Select(0, Len(TextArea1.Text))
>
> End
>
> 1) Copy the commentate words
> 2) Start the application.
> 3) CTRL+C
> 4) CANC
> 5) CTRL+V
> It is pasted the Latin phrase
> 6) CANC (clear the textarea)
> 7) CLICK the middle mouse button
> It is pasted the Latin phrase
> 8) Close
>
> Now we repeat the first four steps:
>
> 1) Copy the commentate words
> 2) Start the application.
> 3) CTRL+C
> 4) CANC
> 5) CLICK the middle mouse button
> It is pasted the commentate words(!?)
>
> Why?
>
> Regards
> Gianluigi
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



-- 
Fabien Bodard

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Menu changed programmatically

2016-03-10 Thread Rolf-Werner Eilert
How to change the entries of a pop-up menu?

I wanted to use a MenuButton like it is used in the Gambas IDE, i. e. 
not for a menu in the ordinary "menu" sense of the word, but for a list 
that reacts like a ComboBox.

In this case, I would have to abuse the pop-up menu that is linked to 
the MenuButton. But how can I access the entries of a menu during 
runtime? I haven't found anything about it in the documentation.

Regards
Rolf


--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] MediaView1.URL cannot set status

2016-03-10 Thread Charlie
Works for me as well.
 



--
View this message in context: 
http://gambas.8142.n7.nabble.com/MediaView1-URL-cannot-set-status-tp55626p55649.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Clipboard question

2016-03-10 Thread Gianluigi
I do not understand why does this happen?

Given this simple code:

Public Sub Form_Open()

  ' First copy this commentate words by selecting it and giving CTRL+C

  TextArea1.Text = "Sed ut perspiciatis unde omnis iste natus
sit\nvoluptatem accusantium doloremque laudantium,\ntotam rem aperiam eaque
ipsa, quae ab illo inventore"
  ' Triky Fabien
  Clipboard.Current = ClipBoard.Selection
' Triky Jorge
  TextArea1.SetFocus()
  TextArea1.Select(0, Len(TextArea1.Text))

End

1) Copy the commentate words
2) Start the application.
3) CTRL+C
4) CANC
5) CTRL+V
It is pasted the Latin phrase
6) CANC (clear the textarea)
7) CLICK the middle mouse button
It is pasted the Latin phrase
8) Close

Now we repeat the first four steps:

1) Copy the commentate words
2) Start the application.
3) CTRL+C
4) CANC
5) CLICK the middle mouse button
It is pasted the commentate words(!?)

Why?

Regards
Gianluigi
--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Report problems

2016-03-10 Thread Fabien Bodard
Well i think it's a font problem. Try to select explicitly the font of
the report object.

if it not work :

are you using gb.gui ?

then can you send me a short project with the involved report ? I
think you have a bad report design too. So if i have an example i can
explain to you what to do.

2016-03-10 5:17 GMT+01:00 Buster Seven :
> I'm having problems with the report component when I run my program in the
> ide the report shows as expected but when i build an exe the report is all
> wrong?
>
>
>
> IDE
>
>
> EXE
>
>
>
>
>
>
>
> [System]
> Gambas=3.8.4
> OperatingSystem=Linux
> Kernel=3.16.0-38-generic
> Architecture=x86_64
> Distribution=Linux Mint 17.2 Rafaela
> Desktop=MATE
> Theme=Gtk
> Language=en_AU.UTF-8
> Memory=3806M
>
> [Libraries]
> Cairo=libcairo.so.2.11301.0
> Curl=libcurl.so.4.3.0
> DBus=libdbus-1.so.3.7.6
> GStreamer=libgstreamer-0.10.so.0.30.0
> GStreamer=libgstreamer-1.0.so.0.204.0
> GTK+2=libgtk-x11-2.0.so.0.2400.23
> GTK+3=libgtk-3.so.0.1000.8
> OpenGL=libGL.so.1.2.0
> Poppler=libpoppler.so.44.0.0
> QT4=libQtCore.so.4.8.6
> QT5=libQt5Core.so.5.2.1
> SDL=libSDL-1.2.so.0.11.4
>
> [Environment]
> DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-oAaGgMxyq7,guid=3e3510e2ca9bf0d3c9d06f4856dd0237
> DEFAULTS_PATH=/usr/share/gconf/mate.default.path
> DESKTOP_SESSION=mate
> DISPLAY=:0.0
> GB_GUI=gb.qt4
> GDMSESSION=mate
> GDM_XSERVER_LOCATION=local
> GNOME_KEYRING_CONTROL=/run/user/1000/keyring-dgeJQX
> GNOME_KEYRING_PID=2008
> GPG_AGENT_INFO=/run/user/1000/keyring-dgeJQX/gpg:0:1
> HOME=/home/
> LANG=en_AU.UTF-8
> LOGNAME=
> MANDATORY_PATH=/usr/share/gconf/mate.mandatory.path
> MATE_DESKTOP_SESSION_ID=this-is-deprecated
> MDMSESSION=mate
> MDM_LANG=en_AU.UTF-8
> MDM_XSERVER_LOCATION=local
> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
> PWD=/home/
> SESSION_MANAGER=local/:@/tmp/.ICE-unix/1764,unix/:/tmp/.ICE-unix/1764
> SHELL=/bin/bash
> SSH_AGENT_PID=1920
> SSH_AUTH_SOCK=/run/user/1000/keyring-dgeJQX/ssh
> TEXTDOMAIN=im-config
> TEXTDOMAINDIR=/usr/share/locale/
> TZ=:/etc/localtime
> USER=
> USERNAME=
> WINDOWPATH=8
> XAUTHORITY=/home//.Xauthority
> XDG_CONFIG_DIRS=/etc/xdg/xdg-mate:/etc/xdg
> XDG_CURRENT_DESKTOP=MATE
> XDG_DATA_DIRS=/usr/share/mate:/usr/local/share/:/usr/share/:/usr/share/mdm/
> XDG_RUNTIME_DIR=/run/user/1000
> XDG_SEAT=seat0
> XDG_SESSION_COOKIE=139d2632112d070b9e811bbc561842ce-1457324597.652522-1504565590
> XDG_SESSION_DESKTOP=mate
> XDG_SESSION_ID=c1
> XDG_VTNR=8
>
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
Fabien Bodard

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user