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
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
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
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
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 =
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:
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
> >
> >
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,
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
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
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
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
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
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
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
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
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
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
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
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]>:
>>
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=/
___
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
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
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
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.
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
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
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:/
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
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
[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
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
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]|
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
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
>
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
> ^
>
> --
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
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
38 matches
Mail list logo