Re: [Gambas-user] Dynamic objects

2009-03-26 Thread Rodney Rundstrom
Thanks I now can dynamically create object not sure where the me in Textbox(me) come from but it all works well -Original Message- From: M0E Lnx [mailto:m0e@gmail.com] Sent: Wednesday, 25 March 2009 2:03 a.m. To: mailing list for gambas users Subject: Re: [Gambas-user] Dynamic object

Re: [Gambas-user] Problem with gambas..

2009-03-26 Thread richard terry
On Fri, 27 Mar 2009 02:13:27 pm Carlos Humberto Llumiquinga Hidalgo wrote: > Hi Dimitris... the folder exist.. and the spell is correctly... that was > the first what I checked.. > By the way it's not empty... > > 2009/3/26 Dimitris Anogiatis > > > You either are trying to delete a folder that doe

Re: [Gambas-user] Problem with gambas..

2009-03-26 Thread Carlos Humberto Llumiquinga Hidalgo
Hi Dimitris... the folder exist.. and the spell is correctly... that was the first what I checked.. By the way it's not empty... 2009/3/26 Dimitris Anogiatis > You either are trying to delete a folder that doesn't exist or it exists > but > you didn't spell it correctly > > try the isDIR functio

Re: [Gambas-user] Problem with gambas..

2009-03-26 Thread Dimitris Anogiatis
You either are trying to delete a folder that doesn't exist or it exists but you didn't spell it correctly try the isDIR function to determine if the folder you're looking exists indeed Documentation for the isDIR function is located here: http://gambasdoc.org/help/lang/isdir?v3 Hope that helps.

[Gambas-user] Problem with gambas..

2009-03-26 Thread Carlos Humberto Llumiquinga Hidalgo
Hi all I have a problem with a code on gambas.. I'm trying.. this code.. EXEC ["rm", application.Path & "/imagenes/*.*"] ... just I wanna erase the content of images folder. But I got an error.. on console... rm: can't erase «/home/carlosh/Prueba/imagenes/*.*»: File don't exists Help Please

Re: [Gambas-user] Slow Gridview creation

2009-03-26 Thread Jesus Guardon
Thanks for reply, but still not clear... Your example only draws a grid with empty cells. I can't figure out how to fill the grid with a database result object, even with a simple array. Please, open my eyes!! :-(( Jesus Fabien Bodard escribió: > in fact jesus , you don't feel the grid, > the

Re: [Gambas-user] Unable to change valuebox contents after selecting record from combobox

2009-03-26 Thread charlesg
Hi Until your post I was not aware of valuebox at all! After looking at the documentation I am not sure I am much the wiser.:-(( Valuebox is a specialisation of a textbox to allow for formatted input. I think it is easier, in your case, to use textboxes and control your own formatting with form

Re: [Gambas-user] Sdl.sound and Qt dependencies not satisfiable

2009-03-26 Thread jbskaggs
I checked the Deban contents and theses are the components listed below: I do not see gambas2-gb-sdl-sound gambas2 Complete visual development environment for Gambas gambas2-dev Gambas compilation tools gambas2-doc Gambas documentation gambas2-gb-chart The Gambas charting compone

[Gambas-user] PB using tableview object

2009-03-26 Thread Olivier Cruilles
Hi, I'm trying to use the Tableview object in a project and I have 2 Columns configured. I have configured the TableView to be able to edit each Cell in the right column and lock the left Column but in real, by using the key, in edition mode, I can always acces to the left Column that is l

[Gambas-user] Floodfill / pie chart

2009-03-26 Thread Jussi Lahtinen
Hi! I need pie chart in my application, and I have old vb6 code that does what I need, but it is based on floodfill. Do Gambas have any equivalent function? Or alternatively, method to draw filled sectors? I'm using Gambas3. Thanks! Jussi

Re: [Gambas-user] analyzing version numbers in gambas

2009-03-26 Thread M0E.lnx
I get this when I run this code 1.1 1.1 1.16 1.2 1.2 1.3 1.35 1.4 1.5 1.6 Notice how it's listing "1.1" and "1.2" twice, this is because of the entries "1.1" and "1.10" These would in fact need to be different I guess there really is no easy way other than splitting each version string into an

Re: [Gambas-user] Unable to change valuebox contents after selecting record from combobox

2009-03-26 Thread CelticBhoy
This is the code I have used to assign the values to the valuebox's :- PUBLIC SUB Amend_Change() DIM iRef AS Integer iRef = ItemName.Index PackSize = PSize[iRef] SalesDiv.Value = SDiv[iRef] StockOnHand.Value = SOnHand[iRef] ItemCost1.Value = ICost1[iRef] ItemCost2.Value = ICost2[iR

Re: [Gambas-user] analyzing version numbers in gambas

2009-03-26 Thread Fabien Bodard
Dim arf As New Float[] Dim f As Float Dim s As String For Each s In Split("1.2,1.4,1.6,1.10,1.16,1.20,1.35,1.5,1.3,1.1") arf.add(s) Next arf.Sort For Each f In arf Print f Next Regards, Fabien Bodard --

Re: [Gambas-user] Slow Gridview creation

2009-03-26 Thread Fabien Bodard
in fact jesus , you don't feel the grid, the grid just call the visible cells content via the event. dim myarray[16000,16000] public sub _New() gridview1.Rows.Count = 16000 gridView1.Columns.Count = 16000 end public sub gridview1_data(row as integer, column as integer) gridview1.data.t

Re: [Gambas-user] Slow Gridview creation

2009-03-26 Thread Jesus Guardon
Hi all I'm trying to implement the Data event handler, but I cannot understand the way it must be done. I am locked out, sorry for my awkwardness. Can anyone provide a basic working example? I need to fill a gridview with 16000+ rows. Thanks in advance! Jesús Benoit Minisini escribió: > > Y

[Gambas-user] Unable to change valuebox contents after selecting record from combobox

2009-03-26 Thread CelticBhoy
I am new to Gambas & am having a small problem with a simple stock control program. When th program starts a file is read and each record is loaded and broken down and the element values are assigned to separate arrays, a combobox is loaded with the names of the stock items. On my form when runnin

Re: [Gambas-user] operator precedence

2009-03-26 Thread Benoît Minisini
> hi > something is changed lately (gambas2-1916)? > > ' Gambas module file > > PUBLIC SUB Main() > > DIM a AS Integer = 1 > DIM b AS Integer = 2 > DIM r AS Integer > > r = TRUE > PRINT NOT a, r > r = a > b > PRINT r > r = NOT a > b > PRINT r > r = NOT (a > b) > PRINT r > > END > > seems the not op

[Gambas-user] operator precedence

2009-03-26 Thread o.s.p
hi something is changed lately (gambas2-1916)? ' Gambas module file PUBLIC SUB Main() DIM a AS Integer = 1 DIM b AS Integer = 2 DIM r AS Integer r = TRUE PRINT NOT a, r r = a > b PRINT r r = NOT a > b PRINT r r = NOT (a > b) PRINT r END seems the not operator comes before the > evaluation...

Re: [Gambas-user] Sdl.sound and Qt dependencies not satisfiable

2009-03-26 Thread Benoît Minisini
> I have discovered that Gambas2 for ubuntu does not have a > gambas2-gb-sdl-sound package like the other distros. > > BUT I can install my program with dpkg -i and it works fine and accesses > the sdl.sound drivers okay. > > Although the Ubuntu system keeps pointing out that my program package is