Ooops,
Correction
on the second example it should read
countMyTreeItems = Treeview1.Count("item2", true)
Sorry guys it's a bit late over here
Regards
Dimitris
On Tue, Jan 26, 2010 at 12:49 AM, Dimitris Anogiatis wrote:
> Benoît,
>
> Perhaps another approach would be to get rid of the Count pr
Benoît,
Perhaps another approach would be to get rid of the Count property and
create a Count method that would count the children of a
given root in the control (and optionally all it's branches).
for example
/ (root)
item1
item2--item3
|-item4
|-item5
|-item6
item7
The
On 26 January 2010 12:44, Dimitris Anogiatis wrote:
> Benoît,
>
> Just for that you should go with the GTK+ way :P
Just for that, he should go with however Windows does it.
Neener! Neener!
:)
--
The Planet: dedicated a
2010/1/26 Benoît Minisini :
>> Benoît,
>>
>> Just for that you should go with the GTK+ way :P
>>
>> Regards,
>> Dimitris
>>
>
> But is it really useful? We need to know how many root items a TreeView or a
> ColumnView has, too!
Perhaps a new property. However, when I need to know such things, I
wr
If I right click on Modules (in the left hand tree) and select properties
(with no modules available) Gambas closes it current session.
Not a major, but.
Ubuntu 9.10 64 bit.
Kim
--
View this message in context:
http://old.nabble.com/V2.19-closes-unexpectedly-tp27318860p27318860.html
Sent from
> Benoît,
>
> Just for that you should go with the GTK+ way :P
>
> Regards,
> Dimitris
>
But is it really useful? We need to know how many root items a TreeView or a
ColumnView has, too!
--
Benoît Minisini
--
The Pl
> Demosthene,
>
> The way I got my picturebox to work is this
>
> PictureBox1.Picture =
> Picture.Load("/usr/share/pixmaps/wicd/wicd-client.png")
>
> so if you could try changing your code to this:
>
> ...
Yes, Picture[...] actually loads the picture into an internal cache that is
never autom
From this list on 1/18/2010:
> Don't worry about gb.qte. Nobody uses it, and it has been removed in
> Gambas 3. Regards,
> -- Benoît Minisini
So I guess, don't worry about it. :-)
Bill Richman - Lincoln, Nebraska
Tilter at windmills, maker of pies in the sky, & curmudgeon
email: b...@geektrap
Benoît,
Just for that you should go with the GTK+ way :P
Regards,
Dimitris
On Mon, Jan 25, 2010 at 5:59 PM, Kadaitcha Man <
nospam.nospam.nos...@gmail.com> wrote:
> 2010/1/26 Benoît Minisini :
>
> > But now I can't decide.
>
> Go with the logic! Go with the logic!
>
>
>
Demosthene,
The way I got my picturebox to work is this
PictureBox1.Picture =
Picture.Load("/usr/share/pixmaps/wicd/wicd-client.png")
so if you could try changing your code to this:
'
Wow that must be a first in a programming language, as most don't even
bother. It's something that I always had a bug bear about. But have
never had the time to implement this sort of sort on my programs.
Great work, it this sort of functionality that has made Gambas great.
Steven Drinnan
On Mon
Hi,
i try to install Gambas2 on Ubuntu 9.10
i got Gambas from svn
i installed all packages according to
http://gambas.sourceforge.net/en/main.html with
sudo apt-get install build-essential autoconf libbz2-dev libfbclient2
libmysqlclient15-dev unixodbc-dev libpq-dev libsqlite0-dev
libsqlite3-dev
2010/1/26 Benoît Minisini :
> But now I can't decide.
Go with the logic! Go with the logic!
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best ne
Hi i have a PictureBox and load a picture a.png
delete a.png
copy b.png as a.png to same place
load the new a.png (which is b.png only name is same as before)
but PictureBox keeps the old image the first a.png!
what am i doing wrong?
try this code
PUBLIC SUB Button1_Click()
DIM s1 AS String
I updated rev 2640 . thanks it fixed .
Benoît Minisini wrote:
>
>> 2. click on a test table you will see no records on records view . double
>> click on the records view you will get exception . this exception only
>> happen if no record . if there's a record then the exception won't come
>>
I just updated with rev 2640 . this problem still happen . when I click to
close the tab for db manager , it close whole ide . no error show up . this
problem only happen for db manager . the source or form tab is ok.
is there a way for me to trace ?
Benoît Minisini wrote:
>
>> 1. after you
the double quote is a habit for indicate value is string .
if the double quote is not needed anymore shouldn't there be a warning when
a user try to enter a double or single quote?
Benoît Minisini wrote:
>
>> I found another problem with the db manager .
>>
>> when I set the default value
Hi Benoit,
Thank you for this great new, I need exactly this kind of sort possibility, but
in Gambas 2.xx...
I'll wait for the stable Gambas 3.
Le 25 janv. 2010 à 20:16, Benoît Minisini a écrit :
> Hi,
>
> I have implemented string natural comparison and sorting in the last Gambas 3
> revis
Hi,
I have implemented string natural comparison and sorting in the last Gambas 3
revision.
With that, you can, for example, sort a file name array returned by Dir() that
way:
Photo1.jpg Photo1a.jpg Photo1b.jpg Photo2.jpg ... Photo9.jpg Photo10.jpg
Photo11.jpg
Instead of:
> Salut Benoît,
>
> talking gambas2
>
> the question is: why a component uses itself as component ?
> The reason why I ask that, in our DBReport project, I set as component
> and as requires all gb.db.* components, what was a mistake, or say more
> kindly, not necessary.
>
> But it was not easy
Hi,
It's possible to create a file with only zero inside simply by this command if
you want:
dd if=/dev/zero of=file_to_create bs=1k count=8388608
Olivier Cruilles
Mail: linu...@club-internet.fr
Le 25 janv. 2010 à 10:47, Doriano Blengino a écrit :
>
> Doriano Blengino ha scritto:
>>
>> The
Salut Benoît,
talking gambas2
the question is: why a component uses itself as component ?
The reason why I ask that, in our DBReport project, I set as component
and as requires all gb.db.* components, what was a mistake, or say more
kindly, not necessary.
But it was not easy to strip them, requ
> Hi everybody,
> I'm still here beacuse I can't understand why the Count property of a
> TreeView changes using qt rather than gtk.
> Now I'm using Gambas 2.19 (on Ubuntu 9.10) from the ppa repo deb
> http://ppa.launchpad.net/madnessmike/gambas/ubuntu karmic main.
>
> I've attached a project exam
Hi everybody,
I'm still here beacuse I can't understand why the Count property of a
TreeView changes using qt rather than gtk.
Now I'm using Gambas 2.19 (on Ubuntu 9.10) from the ppa repo deb
http://ppa.launchpad.net/madnessmike/gambas/ubuntu karmic main.
I've attached a project example.
Usin
> I can't seem to figure out how to do this. I downloaded the "tabbing"
> example project someone posted a while back (with text boxes you can tab
> between) and it works fine. In my DataSource container, though, hitting
> tab in a DataControl just inserts a tab (or a bunch of spaces - not sure
>
Hi,
May be I've to elaborate a little bit?
I see the process like this:
1) you transpose each cell of your initial array to a pixel
of a picture where the coordinates of the pixel is equal to
the coordinate of the cell and the grey color of the pixel
is equal to the elevation in the cell
2) yo
> Hello everybody,
> i have a problem with the function Music.Pause.
>
> I use Gambas 2.19 on ubuntu 9.10 and i develop an application for listen
> music.
> I use the following components:
> gb - gb.form - gb.gtk - gb.sdl.sound - gb.setting
> The problem is that when i use the function in object t
> 2. cannot add /modify /delete the records in a table. if no records in the
> table and I click on the view , I get exception and gb3 terminate . the add
> button always disable and the delete button is not working.
>
In revision #2638, you can now create and remove records. The DataView contro
> I'm having a little trouble figuring out how to get the iconview control
> to behave as I would like. The "grid spacing" property seems to adjust
> the horizontal distance between the icons, but is there any way to
> change the vertical spacing between the icons and the text, and between
> seque
Robi,
To compress and insert new content.xml into your "Document.ods Template" you
can do this:
EXEC ["zip", "-gj", odsTemplate, YourModifiedcontent.xml] WAIT
Your system need to be installed zip utility on before (on ubuntu: sudo
apt-get install zip)
I got something like you need but not equal
Doriano Blengino ha scritto:
>
> The subroutine could look something like this:
>
> sub square_diamond(left, right, top, bottom as integer)
>
> step = (right+left) / 2
>
SORRY: step = (right - left) / 2
Urgh...
Regards,
Doriano
kevinfishburne ha scritto:
> Doriano Blengino wrote:
>
>> Read carefully the documentation about the WRITE instruction - in the
>> first few lines you find the explanation. When you write something out,
>> you can specify the length of the data you write. If you don't specify
>> it, gambas wi
32 matches
Mail list logo