Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread GMail
On Tue, 2011-11-08 at 01:01 +0100, Benoît Minisini wrote: > Can you try with a true binary package? Benoît, I wasn't sure what you meant there, so I just went the manual route. Bruce -- RSA(R) Conference 2012 Save $700

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Tue, 2011-11-08 at 10:35 +1030, Bruce Bruen wrote: > FORGET THIS ONE! I found my problem - I had included phCCDemo as a > library in the project I was using to see if the new component was > available. No, I spoke too soon... :-( Tried with a new project and the Paddys-Hill tab is definitely

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Tue, 2011-11-08 at 10:27 +1030, Bruce Bruen wrote: > On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > > > You must make a binary package of your component project. Normally > > this > > package should install the component in the same place as the other > > components located in t

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Benoît Minisini
Le 08/11/2011 00:57, Bruce Bruen a écrit : > On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > >> You must make a binary package of your component project. Normally >> this >> package should install the component in the same place as the other >> components located in the Gambas 3 source

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > You must make a binary package of your component project. Normally > this > package should install the component in the same place as the other > components located in the Gambas 3 source code, and should become as > usable as them. >

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > > b) the gb problem of having to reload the project if a new CC > class > > is added still seems to exist. > > What are you talking about exactly? Please give some details. Sorry, I am wrong on this one. Make executable does relo

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > > 5) It would be really, really, really nice if all controls had a > > AcceptFocus property (IDE visible) so things like Picture boxes can > be > > skipped in custom navigation code > > Normally PictureBox is a read-only control, so it s

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > > 4) It would be really, really nice if IsContainer was a RO property > > exposed by all controls > > To know if a control is a container, use the "IS" operator: > >If MyControl Is Container Then ... > > The difference is when a co

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > > 2) (Related) Don't use the _DrawWith constant without care as it > will > > crash the IDE if the form is left open. > > _DrawWith works only if you specify a control used by the IDE project > (it must be in gb.qt4, gb.qt4.ext, gb.form

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Bruce Bruen
On Mon, 2011-11-07 at 21:26 +0100, Benoît Minisini wrote: > > 1) Declaring one of the hidden constants with the value set to the > > default causes problems, e.g. _IsContainer=False > > Mmm. What are you talking about exactly ? Sorry, my mistake. It's _IsMultiContainer=False. In the IDE using

Re: [Gambas-user] something to do

2011-11-07 Thread Fabien Bodard
Well Gambas knwo how to import cvs :-) Just use the connexion You must for that select the gb.db component then right click on connexion and add a new connexion to a sgdbr then select import I must prvent you ... gb.report is not a standart report generator ... it's a frame style one ... so you

Re: [Gambas-user] something to do

2011-11-07 Thread richard terry
On Tuesday 08 November 2011 05:42:38 Dag-Jarle Johansen wrote: > Hi all of you. > > I am not very happy with my life at this time. I have a lot time to spare, > but I am neither a C- nor anything-else-programmer - just VB - > old-fashonied. And a little Gambas of course. If I can be any help > any

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Dag-Jarle Johansen
wow 2011/11/7 Benoît Minisini > Le 07/11/2011 05:29, Bruce Bruen a écrit : > > I thought I had figured out all the secrets, but no. > > > > This is about custom controls (hereafter "CC") written in gambas. > > > > What I've found out so far > > 1) Declaring one of the hidden constants with the v

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread Benoît Minisini
Le 07/11/2011 05:29, Bruce Bruen a écrit : > I thought I had figured out all the secrets, but no. > > This is about custom controls (hereafter "CC") written in gambas. > > What I've found out so far > 1) Declaring one of the hidden constants with the value set to the > default causes problems, e.g.

Re: [Gambas-user] something to do

2011-11-07 Thread Dag-Jarle Johansen
That is no problem, please, easy, in fact whatever I have a interess but i farer interess for you, I would build a database, not relying on CVS-files DJJ 2011/11/7 Ron > Maybe I have a nice testcase, I need an gambas app which imports a csv file > into an sql table, and a creates monthly billi

Re: [Gambas-user] something to do

2011-11-07 Thread Dag-Jarle Johansen
You could give me, fexs.Oracle, why do they have OpenOffice, Or Sun why do they have MySql looking at forwards-going models (without blond hairs) That would be a good example of a structured mangament. I will do my very best DJJ 2011/11/7 Dag-Jarle Johansen > I have to simulate some situ

Re: [Gambas-user] something to do

2011-11-07 Thread Ron
Maybe I have a nice testcase, I need an gambas app which imports a csv file into an sql table, and a creates monthly billing report for set of originating numbers from another table... so a small billing app... We now get one big csv with all a-b numbers with call duration and callcost in it, we n

Re: [Gambas-user] something to do

2011-11-07 Thread Dag-Jarle Johansen
I have to simulate some situations, of course, what would you rather have, some simulation of one firm, or the simulation of one concern, or the simulation of wall street (hehe no posssible) G DJJ 2011/11/7 Dag-Jarle Johansen > Great idea, Fabien, > > reports have always been a misbeheviour a

Re: [Gambas-user] something to do

2011-11-07 Thread Dag-Jarle Johansen
Great idea, Fabien, reports have always been a misbeheviour along mangegement. I will see what I can do, including reports, of course, Really s great idea for me, thanks. Dag-Jarle 2011/11/7 Fabien Bodard > Hi jarle, > > What you can do for me is to test gb.report... Understand it ... and >

Re: [Gambas-user] something to do

2011-11-07 Thread Fabien Bodard
Hi jarle, What you can do for me is to test gb.report... Understand it ... and maybe document it :) This is a true piece needed for management, logistic programs Then tell me about bugs and what you need on it or if you have some ideas to improve it . 2011/11/7 Dag-Jarle Johansen : > Hi all of

[Gambas-user] something to do

2011-11-07 Thread Dag-Jarle Johansen
Hi all of you. I am not very happy with my life at this time. I have a lot time to spare, but I am neither a C- nor anything-else-programmer - just VB - old-fashonied. And a little Gambas of course. If I can be any help anywhere, tell me, I would like to help were I can- My favourites are speditio

Re: [Gambas-user] File date (and time) / Gambas2

2011-11-07 Thread Rolf-Werner Eilert
Thank you, Fabien and Bruce, on my Gambas FileInfo is unknown, so I used Stat(...).LastModified That works fine. Rolf Am 04.11.2011 13:45, schrieb Fabien Bodard: > dim hFileinfo as FileInfo > > hFileInfo = Stat(user.home&/ "myfile") > > Print hFileInfo.LastModified > > http://gambasdoc.org/hel

Re: [Gambas-user] GB3 Custom controls

2011-11-07 Thread GMail
On Mon, 2011-11-07 at 11:01 +0100, Fabien Bodard wrote: > well your controls are in the toobar ! in the paddy's hill tab > > > Public Const _Group As String = "Paddys-Hill" > Yes, they are (and on the proper tab) In the demo. But I am asking about how to deploy that "library" so that other pr