Re: [Gambas-user] Dynamic Controls / Grid?

2008-06-26 Thread Nate-37
Thanks Moe, I'll definitely take a look at the function you listed below. I still wonder what function/code is called for VPanels, HPanels, etc. when they arrange their controls auto-magically. I would like to see if there's anyone else that knows what magical code is called when a form starts u

[Gambas-user] gstlibs on gambas!

2008-06-26 Thread Pietro Di Costanzo
Hi to all! After spending much time understanding the extern and pointers functionality under gambas i've made a little app based on the gstreamer libraries. The application can play audio/video files (with the video embedded in the application), play-pause-stop them and has seeking functionality

Re: [Gambas-user] Dynamic Controls / Grid?

2008-06-26 Thread M0E Lnx
Ah!... then whad you need my friend is a way to determine each components width and move the rest of them accordingly Take a look at this function that I have written and use a lot. PUBLIC SUB get_object_width(sText AS String) AS Integer DIM iRetVal AS Integer DIM fvirtfrm AS Form DIM dat

Re: [Gambas-user] Dynamic Controls / Grid?

2008-06-26 Thread Nate-37
> Do you really mean (3) objects for each search result? Yes, I need 3 objects for each result. My problem is not with creating the objects, it's being able to view them. I would like an easy way to make the objects visible. Currently I can only see the first checkbox that's created. The othe

Re: [Gambas-user] Dynamic Controls / Grid?

2008-06-26 Thread M0E Lnx
Do you really mean (3) objects for each search result? In case you do, You can do it like this. Put the results in an array then run trhough the array creating the stuff like this PUBLIC SUB DYNAMIC_OBJECTS() DIM sResults as string '(this is the raw list of results) DIM sRes as string[] DIM i as

Re: [Gambas-user] Dynamic Controls / Grid?

2008-06-26 Thread Nate-37
Here's an update: I can only get one new dynamic control to show up when I add controls to a VPanel in my code. Here's my code (Inside a button_Click event), and I have a VPanel called "vpResults" DIM cb AS NEW CheckBox(vpResults) cb.Show The first checkbox shows up, but new checkboxes are jus

[Gambas-user] Dynamic Controls / Grid?

2008-06-26 Thread Nate-37
Hello, I would like to be able to create a Label, a Textbox and a Checkbox for a variable number of records. I'm not dealing with a database, I'm dealing with search results. So, if I find 3 search results, I would like to create a Label, a Textbox and a Checkbox for each search result like so:

Re: [Gambas-user] How to make your gambas project compile using autoconf tools

2008-06-26 Thread M0E Lnx
Benoit is correct, what I'm looking for is a way of intalling to an alternate location For instance, when make install is ran, I want to say make install DESTDIR=$PWD/PKG The result of this would be a new tree crated in $PWD/PKG that mirrors what would have been created in / at install We use thi

Re: [Gambas-user] How to make your gambas project compile using autoconf tools

2008-06-26 Thread Benoit Minisini
On jeudi 26 juin 2008, Laurent Carlier wrote: > Le Thursday 26 June 2008 11:40:23 Benoit Minisini, vous avez écrit : > > On jeudi 26 juin 2008, Laurent Carlier wrote: > > > Le Thursday 26 June 2008 02:04:20 Benoit Minisini, vous avez écrit : > > > > On dimanche 22 juin 2008, M0E Lnx wrote: > > > >

Re: [Gambas-user] How to make your gambas project compile using autoconf tools

2008-06-26 Thread Laurent Carlier
Le Thursday 26 June 2008 11:40:23 Benoit Minisini, vous avez écrit : > On jeudi 26 juin 2008, Laurent Carlier wrote: > > Le Thursday 26 June 2008 02:04:20 Benoit Minisini, vous avez écrit : > > > On dimanche 22 juin 2008, M0E Lnx wrote: > > > > How about making make install support the DESTDIR argu

Re: [Gambas-user] Setfocus issue

2008-06-26 Thread Ron
Benoit Minisini schreef: > On jeudi 26 juin 2008, Ron wrote: > >> Benoit Minisini schreef: >> >>> On mercredi 25 juin 2008, Ron wrote: >>> Hi, I have a window with 2 Textboxes I want to give focus to TextBox2 upon loading of the form, if I open the form as a norma

Re: [Gambas-user] How to make your gambas project compile using autoconf tools

2008-06-26 Thread Benoit Minisini
On jeudi 26 juin 2008, Laurent Carlier wrote: > Le Thursday 26 June 2008 02:04:20 Benoit Minisini, vous avez écrit : > > On dimanche 22 juin 2008, M0E Lnx wrote: > > > How about making make install support the DESTDIR argument? > > > > It should not be too complex to implement... > > This one ? htt

Re: [Gambas-user] How to make your gambas project compile using autoconf tools

2008-06-26 Thread Laurent Carlier
Le Thursday 26 June 2008 11:24:45 Laurent Carlier, vous avez écrit : > Le Thursday 26 June 2008 02:04:20 Benoit Minisini, vous avez écrit : > > On dimanche 22 juin 2008, M0E Lnx wrote: > > > How about making make install support the DESTDIR argument? > > > > It should not be too complex to implemen

Re: [Gambas-user] How to make your gambas project compile using autoconf tools

2008-06-26 Thread Laurent Carlier
Le Thursday 26 June 2008 02:04:20 Benoit Minisini, vous avez écrit : > On dimanche 22 juin 2008, M0E Lnx wrote: > > How about making make install support the DESTDIR argument? > > It should not be too complex to implement... This one ? http://www.gnu.org/prep/standards/html_node/DESTDIR.html Does

Re: [Gambas-user] Setfocus issue

2008-06-26 Thread Benoit Minisini
On jeudi 26 juin 2008, Ron wrote: > Benoit Minisini schreef: > > On mercredi 25 juin 2008, Ron wrote: > >> Hi, > >> > >> I have a window with 2 Textboxes I want to give focus to TextBox2 upon > >> loading of the form, if I open the form as a normal window, it's ok. > >> Textbox2 gets the focus. > >

Re: [Gambas-user] Setfocus issue

2008-06-26 Thread Ron
Benoit Minisini schreef: > On mercredi 25 juin 2008, Ron wrote: > >> Hi, >> >> I have a window with 2 Textboxes I want to give focus to TextBox2 upon >> loading of the form, if I open the form as a normal window, it's ok. >> Textbox2 gets the focus. >> If I load the form on a workspace, TextBox2

Re: [Gambas-user] Problem implementing events _inside_ a class

2008-06-26 Thread Patrik Karlsson
2008/6/26 Benoit Minisini <[EMAIL PROTECTED]>: > The first question is: why do you need to catch MouseDown events inside > CDiceBoard class? Well, I want do do some action, that must always execute for every instance of the class, without having to do the code for every object. > Anyway, events a