file first, and open
it
in
gambas3. i'm wating for ur solutions for my project. thanks.
http://old.nabble.com/file/p30510255/TACAMCCTVrev2.rar
TACAMCCTVrev2.rar
Jussi Lahtinen wrote:
Project -- Make -- Source archive
And put the script in that tar ball also.
Jussi
? Week(Date(2005, 7, 24))
30
Calendar says 29, however this doesn't seem to be this simple...
See end of this page, section 'weeks', week number options.
http://www.timeanddate.com/calendar/custommenu.html?year=2005country=9wno=5holm=1df=1
Seems that there are several ways how week numbers are
How did I missed them...
Jussi
2010/12/22 Benoît Minisini gam...@users.sourceforge.net
? Week(Date(2005, 7, 24))
30
Calendar says 29, however this doesn't seem to be this simple...
See end of this page, section 'weeks', week number options.
Very similar problem...
Public Const LowestInteger As Integer = -2147483648
Yields; Out of range
Gambas 3 rev 3389 @ Ubuntu 10.10
Jussi
2010/11/27 Benoît Minisini gam...@users.sourceforge.net
In Gambas2, I get a type mismatch error...but no error if ends in a 7
PUBLIC CONST
I was wondering if some (definitely not all!) of IsXXX functions should have
different names, example SafeForXXX or similar?
That would describe their new functionality better.
Example, IsNull really tells if value Is Null or not (so IsNull is good
name), but IsFloat tells only if value is safe to
Also that would prevent mix up with IsXXX functions when moving from Gambas
2 to 3.
Jussi
On Tue, Dec 21, 2010 at 19:18, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
I was wondering if some (definitely not all!) of IsXXX functions should
have different names, example SafeForXXX or similar
Jussi Lahtinen wrote:
It is easier to help if you send your whole project.
I can't see any handling for CatProcess.
Jussi
On Sat, Dec 18, 2010 at 02:11, firman firman@gmail.com wrote:
I Almost done my project about monitoring camera using webcam with
gambas
3
Hi!
I don't quite understand how this should work...
IsDate(Now) returns False, and IsDate(Str(Now)) returns True.
I don't understand why IsXXX functions accept anything else than string.
Help window says 'IsDate(Value As Variant) As Boolean' and below it it
continues 'IsDate( String ) As
Question still valid, but I think there is problem with localization.
? IsDate(Cstr(Now))
False
? IsDate(Str(Now))
True
Jussi
On Mon, Dec 20, 2010 at 21:00, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
Hi!
I don't quite understand how this should work...
IsDate(Now) returns False
The wiki has been recently updated, but your IDE only update its
documentation
cache once a week.
Is there way to force IDE to update cache? To wish list?
But, I'm still not sure I quite understand. If IsDate() takes only string,
why I don't get Type mismatch: wanted string got date
Hi!
Is this correct;
? IsFloat(123)
False
123 should be safe value for float, even if it can be stored to integer.
With consistent logic IsLong(1) should answer False, so I think this is
bug.
Gambas 3 rev 3384 @ Ubuntu 10.10 64bit
Jussi
$ echo $LANG
en_GB.utf8
$ echo $LC_ALL
So, LC_ALL doesn't seem to contain anything.
Jussi
2010/12/19 Benoît Minisini gam...@users.sourceforge.net
Also this:
$ gbx3 -e 'IsInteger(12 + 5.4)'
Gives; True
What LANG=C exactly does?
Jussi
It tells programs to run with the C
Hi!
With Gambas 3 revision 3361 @ Ubuntu 10.04 64bit,
IsNumber(False) returns False.
Is this new behaviour correct?
Jussi
--
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your
IsNumber(Value As Variant) As Boolean...
Then why variant?
Jussi
2010/12/13 Benoît Minisini gam...@users.sourceforge.net
Hi!
With Gambas 3 revision 3361 @ Ubuntu 10.04 64bit,
IsNumber(False) returns False.
Is this new behaviour correct?
Jussi
Yes. Now IsNumber() takes a string
PRINT Bin(-9):; Bin(-9)
PRINT Bin(Lsl(-9, 1)):; Bin(Lsl(-9, 1))
PRINT Bin(Lsr(-9, 1)):; Bin(Lsr(-9, 1))
Bin(-9)
:0111
Bin(Lsl(-9,1)):11101110
Argh... no.
Try this:
? bin(Lsr(-9,1),32)
0011
Jussi
On Sat, Nov 20, 2010 at 17:55, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
PRINT Bin(-9):; Bin(-9)
PRINT Bin(Lsl(-9, 1)):; Bin(Lsl(-9, 1))
PRINT Bin(Lsr(-9, 1)):; Bin(Lsr(-9, 1))
Bin(-9
because lsr processes 32 bits of the short -9 and not 64 bits of the
long binary number?
Yes, -9 is considered as short.
Try:
? bin(lsr(clng(-9),1), 64)
0011
Jussi
But then I don't understand why Finally exist...
At least that test function is equal without it.
Is there proper usage for it, or is it for historical etc reasons?
Finally exists so that you can have some code that is always executed at
the
end of the function, even if there was an
More errors fixed from GambasTester, and now self test ignores comment
lines.
Jussi
On Mon, Nov 15, 2010 at 23:02, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
OK, these are not the errors I meant... These are obviously my errors.
I fixed Format$ to be compared against Str$().
There might
But then I don't understand why Finally exist...
At least that test function is equal without it.
Is there proper usage for it, or is it for historical etc reasons?
BTW. You didn't get errors from any date commands?
Nor crash from line 1038 of mTest?
I'll send logs about that crash later.
Jussi
Hi!
My quickdirty side project for Gambas 3 is now ready to be share.
It makes some seemingly stupid and some, actually stupid tests, to confirm
that current revision works.
It is far from perfect, but better than nothing.
I hope people keep on improving this. There are still few untested commands
OK, these are not the errors I meant... These are obviously my errors.
I fixed Format$ to be compared against Str$().
There might be other similar errors too...
Jussi
2010/11/15 Benoît Minisini gam...@users.sourceforge.net
If Format$(Pi, #.##) 3.14 Then
Return 85
Endif
this test
More...
? Week(07/24/2005)
30
Should be 29.
Jussi
On Sat, Nov 13, 2010 at 19:36, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
More...
Dim TestSingle As Single
Dim pp As Pointer
TestSingle = 33.1
pp = VarPtr(TestSingle)
SinglePtr(pp) = 33.1 is False! Gives -2...
Jussi
TestErrorManagment(iWhich As Integer) As Integer
Dim iError As Integer
If iWhich = 1 Then
iError = 1 / 0
Else
iError = 20
Endif
Finally
Inc iError
Return iError
Catch
iError = 3
End
Jussi
On Sun, Nov 14, 2010 at 15:02, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
More...
? Week(07/24/2005
More...
Dim TestSingle As Single
Dim pp As Pointer
TestSingle = 33.1
pp = VarPtr(TestSingle)
SinglePtr(pp) = 33.1 is False! Gives -2...
Jussi
On Fri, Nov 12, 2010 at 23:44, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
I'll send my whole project to you later.
According
I will look at the log, but I don't understand what you did *exactly* to
get
the crash.
That is why I wrote elusive... I can't figure out what exactly causes this
crash.
But copypaste this to IDE console;
? bin(rol(1073741784+ shl(9,2) + shr(24,3),X ),32)
Then replace X with some random
, so this is seems to be precision problem.
Is this OK?
Jussi
On Fri, Nov 12, 2010 at 17:18, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
I will look at the log, but I don't understand what you did *exactly* to
get
the crash.
That is why I wrote elusive... I can't figure out what exactly
I'll send my whole project to you later.
According to documentation this should yield True.
? IsBlank( \\t)
I got always False...
BTW. I'll check all math functions against wolfram|Alpha,
so sometimes I'm not sure where to put limit of acceptable accuracy.
Jussi
2010/11/12 Benoît Minisini
I'll send my whole project to you later.
According to documentation this should yield True.
? IsBlank( \\t)
I got always False...
It's a typo mistake. Read: IsBlank( \t)
OK.
BTW. I'll check all math functions against wolfram|Alpha,
so sometimes I'm not sure where to put limit
There is other similar bug or non-convinient feature.
IF NOT 1 = 2 THEN
PRINT This is never printed
ENDIF
IF NOT 1 = 1 THEN
PRINT This is also never printed
ENDIF
IF NOT (1 = 2) THEN
PRINT This however works
ENDIF
Tested with Gambas 2.21 and with Gambas 3 rev 3281.
@ Ubuntu 10.04 64bit
Jussi
OK, makes sense.
Though there should be warning in documentation (to NOT section and to
Differences From Visual Basic).
And maybe compiler warning?
Jussi
2010/11/10 Benoît Minisini gam...@users.sourceforge.net
There is other similar bug or non-convinient feature.
IF NOT 1 = 2 THEN
Sorry about nitpicking... but modulo, integer division, addition,
subtraction are operators.
MOD, %, DIV, + , - are called operator symbols, or just symbols.
Jussi
On Tue, Nov 9, 2010 at 14:05, user demosthen...@gmail.com wrote:
In my opinion that is correct choice.
Because if you remove
same line.
Jussi
On Fri, Oct 15, 2010 at 18:01, Jussi Lahtinen
jussi.lahti...@gmail.comwrote:
Hi!
Way to reproduce the problem:
1. Open search window
2. type some word for search
3. click browse
4. press arrow key to right or left
Reason:
If gvwFind is not in focus
I'm not sure I understand right... but.
You probably want to download whole source of development version.
Read from here what you need and how to compile:
http://gambas.sourceforge.net/en/download.html
http://gambasdoc.org/help/install?viewen
Jussi
On Fri, Nov 5, 2010 at 16:38, Daniel Vanhee
Hi!
I'm writing backup script that excludes gambas executable, but exclude
option doesn't make difference between .gambas folder and *.gambas files.
So, what is .gambas folder for? For debugging symbols?
Jussi
--
Achieve
Ok, so no need to back up them, thanks!
Jussi
2010/11/3 Benoît Minisini gam...@users.sourceforge.net
Hi!
I'm writing backup script that excludes gambas executable, but exclude
option doesn't make difference between .gambas folder and *.gambas files.
So, what is .gambas folder for? For
Class:
*''This is test variable*
*Public* Test *As* Integer *''This is test variable*
*''This is test variable*
Form:
*Public Sub *Form_Open*()*
*Dim* aa *As New* Class1
aa*.* --- When I write this far, I expect to see This is test variable
in help window, instead of No help found..
*End*
Source attached, if needed for some reason.
Jussi
On Tue, Nov 2, 2010 at 19:49, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
Class:
*''This is test variable*
*Public* Test *As* Integer *''This is test variable*
*''This is test variable*
Form:
*Public Sub *Form_Open*()*
*Dim* aa
wrote:
Well i don't know why your are using a picture to draw on a drawing
area... but i suspect there a a reason to that :)
it work well for me. on the same revision on ubuntu 10.10 64
2010/10/25 Jussi Lahtinen jussi.lahti...@gmail.com:
Hmmm I don't understand. I don't need alpha mask
Hi!
See attachments.
Gambas3 rev 3268 @ Ubuntu 10.04 64bit
Jussi
DrawingAreaBug-0.0.1.tar.gz
Description: GNU Zip compressed data
attachment: Screenshot-DrawingAreaBug.png--
Nokia and ATT present the 2010 Calling All
I tried to add line (tmp is picture):
tmp.Fill(Color.Transparent)
But result is not much better, all I get is white background, not
transparent.
Jussi
2010/10/25 Benoît Minisini gam...@users.sourceforge.net
Hi!
See attachments.
Gambas3 rev 3268 @ Ubuntu 10.04 64bit
Jussi
This is
Hmmm I don't understand. I don't need alpha mask, just transparent mask.
I need to draw completely opaque text on picture (and arrow).
Jussi
2010/10/25 Benoît Minisini gam...@users.sourceforge.net
I tried to add line (tmp is picture):
tmp.Fill(Color.Transparent)
But result is not
Some distributions seems to have beep command also.
If so, then SHELL beep.
Jussi
2010/10/19 Benoît Minisini gam...@users.sourceforge.net
SHELL echo -e \\\007\ /dev/tty10
I think I got that from this forum.
bbb888 wrote:
Pretty simple?
How can I make the computer go beep
Dim MyForm as New SomeForm
MyForm.MyVariable1 = Something
MyForm.MyVariable2 = SomethingElse
...
MyFrom.Showmodal()
Jussi
On Mon, Oct 18, 2010 at 17:21, Biro Zoltan office.zol...@gmail.com wrote:
HI,
Can I make forms with parameters passed from the main form?
Normally I use the form
I think this is good idea.
Or maybe Ctrl + F should have flip-flop behaviour to hide/show search
window.
Jussi
On Sat, Oct 16, 2010 at 13:20, Ron r...@cyberjunky.nl wrote:
I find the behavior of the new search/replace window in Gambas3 a bit
annoying sorry.
Either it's to small and not
test as someclass
test.somevariabl...
2010/10/14 Jussi Lahtinen jussi.lahti...@gmail.com:
Help line feature seems not to work correctly with recent revision.
If I type:
Dim test as someclass
test.somevariabl... I always get No help found.
Gambas 3 rev 3265 @Ubuntu 10.04 64bit
Hi!
Way to reproduce the problem:
1. Open search window
2. type some word for search
3. click browse
4. press arrow key to right or left
Reason:
If gvwFind is not in focus, it has no current row, ie gvwFind.Row = -1.
Crash when;
hFind = $aBrowse[gvwFind.Row]
@ Public Sub gvwFind_Select()
gvwFind.Column = 2 would be more convenient as search string can be found
multiple times from same line.
Jussi
On Fri, Oct 15, 2010 at 18:01, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
Hi!
Way to reproduce the problem:
1. Open search window
2. type some word for search
3. click browse
http://gambasdoc.org/help/doc/distro?enview
Jussi
On Thu, Oct 14, 2010 at 13:04, user demosthen...@gmail.com wrote:
Hi,
i wander if it is possible to run Gambas projects to mobiles with
symbian S60 like nokia mobiles?
Help line feature seems not to work correctly with recent revision.
If I type:
Dim test as someclass
test.somevariabl... I always get No help found.
Gambas 3 rev 3265 @Ubuntu 10.04 64bit
Jussi
--
Beautiful is writing
I have used these commands to clear old installation.
*sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3
/usr/local/bin/gbi3
sudo rm -rf /usr/local/lib/gambas3
sudo rm -rf /usr/local/share/gambas3*
In fact I have this on script for compiling Gambas:
*#!/bin/sh
sudo rm -f
Maybe you mix up Jussi and Jason...
I posted this just as a tip.
Jussi
2010/10/8 Benoît Minisini gam...@users.sourceforge.net
I have used these commands to clear old installation.
*sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3
/usr/local/bin/gbi3
sudo rm -rf
I recompiled Gambas2 and it still doesn't work.
So, I run this project with gdb and I find something very worrying.
I edited that project so that line;
*hProcess = SHELL su -c 'ls /root' FOR INPUT OUTPUT*
is now:
*hProcess = SHELL sudo whoami FOR INPUT OUTPUT*
~/Desktop/su$ gbc2 -agpmt
!!?
Jussi
On Tue, Oct 5, 2010 at 20:34, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
I recompiled Gambas2 and it still doesn't work.
So, I run this project with gdb and I find something very worrying.
I edited that project so that line;
*hProcess = SHELL su -c 'ls /root' FOR INPUT OUTPUT
NewTextBox.SetFocus() ?
Jussi
On Mon, Oct 4, 2010 at 15:55, Biro Zoltan office.zol...@gmail.com wrote:
Thank you very much Johny!
BUT!
I can evaluate the key pressed with keypress event, but I cannot make
the cursor to leave this textbox and to move to the next textbox.
My example:
I looked your example just for interest.
It doesn't seem to work with Ubuntu 10.04 64bit.
There are two issues, maybe something with my system...
This is first time I used *su* (normally I use sudo) on this computer, and
it doesn't work...
*su -c 'whoami'*
gives;
*su: Authentication failure*
from gambas System error. Bad file descriptor.
Error is given from line:
*PRINT #hProcess, TextBox1.Text*
Jussi
On Sun, Oct 3, 2010 at 18:18, Stefano Palmeri rospolo...@tiscali.it wrote:
Il domenica 3 ottobre 2010 15:04:15 Jussi Lahtinen ha scritto:
I looked your example just for interest
It is attached to first mail from Stefano.
Jussi
2010/10/3 Benoît Minisini gam...@users.sourceforge.net
Il domenica 3 ottobre 2010 18:46:38 Jussi Lahtinen ha scritto:
No, with Ubuntu 10.04 it does not work.
Textbox.Text is , because shell is executed before textbox is even
shown
OK, here it is.
Jussi
2010/10/3 Benoît Minisini gam...@users.sourceforge.net
It is attached to first mail from Stefano.
Jussi
I didn't receive the first mail from Stefano, strange...
--
Benoît Minisini
Works as excepted, no surprises here.
Problem is how to make shell wait for input.
Jussi
Please, try the following code and tell us if it works for you:
PRIVATE $hprocess AS Process
PUBLIC SUB Form_Open()
DIM pwd AS String
pwd = InputBox(Type your root password, Root privileges needed)
Hi!
I spotted these lines from svn log:
[INTERPRETER]
* NEW: The READ instruction can read arrays and collections with
'AS Object' as well as 'AS Variant'.
[INTERPRETER]
* NEW: WRITE and READ instructions can handle collections and arrays. Call
that serialization.
Can you give me example
Or use shell with date +%s.
Jussi
2010/9/27 Benoît Minisini gam...@users.sourceforge.net
Hi Benoit,
I have just a question about the possibility to convert in Gambas v2 a
variable in format Date to a value of this date in number of seconds like
in Unix command ?
In my projet i
Never seen that problem... can you send project source to demonstrate this
problem?
Jussi
2010/9/22 Phạm Quang Dương soleil...@gmail.com
I know that this question is basic. But when I try this from Form1
Form2.OpenDialog()
or
Form2.OpenModal()
Some controls on Form2 doesn't work
I didn't notice that there is new revision.
Today I tested rev 3233, and it worked correctly.
Thanks!
Jussi
2010/9/22 Benoît Minisini gam...@users.sourceforge.net
Way to reproduce bug.
1. Open any project.
2. Write line that has no other instance in that project.
3. Search that line
Hi!
I just noticed some behaviour of message.question.
If you hit ESC or close it (x), it answers always last button index.
Example message.question(?,a,b) would answer 2.
Nothing wrong with that, I just wasn't aware of it, and now I have to change
those all.
But replace feature doesn't work
Way to reproduce bug.
1. Open any project.
2. Write line that has no other instance in that project.
3. Search that line with browse feature.
4. Delete that line.
5. Move search window.
Result, IDE crashes:
This application has raised as unexpected error and must abort.
[21] Out of bounds
Colorbutton bug confirmed with Gambas 3 rev 3199, Ubuntu 10.04 64bit.
Only GTK+ is affected.
Jussi
On Fri, Sep 17, 2010 at 17:27, craf p...@vtr.net wrote:
-Mensaje original-
De: craf p...@vtr.net
Reply-to: mailing list for gambas users
gambas-user@lists.sourceforge.net
Para:
Z means set of integers...
Jussi
On Fri, Sep 17, 2010 at 09:33, Rolf-Werner Eilert
eilert-sprac...@t-online.de wrote:
http://old.nabble.com/Ideas4Gambas-to28782834.html
What does the Z stand for?
A = {Z; x -3; x 5} =~ {-2,-1,0,1,2,3,4}
Just because I'm interested in the syntax ;-)
Nice, just learned this! Very useful!
Is it possible to do multi lined help lines?
Now they are concatenated without newlines:
''Line1
''Line2
--
Line1 Line2
Jussi
On Tue, Sep 14, 2010 at 18:03, Fabien Bodard gambas...@gmail.com wrote:
hum... there is a way to document you class in code with
Instead of ./configure try ./configure -C.
Jussi
On Thu, Sep 9, 2010 at 18:30, Daniel Rojas lord@gmail.com wrote:
Hi all, I'm tryinh to compile gamba3, revision 3203. I do this:
$ mkdir gambas3
$ cd gambas3
$ mkdir trunk
$ svn checkout
don't know. My PC is a little old, and it can't run a newer version
of
Ubuntu.
:-(
Daniel Quintero desde la Ciudad de México
On Thu, Sep 9, 2010 at 1:35 PM, Jussi Lahtinen jussi.lahti...@gmail.com
wrote:
Instead of ./configure try ./configure -C.
Jussi
On Thu, Sep 9, 2010 at 18
(./configure -C) output.txt 21
Jussi
On Fri, Sep 10, 2010 at 00:22, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
I think you should send whole output of ./configure -C.
Jussi
On Thu, Sep 9, 2010 at 23:51, Daniel Rojas lord@gmail.com wrote:
Hi Jussi, I try the solution that you
Out.txt rejected as too big, so new try...
Jussi
On Wed, Sep 8, 2010 at 15:31, Jussi Lahtinen jussi.lahti...@gmail.comwrote:
Here:
warning: unable to load Qt translation: en_GB.utf8
Stock.AddPath.80: gnome:/usr/share/icons/Human/2x2!1
Stock.AddPath.80: gnome:/usr/share/icons/Tangerine/2x2
No change...
Jussi
2010/9/8 Benoît Minisini gam...@users.sourceforge.net
Out.txt rejected as too big, so new try...
Jussi
Thanks.
Is it better with the very last revision?
--
Benoît Minisini
--
This
I tested your code with Gambas 3 revision 3119 @ Ubuntu 10.04 64bit.
And I couldn't reproduce the problem.
FText.form doesn't lost focus after error message.
However TextBox1 on it does, but that is correct behaviour
(TextBox1.SetFocus is commented out).
Jussi
On Tue, Sep 7, 2010 at 21:59,
Strange icons, see attachment.
Gambas 3 revision 3196 @ Ubuntu 10.04.
Jussi
On Tue, Sep 7, 2010 at 20:38, Fabien Bodard gambas...@gmail.com wrote:
so it need to work ... try the last revision please
2010/9/7 craf p...@vtr.net:
-Mensaje original-
De: Fabien Bodard
OK, doesn't matter, I'll do it other way.
Thanks for trying!
Jussi
2010/9/4 Benoît Minisini gam...@users.sourceforge.net:
On 26/08/10 03:30, Jussi Lahtinen wrote:
Hi!
I would like to have TimeLeft property to timer object.
It is only missing thing which forces me to write my own delay
If you forget to specify the Name part, your object will never raise events!
http://gambasdoc.org/help/lang/new
Jussi
On Fri, Sep 3, 2010 at 09:49, Reynaldi Jansen reynaldi.jan...@gmail.com wrote:
Hello again.
I have a form and textarea with tabstrip as parent...
Then i create
True, maybe Benoit means twins in English!
Jussi
On Thu, Sep 2, 2010 at 00:19, Dag Jarle Johansen
dag.jarle.johan...@norarg.com wrote:
Hola, Benoit.
this is no mail because of things not happening - this is a mail of
admiretance,
I was a little silent in the last months, because I have to
Hi!
I would like to have TimeLeft property to timer object.
It is only missing thing which forces me to write my own delay function.
So, nothing very important, but if this is easy to implement...
Jussi
--
Sell apps to
This time I would use it with trayicon (mouse over) to inform user about
when next event is going to occur.
There was an other reason long time ago when I needed that... I just
couldn't remember.
I wonder if it was something more general...
Jussi
2010/8/25 Benoît Minisini
I have noticed it with Ubuntu also.
I use Parcellite clipboard manager, I'm not sure if it matters.
That bug is rare and I have not figured out how to reproduce it.
Jussi
On Tue, Aug 24, 2010 at 00:51, richard terry rte...@pacific.net.au wrote:
On Tuesday 24 August 2010 01:03:43 Benoît
I tested it with same revision of Gambas, @ Ubuntu 10.04 64bit, and I
couldn't reproduce the problem.
Jussi
On Mon, Aug 23, 2010 at 12:30, Gaël Le Hec'H gael.leh...@gmail.com wrote:
hi,
I extracted the form from my project and put in a blank project. If I
do any modification and try to save,
Yes, I modified startup, now there is 10s delay before starting gbr2.
And everything works.
Maybe I should write function to check if desktop panel is started or not.
BTW. Does anyone know why sleep 10 gbr2 ... doesn't work?
It works in terminal, but in System -- Preferences -- Startup
Hi!
TrayIcon seems to work perfectly,
until program that uses it, is started at startup of OS.
Program is started with following command;
gbr2 /home/MyName/ProgramsName.gambas
Program has following code:
PUBLIC Kuvake AS NEW TrayIcon AS TrayIkoni
PUBLIC SUB Form_Open()
Kuvake.Picture =
.ShowModal() = 666 Then
Form2 = New FForm2
Form2.ShowModal()
Endif
End
At least this workaround works with revision 3117.
Jussi
On Sun, Aug 15, 2010 at 01:18, Jussi Lahtinen jussi.lahti...@gmail.com wrote:
Unfortunately not entirely.
Invalid object from next showmodal form invoke.
See
Yes, after I wrote my mail, I figured it may be the case.
Problem is that my program is oriented to module.
It invokes forms when needed and shows with them what
happens inside of module.
Project I'm working on is big, old and messy. It is ported from vb6.
Now I'm trying to make code more clear,
Because of messiness, that program could do anything weird
(clarification is not ready yet).
Problem occurs when program is closing.
Here:
==4946== Memcheck, a memory error detector
==4946== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al.
==4946== Using Valgrind-3.6.0.SVN-Debian
Everything seems to work correctly now.
Thanks!
Jussi
2010/8/15 Benoît Minisini gam...@users.sourceforge.net:
Because of messiness, that program could do anything weird
(clarification is not ready yet).
Problem occurs when program is closing.
Here:
==4946== Memcheck, a memory error
Hi!
I had error in way I calculated position in array, and it revealed
error in it's handling.
Way to reproduce problem:
Private aa As New Integer[]
Public Sub Form_Open()
aa.Fill(1, -1, 1)
End
gdb outputs:
(gdb) run
Starting program: /usr/local/bin/gbx3 -p
[Thread debugging using libthread_db
Hi!
If form is invoked with ShowModal in certain situation it prevents
form to close -- hang.
See attached project.
Gambas 3 revision 3109 @ Ubuntu 10.04 64bit
Jussi
FormTest-0.0.1.tar.gz
Description: GNU Zip compressed data
Works correctly now.
Jussi
2010/8/14 Benoît Minisini gam...@users.sourceforge.net:
Hi!
I had error in way I calculated position in array, and it revealed
error in it's handling.
Way to reproduce problem:
Private aa As New Integer[]
Public Sub Form_Open()
aa.Fill(1, -1, 1)
End
gdb
Unfortunately not entirely.
Invalid object from next showmodal form invoke.
See attached project.
Jussi
2010/8/15 Benoît Minisini gam...@users.sourceforge.net:
Hi!
If form is invoked with ShowModal in certain situation it prevents
form to close -- hang.
See attached project.
Gambas 3
There is probably more efficient ways, but quick and dirty...
Here:
DIM background AS Image = Image.Load(kuva1.jpg)
DIM bg2 AS Image
DIM f AS Float
DIM ii AS Integer
DIM jj AS Integer
ii = background.Width / 2
jj = background.Height / 2
FOR f = 0 TO 6.2831853 STEP 0.01
What? Is there any other ways to hide file/folder in Linux?
Jussi
On Sun, Jul 25, 2010 at 15:53, Fabien Bodard gambas...@gmail.com wrote:
it's not because the directory is hidden that you are not allowed to
see and modify the sources... in fact in reallity the directory is not
hidden but
Please elaborate.
You have noticed bug in textarea component?
What is your gambas version and operating system?
Are you using GTK+ or Qt?
Jussi
On Tue, Jun 29, 2010 at 23:35, Pablo Ontivero pa...@lanzate.com wrote:
Hello, the question is, when i try to print the output of the process on a
Yes, but how can I detect a binary file?
I'm not sure what would be easy way to do it.
Gedit gives following error message from binary files:
gedit has not been able to detect the character encoding.
Please check that you are not trying to open a binary file.
Select a character encoding
Yes, quick and dirty, not good way, but it works.
What was the question..?
Jussi
On Wed, Jun 30, 2010 at 19:26, Ron r...@cyberjunky.nl wrote:
With 'file' command
This e-mail is sent from my Google phone.
Kind regards,
Ron.
On Jun 30, 2010 6:02 PM, Benoît Minisini
You wrote app fails, how? In what way?
There is more than 255 instances on that list, but not on textarea?
Crash?
Jussi
On Wed, Jun 30, 2010 at 20:41, Pablo Ontivero pa...@lanzate.com wrote:
Well, my system is Ubuntu 10.04, the version of gambas is the last release
version on Ubuntu repo
I guess what I'm suggesting is that within the same searchbox that pops up
when you search a module, it has an option of 'search globally', and that then
- F3 would just move to the next occurrence in the project, not just continue
going and look for everything.
I think that is good idea.
1301 - 1400 of 1623 matches
Mail list logo