Hi Hamish
Not really sure what you mean, but..
you need to open the file, find the position "Depends:" change the text
until position "Description" and save it.
There are many possibilities to do it with Gambas, look at the help (open,
input, read, print and so on).
A solution could also be to m
Hi,
Great, it works
Thanks a lot for your fast and helpful response!
Regards,
Ron_2nd
> What I do in a case like this is... first... assign a label to button
> instances..
> Also, add a .tag property to each one of them (this helps adress them
> individually if you need to)
>
> Take a look a
What I do in a case like this is... first... assign a label to button
instances..
Also, add a .tag property to each one of them (this helps adress them
individually if you need to)
Take a look as this
hbutton = new Button(FControl) as "ControlBtn"
WITH hButton
.x = 200
.y = iYy
.text = rDevice!nam
Hi,
I have to create number of buttons at runtime, (from a database) this
works with this for example:
hButton = NEW Button(FControl)
WITH hButton
.X = 200
.Y = iYy
.Text = rDevice!name
.height = 40
.width = 130
END WITH
B
I use WRITE a lot and was confused at the beginning.
There are two different methods...
WRITE #hfile, "Stuff"'This writes 7 bytes to file <2 Byte length> + 'Stuff'
WRITE #hfile, "Stuff",5 'This writes 5 bytes to file 'Stuff' with nothing
extra.
If you do not have the length, then the 2 byte
One small suggestion;
When you edit a form, specially the code below it, when you switch to
another form to edit, and you go back to the previous form, you end up
in the GUI editor of that form, instead of the code window you where before.
Is it possible to remember this, and go directly back
Werner wrote:
> It is true, understanding a ColumnView is not so easy. There are so
> many parameters.
> I have included a mockup JukeBox application with 2 columnviews where
> data is copied between 2 columnviews; sorting and a few other things.
> Maybe it helps.
>
> Especially, the subroutine
Hi guys,
I'm making a metapackage creator script in gambas and need some help
manipulating text.
I have a txt file like this...
Package: barry
Version: 1.0
Section: unknown
Priority: optional
Maintainer: Superdeb! <[EMAIL PROTECTED]>
Architecture: i386
Depends: ckermit_211-8ubuntu1, libsocksd_1.1
Seems that using ColumnView1.Item.MoveFirst do something...
but really, i can't understand how this control works.
It is true, understanding a ColumnView is not so easy. There are so many
parameters.
I have included a mockup JukeBox application with 2 columnviews where
data is copied betw
Jacky wrote:
> Le Tuesday 26 August 2008 13:45:36 Fox, vous avez écrit :
>
>> Jacky wrote:
>>
>>> Columnview.MoveFirst
>>> REPEAT
>>> Columnview.Item.Selected = TRUE
>>> 'here that you want to do with each data, Columnview.Item[1],
>>> Columnview.Item[2], Columnview.item[3] etc.
Jacky wrote:
> Le Tuesday 26 August 2008 05:04:37 Stephen Bungay, vous avez écrit :
>>Having a bit of trouble loading an SVG file here's the bit that's
>> failing
>>
>> PUBLIC hImage AS Image
>>
>> PUBLIC SUB Button1_Click()
>>hImage = SVG.Load("/home/bungayst/Graphics/SVGFiles/Test
Le Tuesday 26 August 2008 13:45:36 Fox, vous avez écrit :
> Jacky wrote:
> > Columnview.MoveFirst
> > REPEAT
> > Columnview.Item.Selected = TRUE
> > 'here that you want to do with each data, Columnview.Item[1],
> > Columnview.Item[2], Columnview.item[3] etc...
> >
> > UNTIL Columnvi
On Tuesday 26 August 2008 07:17, Mike wrote:
> How do I save a text file without extra chars at the start of the file.
> If I save with the following code there is one extra char added to the
> start of the file.
> WRITE #hfile, "Stuff"
> If I use a very long string I get two chars added at the sta
Jacky wrote:
>
>
> Columnview.MoveFirst
> REPEAT
> Columnview.Item.Selected = TRUE
> 'here that you want to do with each data, Columnview.Item[1],
> Columnview.Item[2], Columnview.item[3] etc...
>
> UNTIL Columnview.Movenext()
>
Movenext is not documented,(it exist?)
bu
Hi all
How do I save a text file without extra chars at the start of the file.
If I save with the following code there is one extra char added to the start
of the file.
Hfile = OPEN "/home/mike/cmrmsg.txt" FOR WRITE CREATE
WRITE #hfile, "Stuff"
CLOSE #hfile
If I use a very long strin
Le Tuesday 26 August 2008 12:08:18 Fox, vous avez écrit :
> Werner wrote:
> > to traverse trough the items of a ColumnView you could do this:
> > CVmycv.MoveFirst
> > WHILE CVmycv.Available
> > Print CVmycv.Item.Key 'or whatever else you want to do here
> > CVmycv.MoveNext
> > WEND
> >
> >
> > bu
Werner wrote:
> to traverse trough the items of a ColumnView you could do this:
> CVmycv.MoveFirst
> WHILE CVmycv.Available
> Print CVmycv.Item.Key 'or whatever else you want to do here
> CVmycv.MoveNext
> WEND
>
>
> but I don't understand what you actually want to do.
>
Suppose that I have
Fox wrote:
> Fox wrote:
>
>> ...
>>
>> CVmycv.MoveFirst
>> FOR i = 0 TO CVmycv.Count - 1
>>
>> S_0 = CVmycv.Item[0]
>> S_1 = CVmycv.Item[1]
>> S_2 = CVmycv.Item[2]
>> S_3 = CVmycv.Item[3]
>> S_4 = CVmycv.Item[4]
>> S_5 = CVmycv.Item[5]
>> FMain.CV_addi
Fox wrote:
> ...
>
> CVmycv.MoveFirst
> FOR i = 0 TO CVmycv.Count - 1
>
> S_0 = CVmycv.Item[0]
> S_1 = CVmycv.Item[1]
> S_2 = CVmycv.Item[2]
> S_3 = CVmycv.Item[3]
> S_4 = CVmycv.Item[4]
> S_5 = CVmycv.Item[5]
> FMain.CV_additems(S_0, S_1, S_2, S_3, S_4,
I'm sorry but I'm getting crazy with a Columnview
I can add items without any problem
But now I want to store data so I must read from Columnview and manage
the data.
...
CVmycv.MoveFirst
FOR i = 0 TO CVmycv.Count - 1
S_0 = CVmycv.Item[0]
S_1 = CVmycv.Item[1]
S_
I'm sorry but I'm getting crazy with a Columnview
I can add items without any problem
But now I want to store data so I must read from Columnview and manage
the data.
...
CVmycv.MoveFirst
FOR i = 0 TO CVmycv.Count - 1
S_0 = CVmycv.Item[0]
S_1 = CVmycv.Item[1]
S_2 = CVmycv.It
About combobox, we are talking about this control a little time ago.
There is a big difference from QT and GTK combobox.
Gtk combobox have trouble to manage long lists, try to fill with many
items, it make load for time and also you have trouble to search what
you need.
QT combobox is not fast,
22 matches
Mail list logo