Re: [Gambas-user] Gambas bug?

2012-02-11 Thread Fabián Flores Vadell
2012/2/11 Bruce Bruen > I have a base class that is CREATE PRIVATE, it cannot be instantiated > directly by a client application. It contains various methods that must > be available to it's child classes (which CAN be instantiated) and can > be called by the client application. For example, D

Re: [Gambas-user] Gambas bug?

2012-02-11 Thread Fabián Flores Vadell
2012/2/11 Bruce Bruen > > Interesting, I have a similar problem, perhaps the same but maybe > slightly different. > > I have a base class that is CREATE PRIVATE, it cannot be instantiated > directly by a client application. It contains various methods that must > be available to it's child class

Re: [Gambas-user] Gambas bug?

2012-02-11 Thread Fabián Flores Vadell
2012/2/11 Benoît Minisini > Le 11/02/2012 00:33, Fabián Flores Vadell a écrit : > > > > That problem could be described as "How to add methods from a helper > object > > without have to rewrite a wrapper for each method (with just a call > within) > > in the host class?". > > > > Why don't you wa

Re: [Gambas-user] TAB on keyboard

2012-02-11 Thread Willy Raets
Hi Charles, On za, 2012-02-11 at 05:10 -0800, charlesg wrote: > > Willy Raets wrote: > > > > Is there a way in Gambas2 (or Gambas3), when using TAB-key on keyboard > > to have it skip (in my case all read only) controls and just go to those > > that matter for input? > > > > 2 workarounds: >

Re: [Gambas-user] TAB on keyboard

2012-02-11 Thread charlesg
Willy Raets wrote: > > Is there a way in Gambas2 (or Gambas3), when using TAB-key on keyboard > to have it skip (in my case all read only) controls and just go to those > that matter for input? > 2 workarounds: firstly: > Public Sub TextBox3_GotFocus() > TextBox1.SetFocus > End > secondl

Re: [Gambas-user] gb.GeneralDate formatting is inconsistent

2012-02-11 Thread Benoît Minisini
Le 06/02/2012 06:44, Zach Smith a écrit : >> gb.GeneralDate prints the date part the short way (dd/mm/yy) and prints >> the time if it is not zero. > > The middle example is still inconsistent if one expects 00:00:00 to be > a valid time, that is, midnight (12:00 AM). Also note that the format > i

Re: [Gambas-user] Gambas bug?

2012-02-11 Thread Benoît Minisini
Le 11/02/2012 00:33, Fabián Flores Vadell a écrit : > > That problem could be described as "How to add methods from a helper object > without have to rewrite a wrapper for each method (with just a call within) > in the host class?". > Why don't you want to write wrappers? Is it just because it is

Re: [Gambas-user] Gambas bug?

2012-02-11 Thread Benoît Minisini
Le 10/02/2012 23:36, Fabián Flores Vadell a écrit : > 2012/2/10 Emil Lenngren > >> Can you give some examples how you mean? >> What do you need wrappers for? >> I don't think I understand fully what you mean, but it seems interesting :) >> >> /Emil >> > > I would like to show you an example, but I

Re: [Gambas-user] TAB on keyboard

2012-02-11 Thread Benoît Minisini
Le 06/02/2012 14:40, Willy Raets a écrit : > Hi All, > > When making forms I determine hierarchy of the controls on the form for > navigating the form with TAB-key during runtime. This to make the forms > more user friendly. > > Simple example: > --- > Application with 1 form with 3 Val