May be you have to make Clipboard.Copy() before to Paste?
hth
Simonart
Le 13/04/2013 17:32, Fabien Bodard a écrit :
I don't know...
Le 13 avr. 2013 14:24, Ru Vuott vu...@yahoo.it a écrit :
Thank you Fabien,
but if I want to use clipboard.Paste() Gambas function, after simply
highlighted an
Hi,
With Gambas2 v2.21 it works exactly as you want!
Tested with Label and TextBox
regards
Le 08/03/2011 20:11, k p a écrit :
When doing the following:
TextLabel1.Text = i TextBox1.TextiEQU 0
I expect a string in a text box, which I get.
However the length of the spacing
Hi,
Often I've to write things like that:
With Joueur(0)
If Joueur(2).Nombre(Joueur(2).C1) .Nombre(.C1) Then ...
...
End With
As I already have a With Joueur(0) activated I cannot define
another one for Joueur(2).
It would be nice to have the possibility to define temporary
Alias
Of course you are right!
The Joueur() instances of my class are quite big, but
nowadays the RAM is gigantic!
this is surely a reminiscence of my economy of RAM syndrom
coming from the Amiga's days (512KK)
so, Forget it!
regards
Dominique Simonart
Le 09/01/2011 23:06, Benoît Minisini a
Le 19/11/2010 14:58, Fabien Bodard a écrit :
2010/11/19 Demosthenes Koptsisdemosthen...@gmail.com:
ok!
i was cofused from two things
Hi all,
I tend to get a little confused too!
Are these assumptions correct?
If array notation is on Variable name, array is STATIC
If array notation is on
Le 22/10/2010 16:33, Fabien Bodard a écrit :
2010/10/22 Demosthenes Koptsisdemosthen...@gmail.com:
i use Gambas 2.21 on Ubuntu 10.04.
i test the project at 32bit and 64 bit Pcs and produce the same behavior
(huge executable)
this is the project
Hi,
Just add As ClickEventName
regards
Le 12/05/2010 17:18, craf a écrit :
Hi.
I would like to know how to associate a click event to a button control
created at runtime.
I know the code to create the button is:
Dim myButton as new Button (Fmain)
but what I need is to create the click
not permit me to say more. Please, if
someone could correct me, thanks in advance to do it!
regards,
Dominique Simonart
Le 25/01/2010 00:17, Simonart Dominique a écrit :
Hi,
I've just a crude idea and know nothing more on this subject!
If you assume that each value in your big array is a color
Hi,
I've just a crude idea and know nothing more on this subject!
If you assume that each value in your big array is a color
value instead of an integer, may be you can find some
graphic effect wich simulate your algorithm.
It seems to me that it's like to find an intermediate color
between 2
Hi,
Len() function is based on one-byte character, but some
characters need 2 bytes code, like the german's you mentionned.
Use the String class methods and all will works as you expected
HTH
Dominique Simonart
Norarg a écrit :
hi,
I get a bit strange results from the LEN()-function.
If
Steven James Drinnan a écrit :
As far as I know just one by one. Write one line by one line.
ss[0] = jkl
ss[1] = 9080|
ss[2] = jim
ss[3] = ren
ss[4] = mu8
I may be wrong and others can give there 2 cents worth.
Steven
On Thu, 2009-06-25 at 15:40 -0700, Swee Kwang Tan wrote:
Benoît Minisini a écrit :
Hi,
Gambas 2.12 with QT
I had a prog that worked well in Gambas 2.11 but now it
doesn't work correctly for all the images with transparent
areas.
Here is a very short illustration of the problem
DIM PicSac AS Picture
DIM PicCase AS Object[]
Dim i AS Integer
Benoît Minisini a écrit :
Benoît Minisini a écrit :
Hi,
Gambas 2.12 with QT
I had a prog that worked well in Gambas 2.11 but now it
doesn't work correctly for all the images with transparent
areas.
Here is a very short illustration of the problem
DIM PicSac AS Picture
DIM PicCase AS
Hi,
Gambas 2.12 with QT
I had a prog that worked well in Gambas 2.11 but now it
doesn't work correctly for all the images with transparent
areas.
Here is a very short illustration of the problem
DIM PicSac AS Picture
DIM PicCase AS Object[]
Dim i AS Integer
PicCase.Resize(2)
FOR i = 0 TO 1
jbskaggs a écrit :
I need to know how to either create an object to where I can attach a list of
variables or how to give myself the ability to do the following:
lets say I want to name my special object: ball.
I want to be able to create special properties for that ball I can access
vlahonick vlahonick a écrit :
hello all :D
i am trying to create a program that calculates a number from the binary
numeral system and gives a result
example of what the program will do :
we have the number (at binary numeral system) 10011
so to have result we have to do
vlahonick vlahonick a écrit :
hello all :D
i am trying to create a program that calculates a number from the binary
numeral system and gives a result
example of what the program will do :
we have the number (at binary numeral system) 10011
so to have result we have to do
Ron_1st a écrit :
On Tuesday 14 April 2009, Simonart Dominique wrote:
PUBLIC SUB Button1_Click()
DIM S AS String
DIM i, y, N AS Integer
S = TextArea1.Text
y = Len(S)
if y = 0 THEN RETURN
N = 0
FOR i = 1 to y
d = Val(Mid(S, i, 1)) ' I assume that d is 0 or 1
Hi Doriano,
I agree to everything you wrote.
I thought the same about what you wrote! :)
... Then, recalling to my mind
the way a person shuffles cards by hand, I tried to
express another
algorithm, which in a certain way lets you to adjust the
randomness: a
person can shuffle very
Hi,
jbskaggs a écrit :
Okay I thought this was worked out but its still not working- I always end up
losing the last two list items.
Here is the console output from my print statements:
This first list is printing i, a from this command SWAP myArray[i],
myArray[a]
21 21
20 13
On Wed, Apr 8, 2009 at 00:12, Simonart Dominique
simonart.domini...@wanadoo.fr wrote:
Hi,
jbskaggs a écrit :
Okay,
But why does it do that? I don't see why the direction should matter what
am I missing ? Becuase maybe this is something that has plagued me and
caused me headaches
be any of the non selected values
myArray[199] will never be affected anymore
* i=197 ...
at each step, NEVER you could affect an already selected value
I found the second case more satisfying for my mind! :)
Hope this send your headache away! :)
Dominique Simonart
Simonart Dominique wrote:
Hi
jbskaggs a écrit :
I came up with a way to random sort listview. (Iuse this for random
shuffling card slots on games) But it isnt efficient some pointers if you
dont mind?
I use two listviews one to sort from and one to sort to:
I first copy all the listitems from list 1 to list 2
Simonart Dominique a écrit :
jbskaggs a écrit :
I came up with a way to random sort listview. (Iuse this for random
shuffling card slots on games) But it isnt efficient some pointers if you
dont mind?
I use two listviews one to sort from and one to sort to:
I first copy all the listitems
vlahonick vlahonick a écrit :
hi again...sorry about the delay in my reply :D
but i really didnt understand ur example here
of course now i realise that even the textbox2.text had the reasult i wanted
the problem will
be in the letters appering because of their bytes...
but the main
Marc Miralles a écrit :
Hi all:
Some idea or link about how to compile Gambas 2.12 or Gambas 3 in Fedora 10
In gambas website don't have information about what packages are
necessaries for compile Gambas in Fedora 10 and some components are
disabled when compile in Fedora 10.
Please,
Benoît Minisini a écrit :
Hi,
I've a main Gridview (grdGame) surrounded by 2 other grids, grdHdef on
top and grdVdef on left of grdGame
When the mouse cursor is over the main grid, I want to highlight a
column of the top grid and a row of the left grid facing the cursor
position.
How to
Dominique SIMONART a écrit :
Hi evererybody,
If I code the few lines showed below:
DIM X AS Byte
DIM Texte AS String[64]
X = h2E
X += hE0
TextBox1.Text = Hex(X)
Texte[X] = Hex(X)
I get '10E' displayed. Is this correct for a byte?
If you put a breakpoint on the TextBox1
small (15.4K)
regards
Dominique Simonart
Simonart Dominique a écrit :
Hi Julien,
You are right!
I read your post and I understand the reason,
but you don't speak about Signal 11, so I was thinking for
another problem although similar
regards,
Dominique Simonart
Jussi Lahtinen a écrit
it work on the IDE :(
On Thu, Dec 11, 2008 at 2:23 PM, Simonart Dominique
simonart.domini...@wanadoo.fr wrote:
M0E Lnx a écrit :
I have to say, the array idea makes more sense to me, simply because
otherwise, it'll be hard to tell the next and back buttons which sub
to run.
I have tried an array
Hi,
May be it's me, but ...
in the gambas 2.9 IDE (opensuse 11.0 KDE 3, Qt project),
create a new image1.png file. after drawing something on the
area, select the transparent color and the fill tool then
click on a colored pixel and you enter in infinite loop.
By the way, I search a solution
31 matches
Mail list logo