[Gambas-user] long lines of code ?

2011-08-02 Thread wally

How can i wrap long lines in code to several shorter so all is in view in 
editor window ?
I think in VB there was the possibility to use "_" at the end of line.

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


[Gambas-user] Accessing a microsoft database from gambas

2011-08-02 Thread richard terry
I wondered if anyone knew if it was possible to access tables from a MSAcess7 
database via gambas?

Regards

richard

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] long lines of code ?

2011-08-02 Thread Benoît Minisini
> How can i wrap long lines in code to several shorter so all is in view in
> editor window ?
> I think in VB there was the possibility to use "_" at the end of line.
> 

You can't do that, but you can break a line of code just after a comma or any 
binary operator.

Regards,

-- 
Benoît Minisini

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-02 Thread Caveat
LOL, I spent several days banging my head against a wall trying to get
this to work (I think you have to go through ODBC) and eventually gave
up and turned to java.  There's a nice java library called jackcess for
this.

I have made a start on interfacing the java code to Gambas by making a
simple server on the java side and returning things like lists of
tables, lists of columns for a given table and have a sample Gambas
program up and running to make a nice GUI for it.

If you're interested, perhaps we could collaborate on this and develop
it further?

Regards,
Caveat 

On Tue, 2011-08-02 at 20:39 +1000, richard terry wrote:
> I wondered if anyone knew if it was possible to access tables from a MSAcess7 
> database via gambas?
> 
> Regards
> 
> richard
> 
> --
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts. 
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] long lines of code ?

2011-08-02 Thread Caveat
The exact same question came up on this mailing list just 4 days ago,
weren't you paying attention? :-P


2011/7/29 Andrea Bertini :
> I use g3. is there the solution to write code of a single command on
> few lines?
>
> In vb i can write in this way:
>
> function (..)
> code.. _
> code

yes you can break a line after a symbol, a ", a comma

function toto(titi as string,
   tata as integer,
   toto as float) as integer


Regards,
Caveat

On Tue, 2011-08-02 at 12:51 +0200, wally wrote:
> How can i wrap long lines in code to several shorter so all is in view in 
> editor window ?
> I think in VB there was the possibility to use "_" at the end of line.
> 
> --
> BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts. 
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user



--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-02 Thread Benoît Minisini
> LOL, I spent several days banging my head against a wall trying to get
> this to work (I think you have to go through ODBC) and eventually gave
> up and turned to java.  There's a nice java library called jackcess for
> this.
> 

Maybe that library could be translated in Gambas...

-- 
Benoît Minisini

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Accessing a microsoft database from gambas

2011-08-02 Thread richard terry
On Tuesday 02 August 2011 21:03:22 Caveat wrote:
> LOL, I spent several days banging my head against a wall trying to get
> this to work (I think you have to go through ODBC) and eventually gave
> up and turned to java.  There's a nice java library called jackcess for
> this.
> 
> I have made a start on interfacing the java code to Gambas by making a
> simple server on the java side and returning things like lists of
> tables, lists of columns for a given table and have a sample Gambas
> program up and running to make a nice GUI for it.
> 
> If you're interested, perhaps we could collaborate on this and develop
> it further?
Prefer a simple way of using ODBC - not got much time as I'm still chugging on 
with my project - I just want to be able to access my appointment book in the 
front office in gambas

Thanks for your reply.


Regards

richard

> 
> Regards,
> Caveat
> 
> On Tue, 2011-08-02 at 20:39 +1000, richard terry wrote:
> > I wondered if anyone knew if it was possible to access tables from a
> > MSAcess7 database via gambas?
> >
> > Regards
> >
> > richard
> >
> > -
> >- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> > The must-attend event for mobile developers. Connect with experts.
> > Get tools for creating Super Apps. See the latest technologies.
> > Sessions, hands-on labs, demos & much more. Register early & save!
> > http://p.sf.net/sfu/rim-blackberry-1
> > ___
> > Gambas-user mailing list
> > Gambas-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> 
> ---
> --- BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
> The must-attend event for mobile developers. Connect with experts.
> Get tools for creating Super Apps. See the latest technologies.
> Sessions, hands-on labs, demos & much more. Register early & save!
> http://p.sf.net/sfu/rim-blackberry-1
> ___
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
> 

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TextEdit, and missing Link event

2011-08-02 Thread Benoît Minisini
> Salut,
> 
> did not find in http://gambasdoc.org/help/doc/gb2togb3?v3 so I aks here,
> I move my project from gb2 to gb3.
> I used a TextEdit with very simple HTML and a href in, and the Link
> event to open it in the browser.
> Now gb3 TextEdit don't show my very simple HTML any more (test only) und
> has no Link event (the Link event was never in the documentation, even
> in gb2)
> 
> The TextLabel shows the simple HTML like it should be, but I don't find
> no Link event.
> 
> gambas3 rev 3956
> Mandriva 2010.2
> qt4 only (gtk not tested)

TextEdit does not have a Link event anymore in Gambas 3.

-- 
Benoît Minisini

--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] TextEdit, and missing Link event

2011-08-02 Thread Charlie Reinl
Am Dienstag, den 02.08.2011, 23:34 +0200 schrieb Benoît Minisini:
> > Salut,
> > 
> > did not find in http://gambasdoc.org/help/doc/gb2togb3?v3 so I aks here,
> > I move my project from gb2 to gb3.
> > I used a TextEdit with very simple HTML and a href in, and the Link
> > event to open it in the browser.
> > Now gb3 TextEdit don't show my very simple HTML any more (test only) und
> > has no Link event (the Link event was never in the documentation, even
> > in gb2)
> > 
> > The TextLabel shows the simple HTML like it should be, but I don't find
> > no Link event.
> > 
> > gambas3 rev 3956
> > Mandriva 2010.2
> > qt4 only (gtk not tested)
> 
> TextEdit does not have a Link event anymore in Gambas 3.
> 
Salut,

so what is the replacement.
What's happened for TextLabel ?

-- 
Amicalement
Charlie


--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user


Re: [Gambas-user] Sting declared as Const are not translated

2011-08-02 Thread Emanuele Sottocorno
Fixed!
Thanks



--
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user