Re: [Gambas-user] Accessing elements of dynamic control arrays. Not possible outside of creating function? Help please ^_^

2008-11-07 Thread Fabien Bodard
Public MySW as New Object[] PUBLIC SUB btnAdd_Click() Dim hSock as SWSocket hSock = new SWSocket; MySW.Add(hSock) hSock.DoSomeMethod() END PUBLIC SUB Timer_Tick() 'or whatever it is, not important Dim hSock as SWSocket FOR each hSock in MySw hSock.SendData NEXT

[Gambas-user] Highlight Editor - setting background?

2008-11-07 Thread Rolf-Werner Eilert
Just one more question: is it possible to set a background color property for some of the elements such like Editor1.Styles[Highlight.String].Color = Color.DarkRed ^ | -| Is there a BackColor or C

[Gambas-user] Socket cuts out before full page is read.

2008-11-07 Thread Robert Moss
First of all I would like to thank all of you for your efforts ^_^ you have have been a wonderful ally in learning this new language. I am using the socket control to create a local ui to a web interface. I create a request that looks like: GET / HTTP/1.0 Host: www.microsoft.com User-Agent: Mozil

Re: [Gambas-user] Gambas Help - PLEASE - Object Arrays - Need help ASAP

2008-11-07 Thread Robert Moss
OK, //CODE EXAMPLE AT END OF MSG I have a subclass of Socket, Which is a socket, but contains some extra data, so that in the event handler, I have more than just the TAG property to work with. It seems that I cannot have a dynamically sized array. When i try putting: PUBLIC mySW[] as SWSocke

Re: [Gambas-user] skiptaskbar

2008-11-07 Thread Benoit Minisini
On vendredi 7 novembre 2008, Wellington de Souza Pinto wrote: > Hi Benoit! > > I'm have trying send my project to you, but the moderator of list do not > permiss send my attachment. > > Please, is very single my problem! > > Create one project with one form, and this form properts are: > > border =

Re: [Gambas-user] Socket cuts out before full page is read.

2008-11-07 Thread Benoit Minisini
On vendredi 7 novembre 2008, Robert Moss wrote: > First of all I would like to thank all of you for your efforts ^_^ you have > have been a wonderful ally in learning this new language. > > I am using the socket control to create a local ui to a web interface. > I create a request that looks like:

Re: [Gambas-user] Socket cuts out before full page is read.

2008-11-07 Thread Robert Moss
I end my lines with \n but that is not an issue as the remote server is Unix based. I receive part of the page, actually i receive approx 3,465 bytes. And the last few bytes are like > MyClose() 'close and quit > > RETURN "" > > END IF > > LOOP > > i = 0 'reset counter > > > >

Re: [Gambas-user] Socket cuts out before full page is read.

2008-11-07 Thread Robert Moss
i tried using \r\n and nothing positive happened. i got 3440 bytes, 1 more byte than previously (recount showed 3439 bytes, i forgot the debug header) DO WHILE (NOT Eof(ME)) 'This crap isnt working READ #ME, sBuf, Lof(ME) sTotal &= sBuf WAIT 1 'I added this line since last message,

[Gambas-user] Searching a key in the array of gb.settings

2008-11-07 Thread gambas
Hello List, first question: Is the settings-object an array or a collection?? Onlinehelp says: " ...acts like an read, write array" but the syntax for accessing its elements looks like collection. Main-problem: I'm writing a servicemenu which items should be configured through a settingsfil

Re: [Gambas-user] Socket cuts out before full page is read.

2008-11-07 Thread Benoit Minisini
On vendredi 7 novembre 2008, Robert Moss wrote: > i tried using \r\n and nothing positive happened. i got 3440 bytes, 1 more > byte than previously (recount showed 3439 bytes, i forgot the debug header) > > DO WHILE (NOT Eof(ME)) 'This crap isnt working > READ #ME, sBuf, Lof(ME) > sTotal

[Gambas-user] Alternating progressbars

2008-11-07 Thread M0E Lnx
Is there a way to do alternating progressbars in gambas? What I mean is a progressbar that doesn't really display like it does now... but rather shows a little piece of the progressbars and just alternates from left to right

Re: [Gambas-user] Searching a key in the array of gb.settings

2008-11-07 Thread Ron_1st
On Friday 07 November 2008, [EMAIL PROTECTED] wrote: > Accessing a single element this way doesn't work, too: > Print hCFG["Action/sItem"] ...because the quotes masks sItem > > This try gives me a syntax-error > Print hCFG["Action/"sItem] Print hCFG["Action/" & sItem] ??? > > Any ideas?? > > S

[Gambas-user] skiptaskbar

2008-11-07 Thread Wellington de Souza Pinto
Hi Benoit! I'm have trying send my project to you, but the moderator of list do not permiss send my attachment. Please, is very single my problem! Create one project with one form, and this form properts are: border = none mask = true skiptaskbar = true picture = (any picture with transparent p

Re: [Gambas-user] Searching a key in the array of gb.settings

2008-11-07 Thread gambas
Am Freitag, 7. November 2008 17:21:35 schrieb Ron_1st: > Print hCFG["Action/" & sItem] ??? BINGO!!! You're my hero!!! :-))) > > Sorry, if this a stupid question, but I'm still learning all this > > OO-stuff. > > We all had a time tho learn walking on the earth (program in gambas) :) Th

Re: [Gambas-user] Searching a key in the array of gb.settings

2008-11-07 Thread Benoit Minisini
On vendredi 7 novembre 2008, [EMAIL PROTECTED] wrote: > > But one question remains: > Is there a way to do something (say PRINT() ) with each element of the > settings.object without knowing each single key??? > > Greetz > Stevie > No way. Do you need it? -- Benoit Minisini

Re: [Gambas-user] Highlight Editor - highlighting more than 1 line

2008-11-07 Thread Rolf-Werner Eilert
Benoit Minisini schrieb: > On vendredi 7 novembre 2008, Rolf-Werner Eilert wrote: >> Hi folks, >> >> a long time ago, I mentioned this, but Benoit meant it was a matter of >> my code :-) Since I didn't have an opportunity to check it out, I just >> tried it again today. >> >> This is what I found o

[Gambas-user] skiptaskbar

2008-11-07 Thread Wellington de Souza Pinto
Hi Benoit! I'm have trying send my project to you, but the moderator of list do not permiss send my attachment. Please, is very single my problem! Create one project with one form, and this form properts are: border = none mask = true skiptaskbar = true picture = (any picture with transparent p

Re: [Gambas-user] Highlight Editor - highlighting more than 1 line

2008-11-07 Thread Benoit Minisini
On vendredi 7 novembre 2008, Rolf-Werner Eilert wrote: > Hi folks, > > a long time ago, I mentioned this, but Benoit meant it was a matter of > my code :-) Since I didn't have an opportunity to check it out, I just > tried it again today. > > This is what I found out about the example with the web

Re: [Gambas-user] Compilation under Ubuntu 8.10

2008-11-07 Thread Diego Fernández
Fabien Bodard escribió: > an other thing ... don't forget to remove the kde lib from the > compilation as the kde 3 packages are not in the kubuntu repos from > now > > ./Configure -C --enable-kde=false > > > > 2008/11/6 Fabien Bodard <[EMAIL PROTECTED]>: > >> I to all ... >> >> to compile the g

Re: [Gambas-user] Compilation under Ubuntu 8.10

2008-11-07 Thread Ron
Diego Fernández schreef: > Fabien Bodard escribió: > >> an other thing ... don't forget to remove the kde lib from the >> compilation as the kde 3 packages are not in the kubuntu repos from >> now >> >> ./Configure -C --enable-kde=false >> >> >> >> 2008/11/6 Fabien Bodard <[EMAIL PROTECTED]>: >>

Re: [Gambas-user] Socket cuts out before full page is read.

2008-11-07 Thread Doriano Blengino
Robert Moss ha scritto: > I end my lines with \n but that is not an issue as the remote server is Unix > based. I receive part of the page, actually i receive approx 3,465 bytes. > And the last few bytes are like http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___

[Gambas-user] Highlight Editor - highlighting more than 1 line

2008-11-07 Thread Rolf-Werner Eilert
Hi folks, a long time ago, I mentioned this, but Benoit meant it was a matter of my code :-) Since I didn't have an opportunity to check it out, I just tried it again today. This is what I found out about the example with the web site HTML code: Highlight Editor will highlight more than one li

[Gambas-user] Accessing elements of dynamic control arrays. Not possible outside of creating function? Help please ^_^

2008-11-07 Thread Robert Moss
OK, //CODE EXAMPLE AT END OF MSG I have a subclass of Socket, Which is a socket, but contains some extra data, so that in the event handler, I have more than just the TAG property to work with. It seems that I cannot have a dynamically sized array. When i try putting: PUBLIC mySW[] as SWSocke

Re: [Gambas-user] Searching a key in the array of gb.settings

2008-11-07 Thread gambas
Am Freitag, 7. November 2008 17:50:55 schrieb Benoit Minisini: > On vendredi 7 novembre 2008, [EMAIL PROTECTED] wrote: > > But one question remains: > > Is there a way to do something (say PRINT() ) with each element of the > > settings.object without knowing each single key??? > > > > Greetz > > S

[Gambas-user] Values between forms..

2008-11-07 Thread Oscar Cascante Fonseca
Hi, i am new in gambas.. I don't find in the archives any post about how to pass values between forms. Ej: Form1 with a textbox control Form 2 with a button control When you click in Form2.button, the Form1.textbox.text change. Could somebody help me? Thanks.

Re: [Gambas-user] Searching a key in the array of gb.settings

2008-11-07 Thread gambas
The story goes on! :-) I'm on gambas3. Like mentioned in my last post, I try to check if the users choice "sItem" is a valid entry in my array of gb.settings. Print (hCFG["Action/" & sItem]) If (IsObject(hCFG["Action/" & sItem]) = True) Then Print("Found!!!\n") Else

[Gambas-user] Gambas-diskinfo released!

2008-11-07 Thread Demosthenes Koptsis
Hi to all! I wrote my second application in gambas and i like to share it with you! Its name is gambas-diskinfo. This small program shows your mounted hard disks and their partitions in a tree view way. By clicking the disk-partition-tree you get info about disks and partitions. For now supports

Re: [Gambas-user] Alternating progressbars

2008-11-07 Thread birchy
M0E Lnx wrote: > Is there a way to do alternating progressbars in gambas? I also have a need for this kind of progress bar. I guess it could be done with a picture box but then you're writing quite a few lines of code to achieve something fairly trivial. -- View this message in context: http:/

Re: [Gambas-user] Alternating progressbars

2008-11-07 Thread M0E Lnx
I know other GTK applications can do this... Kind of hoping it gets implemented into gambas3 at least if it doesn't make it in Gambas 2 On Fri, Nov 7, 2008 at 2:52 PM, birchy <[EMAIL PROTECTED]> wrote: > > > M0E Lnx wrote: >> Is there a way to do alternating progressbars in gambas? > > I also have

Re: [Gambas-user] Values between forms..

2008-11-07 Thread Doriano Blengino
Oscar Cascante Fonseca ha scritto: > Hi, i am new in gambas.. > > I don't find in the archives any post about how to pass values between > forms. > You have to set project option: "Controls of the forms are public". Then, you can access controls of a form from another form, i.e., in Form2.Butt

Re: [Gambas-user] Searching a key in the array of gb.settings

2008-11-07 Thread Doriano Blengino
[EMAIL PROTECTED] ha scritto: > Am Freitag, 7. November 2008 17:50:55 schrieb Benoit Minisini: > >> On vendredi 7 novembre 2008, [EMAIL PROTECTED] wrote: >> >>> But one question remains: >>> Is there a way to do something (say PRINT() ) with each element of the >>> settings.object without k

Re: [Gambas-user] Values between forms..

2008-11-07 Thread birchy
Doriano Blengino wrote: > You have to set project option: "Controls of the forms are public". I recently discovered this while trying to access Form controls from a class module. Is it possible to make all controls Public by default (like in VB)? -- View this message in context: http://www.nab

[Gambas-user] InputBox with GTK... Terribly Cramped?

2008-11-07 Thread Robert Moss
Running gambas 2.8, GTK project. When I create an input box, the textbox is about 2 characters wide, the OK and Cancel buttons are stacked right on top of each other, the prompt is squished in the top left corner, and the title gets cut off: eg: --- | This is my t... [x]|

[Gambas-user] Weird Characters in output files. ^X ^Q ^T etc.

2008-11-07 Thread Robert Moss
Hi, Sorry to bug you again, once I get this down i'll be able to help you tackle this mailing list ^_^ I open up a stream like so: Dim fh as File dim myObj as MyObject fh = Open FileName as OUTPUT CREATE for each myObj in MyGroup WRITE #fh, myObj.Name & ":" & str(myObj.Count) & ":" & str(myObj

Re: [Gambas-user] Weird Characters in output files. ^X ^Q ^T etc.

2008-11-07 Thread Benoit Minisini
On samedi 8 novembre 2008, Robert Moss wrote: > Hi, Sorry to bug you again, once I get this down i'll be able to help you > tackle this mailing list ^_^ > I open up a stream like so: > > Dim fh as File > dim myObj as MyObject > > fh = Open FileName as OUTPUT CREATE > > for each myObj in MyGroup >

Re: [Gambas-user] Highlight Editor - setting background?

2008-11-07 Thread Benoit Minisini
On vendredi 7 novembre 2008, Rolf-Werner Eilert wrote: > Just one more question: is it possible to set a background color > property for some of the elements such like > > Editor1.Styles[Highlight.String].Color = Color.DarkRed > ^ > > --

[Gambas-user] Fedora 9 has 2.9

2008-11-07 Thread Steven Drinnan
Just for your info gambas is now in the fedora repos. Just thought you may want to know. Steven - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with

Re: [Gambas-user] Values between forms..

2008-11-07 Thread Doriano Blengino
birchy ha scritto: > Doriano Blengino wrote: > >> You have to set project option: "Controls of the forms are public". >> > > I recently discovered this while trying to access Form controls from a class > module. Is it possible to make all controls Public by default (like in VB)? > I neve