Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Benoît Minisini
Le 08/02/2012 01:25, Fabián Flores Vadell a écrit : > > Is the intention to provide a feature similar to inner classes of java? > Not at all. -- Benoît Minisini -- Keep Your Developer Skills Current with LearnDevNow! Th

Re: [Gambas-user] gb.gsl documentation

2012-02-07 Thread Wally
On Wednesday, February 08, 2012 07:34:39 Wally wrote: > Where cani find information, how to provide documentation on the gb.gsl > component project. I would like to add this helper-popups to gb.gsl. > ( see attachment please ) > Where is a good place to upload some examples using the gb.gsl compone

[Gambas-user] gb.gsl documentation

2012-02-07 Thread Wally
Where cani find information, how to provide documentation on the gb.gsl component project. I would like to add this helper-popups to gb.gsl. ( see attachment please ) Where is a good place to upload some examples using the gb.gsl component ? wally <>--

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Fabián Flores Vadell
Hi Benoît. 2012/2/7 Benoît Minisini > > >>> > Gambas structures are really Gambas objects, except that they can be > embedded inside other objects or structures (you cannot embed a Gambas > object inside another one). > Beside that special behaviour (and two other ones in extern function > ma

Re: [Gambas-user] Start a form minized

2012-02-07 Thread M. Cs.
Try to add at the Public Sub Form_Open() Me.Minimized=True . End 2012/2/7, Rolf Schmidt : > Hi everybody out there > > is it possible to start a form minimized or invisible. > I use a TrayIcon to terminate the program and program should stay in the > background and wait for incoming calls. Th

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Randall Morgan
LOL! My son in law is a rancher. A real cowboy (his tax return says so). And if you dropped the dog that sounds like something he'd say On Tue, Feb 7, 2012 at 1:02 PM, Kevin Fishburne < kevinfishbu...@eightvirtues.com> wrote: > On 02/07/2012 08:10 AM, Randall Morgan wrote: > > http://gamba

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Kevin Fishburne
On 02/07/2012 08:10 AM, Randall Morgan wrote: > http://gambasdoc.org/help/lang/structdecl?en&v3 > > "A structure is exactly like a class that would have only public variables." > > > > On Tue, Feb 7, 2012 at 5:07 AM, Randall Morgan wrote: > >> Just restating the documentation >> >> >> As my d

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Randall Morgan
Thanks for clearing that up Benoit! 2012/2/7 Benoît Minisini > Le 07/02/2012 14:50, GMail a écrit : > > On Tue, 2012-02-07 at 05:07 -0800, Randall Morgan wrote: > >> Just restating the documentation > >> > >> On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen > wrote: > >> > >>> On Tue, 2012-02-0

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Benoît Minisini
Le 07/02/2012 14:50, GMail a écrit : > On Tue, 2012-02-07 at 05:07 -0800, Randall Morgan wrote: >> Just restating the documentation >> >> On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote: >> >>> On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote: Actually, a Structure is a methodles

Re: [Gambas-user] Send from .module to .class

2012-02-07 Thread Jesus
El 06/02/12 21:59, Ron escribió: > I agree, but the supplied example doesn't work with making controls public. Sorry Ron. I was sure someone suggested doing that. Regards -- Jesus Guardon > > 2012/2/6 Jesus > >> El 05/02/12 00:01, abbat escribió: >>> >>> How can I send a string "test_string

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Jussi Lahtinen
While structures and classes are different thing generally, I have understand that structures are implemented to Gambas internally as class. And to answer Kevin's question. Create class named Client_Animation, and paste this inside of it: Public Animating As Boolean Public OrientationDefault As

[Gambas-user] Start a form minized

2012-02-07 Thread Rolf Schmidt
Hi everybody out there is it possible to start a form minimized or invisible. I use a TrayIcon to terminate the program and program should stay in the background and wait for incoming calls. Then a second from will be shown with the connection data but the main form - which only has a close butt

[Gambas-user] DataSource & DataBrowser problem

2012-02-07 Thread John Rose
Thanks, Benoit, for your explanation. Now that I've deleted the DataBrowserCountry control & created it again inside the DataSourceCountry control, I now see the countries (i.e. France & Great Britain) in the DataBrowserCountry control. However, when I try to add a new country (e.g. Fz), it moves

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Randall Morgan
Well, it sounds like your issue is with the documentation rather than posters. I do recall someone a while back stating that in Gambas structures were implemented as method-less classes. In languages such as C/C++ etc.. structures are very different beasts compared to class. However, the document

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread GMail
On Tue, 2012-02-07 at 05:07 -0800, Randall Morgan wrote: > Just restating the documentation > > On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote: > > > On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote: > > > Actually, a Structure is a methodless class. > > zrr! > > >

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Randall Morgan
http://gambasdoc.org/help/lang/structdecl?en&v3 "A structure is exactly like a class that would have only public variables." On Tue, Feb 7, 2012 at 5:07 AM, Randall Morgan wrote: > Just restating the documentation > > > On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote: > >> On Tue, 2012-

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Randall Morgan
Just restating the documentation On Tue, Feb 7, 2012 at 5:05 AM, Bruce Bruen wrote: > On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote: > > Actually, a Structure is a methodless class. > zrr! > > ... and you can inherit from, override and make static attributes from a

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Bruce Bruen
On Tue, 2012-02-07 at 04:07 -0800, Randall Morgan wrote: > Actually, a Structure is a methodless class. zrr! ... and you can inherit from, override and make static attributes from a struct too? Please, lets keep things realistic here. --

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Randall Morgan
Actually, a Structure is a methodless class. On Tue, Feb 7, 2012 at 12:46 AM, Kevin Fishburne < kevinfishbu...@eightvirtues.com> wrote: > On 02/06/2012 11:35 PM, nando wrote: > > Quite easy. > > Here's a suggestion/example > > > > > > > > Make a class called Tune... > > ...Dim a bunch of privat

Re: [Gambas-user] Date to string MMddyyyyHHmmss

2012-02-07 Thread Bruce Bruen
On Tue, 2012-02-07 at 00:24 -0800, abbat wrote: > How to get a Date without any separators, splash and dots? > > In VB.NET I can get it by: > Dim T = Now.ToString("MMddHHmmss") > > I get "02062012192533" > > In "HOW TO" I could not find such exemple. > > Thanks abbat, The answers to many o

Re: [Gambas-user] Naming/Renaming projects

2012-02-07 Thread Rolf-Werner Eilert
Hi Matti, Am 06.02.2012 22:47, schrieb Matti: > Hi Rolf, > > to your 1st point: > in gb3 there is a wizard, asking first for the directory (and you can create a > new one), then asking for the name and the title of the project. > This should be ok, don't you think so? Well, you are right. The wiz

Re: [Gambas-user] Date to string MMddyyyyHHmmss

2012-02-07 Thread Алексей Беспалов
very simple Dim d As Date Dim s As String d = Now Print d s = Str(d) Print s s = Replace(s, ".", "") s = Replace(s, ":", "") s = Replace(s, " ", "") Print s 2012/2/7 abbat > > How to get a Date without any separators, splash and dots? > > In VB.NET I c

Re: [Gambas-user] gb3: converting structures to classes

2012-02-07 Thread Kevin Fishburne
On 02/06/2012 11:35 PM, nando wrote: > Quite easy. > Here's a suggestion/example > > > > Make a class called Tune... > ...Dim a bunch of privates for values (name, artist, date, genre) > ...Write SUBs for things to do with Tunes > > > In FMain... > PUBLIC Tunes AS Object[] > > > > In a SUB somewher

Re: [Gambas-user] How To INSERT INTO in MySQL?

2012-02-07 Thread Fabien Bodard
databaseconnection.Exec(qrs2[i7].join(" ")) normally it will be more speed than a for each -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft develope

[Gambas-user] Date to string MMddyyyyHHmmss

2012-02-07 Thread abbat
How to get a Date without any sewparators, splash and dots? In VB.NET I can get it by: Dim T = Now.ToString("MMddHHmmss") I get "02062012192533" In "HOW TO" I could not find such exemple. Thanks -- View this message in context: http://old.nabble.com/Date-to-string-MMddHHmmss-tp33277