Re: [Gambas-user] Ideas? New tri-state control

2016-03-08 Thread Rolf-Werner Eilert
Nice idea - but before re-inventing the wheel, you know that there is a 
checkbox with tri-state functionality?

What would be the advantage of your version over the existing one?

Rolf

Am 09.03.2016 05:30, schrieb adamn...@gmail.com:
> (We're just having a little think session here)
>
> Looking for the a good example of how to do a "draw it yourself" control.
>
> The control in question represents the value of a tri-state variable with the 
> values "Up", "Down" or "Not set" (out reasons are arcane but consider 
> something you want to specify a "default sort" for). So it would look like a 
> checkbox but instead of tick boxes it would have a pair of arrow images and a 
> "null" box.
>
> tia
> bruce
>


--
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=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Ideas? New tri-state control

2016-03-08 Thread adamn...@gmail.com
(We're just having a little think session here)

Looking for the a good example of how to do a "draw it yourself" control.  

The control in question represents the value of a tri-state variable with the 
values "Up", "Down" or "Not set" (out reasons are arcane but consider something 
you want to specify a "default sort" for). So it would look like a checkbox but 
instead of tick boxes it would have a pair of arrow images and a "null" box.

tia
bruce 

-- 
B Bruen 

--
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=/4140
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


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

2016-03-08 Thread Adrien Prokopowicz
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

-- 
Adrien Prokopowicz

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Two suggestions for the ide

2016-03-08 Thread Fabien Bodard
All are related to the new Add/Import file layout.


Can you :

- Add a new MenuButton "New" that act depend the tree view position.
- Add a new Button Import that act depend the tree position
- Add an IconPanel in the Import Dialog to Easily select the import filter.

In all case i found the new way interresting but less easy to use than
the previous one... less intuitive

-- 
Fabien Bodard

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Two suggestions for the ide

2016-03-08 Thread Benoît Minisini
Le 08/03/2016 14:20, Fabien Bodard a écrit :
> All are related to the new Add/Import file layout.
>
>
> Can you :
>
> - Add a new MenuButton "New" that act depend the tree view position.
> - Add a new Button Import that act depend the tree position
> - Add an IconPanel in the Import Dialog to Easily select the import filter.
>
> In all case i found the new way interresting but less easy to use than
> the previous one... less intuitive
>

Show me a screenshot or tell it in french, it will be clearer for me!

-- 
Benoît Minisini

--
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://makebettercode.com/inteldaal-eval
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Example of Video Strem

2016-03-08 Thread abbat81
Hi all,

I want to ask anyone to create very useful the example, I'm not too strong
to create it by myself.
Video Stream using webcam and  Socket connection, stable to breaks
connection (don't crash app.)
(It can be not only Socket, which is only way for my knowledge)

Please, can someone create it, it is very very very needed (not for me only,
I think)!

Thank in advance :)



--
View this message in context: 
http://gambas.8142.n7.nabble.com/Example-of-Video-Strem-tp55617.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://makebettercode.com/inteldaal-eval
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Console in V 3.8.4

2016-03-08 Thread Jussi Lahtinen
I personally like the old way, but there is nothing I cannot do with this
new way. And it doesn't have any effect on my working speed.

Do you mean you need the console to its own window?
Go to Debug menu and select "Use terminal emulator".  Maybe that will do it?

So far you haven't said anything of what is actually the problem with the
new console. Yes, it's different, but that might not motive anyone to do
anything about it.


Jussi


On Mon, Mar 7, 2016 at 10:21 PM, Stephen  wrote:

> Why not?
>
> Because full screen editing (full window in this case) as it was
> implemented is better in every way.
>
> While the console is not a class editor, would this data entry paradigm
> be an improvement if applied to the class editor? I'll vote "No" on that
> one.
>
> The new console breaks consistency with the IDE's UI, it feels like an
> antique wooden-wheel on vehicle that is otherwise very advanced.
>
> So I have to ask Benoit: what was the driving force?
>
>
> On 03/07/2016 11:20 AM, Jussi Lahtinen wrote:
> > Why not?
> > You need to put the input on one line anyway and the result can have
> > multiple lines (or you may want to compare multiple results). So I think
> it
> > is logical in that way.
> >
> >
> > Jussi
> >
> > On Mon, Mar 7, 2016 at 5:21 PM, Stephen
> wrote:
> >
> >> Is the console SUPPOSED to have a one line input field with a massive
> >> results area above it? Please tell me sanity has returned and later
> >> versions have a console in the traditional sense.
> >> --
> >>
> >> Kindest Regards
> >> Stephen A. Bungay, Prop.
> >> Smarts On Site Information Systems
> >>
> >>
> >>
> >>
> --
> >> Transform Data into Opportunity.
> >> Accelerate data analysis in your applications with
> >> Intel Data Analytics Acceleration Library.
> >> Click to learn more.
> >> http://makebettercode.com/inteldaal-eval
> >> ___
> >> 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://makebettercode.com/inteldaal-eval
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
> --
> Kindest Regards
> Stephen A. Bungay, Prop.
> Smarts On Site Information Systems
>
>
>
> --
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://makebettercode.com/inteldaal-eval
> ___
> 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://makebettercode.com/inteldaal-eval
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user