What you want to do is a loop.
For example.
say this is a class file. And all your pictureboxes are already in objPboxes
private objPboxes as object[]
PUBLIC SUB Set_Pictures()
DIM pb as picturebox
for each pb in objPboxes
pb.picture = "/path/to/picture"
next
END
This sounds like a good idea, and I would support it if there were people
interested.
I tried something similar @ our vectorlinux forums where I offered to help
anyone as much as I could get on the road with gambas.
Did not pick up a whole lot of interested people, as I remember, only 2 people
But there has to be a way to do this using gambas objects, at least I would
imagine.
Of couse, I could use external commands to to get the results I want.
Like curl -G
store the output in a string or string[] and work my way off of there.
but I was kind of hoping there was a way to do this inte
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
Even after feeding it user name and passwords, the peek() method returns nothing
--
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/l
True... It's impossible to catch all of them. Not all developers stick to the
standards.. I understand.
FWIW, I've stated a class that takes the 2 strings and then splits them at the
separator (".") After that it analizes each object in the array and determines
which one of the two arguments is
Yeah... and like I said, this works, but
I'm not dealing with my own version numbering here... I'm trying to analize all
versioning schemes if at all possible.
I guess I could split the version string into an array and figure out manually
from there... But I was kind of hoping not to do that. ;
The replace(".","") thing works, but it rus into problems with you get to
something like 1.3b vs 1.3c
Some developers have a different way of numbering their releases.
--
___
G
I need a way to logically analize version numbers in gambas.
For instance, I have a list of available versions of the same program, let's
say the list is
1.2
1.4
1.6
1.10
1.16
1.20
1.35
1.5
1.3
1.1
These are of course in no particular order. A human knows that out of all of
these, version 1.35
But it's not even reporting an authentication error... It doesn't even try to
connect.
All I need it to do is to get me something like the result of "curl -G
ftp://ftp.some.ftp.site.com/";
--
Apps built with the Adobe(R
So i've decided to try out the network component in gambas.
I'm trying to get a listing of the contents of an FTP URL
so I'm using a FTPclient object.
I've set it's .URL
and since it's anon access, I figured I'd leave the user and pass properties
empty.
>From what I read in the documentation, I
I Just noticed when I added a tabstrip to my form, when the form loads I see
this output on the terminal
(speedy:14712): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate
widget with width -5 and height 0
This appears to be related to the tabstrip only. If I remove the tabstrip fr
12 matches
Mail list logo