Hi,
did anyone happen to code a twitter client (cli or gui) in gambas using
oauth?
Regards,
Ron.
--
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
tabMytabs.Index = 0 is what you use to select first tab, .Index = 1
second etc...
tabMyTabs.Setfocus
Regards,
Ron_2nd.
> Hello all,
>
> 1) I search in docs a property of tabistrib that make active a tabistrib
> tab.
>
> All that i want to do is to Click a button btnOk and set the first tab
> of
There are also scanners which are just USB HID devices, so they function as
extra input device, just do setfocus on an textlabel input field and scan.
See here for the barcode scan code I once made (for fun)...
http://www.domotiga.nl/browser/trunk/DomotiGa/FBarcodes.class#L1
http://www.domotiga.nl
I find the behavior of the new search/replace window in Gambas3 a bit
annoying sorry.
Either it's to small and not easy to enlarge by just clicking a button, or
it's to big and covers the code you where searching for.
I suggest to add a behavior, that if you double click a line in the search
resu
You have the same issue with title propery of forms.
On Nov 14, 2010 2:19 PM, "Demosthenes Koptsis"
wrote:
> Nope, none of them works.
>
> On Sun, 2010-11-14 at 12:06 +0100, Benoît Minisini wrote:
>> > On gambas2-2.21-svn3289
>> >
>> > Message.Info("&")
>> >
>> > is not working!
>> >
>> > Message
ot;Loading " & "&" & " starting")
>
> Message.Info("&")
>
> Maybe there was something changed in the following svn updates?
>
>
>
> Am 14.11.2010 14:26, schrieb Ron:
>> You have the same issue with title propery of fo
Strange, this simply works here:
' Gambas class file
PUBLIC SUB Form_Open()
END
PUBLIC SUB Form_Activate()
DIM Checksum AS String
ME.Mouse = Mouse.Wait
Application.Busy = TRUE
SHELL "ls -lR" TO checksum
Application.Busy = FALSE
ME.Mouse = Mouse.DEFAULT
'PRINT checksum
On 24-11-2010 12:08, Benoît Minisini wrote:
> Hi,
>
> I'm currently thinking about modifying/removing all Is() functions in
> Gambas 3.
>
> They mainly test the datatype of their expression. So, either the datatype is
> known at compile time, and there should be no need of testing it ; either y
On 24-11-2010 12:09, Benoît Minisini wrote:
>> Hi,
>>
>> Heres how i "fixed" it, hope it is the right way to display a "wait" cursor
>> while a process executes.
>>
>> -
>> FMain.Mouse = Mouse.Wait
>> WAIT
>> Application.Busy = 1
>>
>> SHELL "sha512sum lenny.iso" TO actualSU
On 24-11-2010 12:28, Benoît Minisini wrote:
>> On 24-11-2010 12:08, Benoît Minisini wrote:
>>> Hi,
>>>
>>> I'm currently thinking about modifying/removing all Is() functions in
>>> Gambas 3.
>>>
>>> They mainly test the datatype of their expression. So, either the
>>> datatype is known at compi
Benoit,
all those changes are great!
There is one big problem porting my big gambas2 project to gambas3 and
keep it uptodate. (I have to maintain them next to eachother for a
while)
I cannot use diff or my favorite tool Meld diff viewer, to keep up
with the changes to my project, simply because
>>> Mail.module:IF IsString(Main.GlobalVar["Minute"]) THEN
>>> Main.GlobalVar["Minute"] = Val(Main.GlobalVar["Minute"])
>> Just seems to be checks to see if the variant value from that collection
>> isn't empty, to prevent errors.
> So use 'Not IsNull()' instead.
>
I get when I do If Not IsN
Don't want to bash, but why are CLng and CSng removed/replaced by
CLong and CSingle and CStr is still there / not replaced by CString?
I see some "vb logics" creeping in... same as marking text in insert
and normal mode in IDE i wrote about...
Back in the Gambas2 version it was so logical and coo
2010/11/30 Benoît Minisini :
>> Don't want to bash, but why are CLng and CSng removed/replaced by
>> CLong and CSingle and CStr is still there / not replaced by CString?
>>
>
> They were not replaced, I just removed some abbreviations. But I admit it maye
> be stupid, as it just takes memory in the
ss, this is the default Ubuntu type theme.
>>
> No, it's a bug in Qt or in the font you use. It happens sometimes. You should
> use another font!
>
> Regards,
But it's the default font/theme for Ubuntu 10.4... I didn't change a
think about the theme.
It looks hor
Yes we did apparently...
>>>
>>> Look at the attached screenshot..
>>> I marked -with my mouse- all the full lines of text you see in there
>>> except the last one "Main.ControlLed("EIB", "On")
>>>
>>> The last letters of "byte" are not back colored purple, even though I
>>> have selected them.
>>>
Syntax has changed in Gb3. See here for my Gambas2-Gambas3 scrapbook notes..
http://www.domotiga.nl/wiki/Gambas/Gambas3#UdpSocketSyntaxChange
Happy porting!...
Regards,
Ron_2nd.
On Sun, Dec 12, 2010 at 12:42 AM, Kevin Fishburne
wrote:
>
> Code looks like this:
> ' General declarations.
>
I use the Tag properties in async network code.
So I know when a call ends to which event it belongs.
See here for an example:
http://www.domotiga.nl/browser/trunk/DomotiGa/Ping.module#L67
http://www.domotiga.nl/browser/trunk/DomotiGa/Ping.module#L98
Not all objects have a Tag property, for examp
This seem to be a common error.
Since the Gambas3 IDE knows that your forms are still version 2 (because
it says so on the first line of the form file) why not check for this
after project load and ask the user to convert them?
Regards,
Ron_2nd.
> have you converted your forms ? menu>tools>
>
Not clear why you want to wait exactly, but another way is not to wait
but to continue when process is finished.
AntiVirRun_Kill() is called when process is finished.
So you can do other things in meantime (like parsing _Read) and call
the code to run from _Kill to continue.
See here for some cod
Do I miss something here?
I have several server sockets on several ports for years in Gambas2...
Regards,
Ron_2nd.
2010/12/28 Benoît Minisini :
>> > >
>> > > That is not the issue, you can do that, but they all use the same
>> > > socket_read sub. Or I my missing something here?
>> >
>> > Hem,
Hi,
I'm trying to implement some sort of basic scripting with the use of
Eval() inside my project.
It works for a lot of math, formatting and comparison commands and works
quite nicely.
But I need the IF THEN to work too.
IIf ( Test AS Boolean , TrueExpression , FalseExpression ,
FalseExpres
On 5-1-2011 10:23, Benoît Minisini wrote:
>> Hi,
>>
>> I'm trying to implement some sort of basic scripting with the use of
>> Eval() inside my project.
>>
>> It works for a lot of math, formatting and comparison commands and works
>> quite nicely.
>>
>> But I need the IF THEN to work too.
>>
>> II
Yes,
would be more clear if you always had both version links displayed, one
selected (the displayed one) and one clickable, the other.
> i had the same question some time ago.
>
> But actually later in an email i read that this is for change to other
> version of documents.
>
> so when you are
On Jan 20, 2011 8:59 PM, "John Spikowski" wrote:
>
> Gambas Developer Team,
>
> I used svn and downloaded the trunk and ran ./reconf-all. I have
> installed 3.0 Gambas as a sub-directory in my /home/jrs/gambas-dev/trunk
> and ready to build Gambas 3.0. Before I get started I have a few
> questions
When compiling a project which has syntax errors I don't get a pop msg
anymore telling what is wrong, it just jump to line with the error and
displays the error in the status bar of main project.
If you blink you eyes you miss them, because it's only displayed 2 seconds.
Is this a bug, or changed
When you have a project where not all form are converted from 2.0 yet,
there is no way to get it going anymore, since the menu option to
convert forms isn't there anymore.
And i cannot find any substitute to do that.
So i'm stuck again porting my project...
Any solution?
Regards,
Ron_2nd.
---
Yes i have, but i copy parts of my project, im keeping a 2 and gambas 3
version.
Now i cant copy updated forms anymore and choose update.
Can we just keep that menu optio too?
---
Regards,
Ron.
On Jan 23, 2011 5:36 PM, "Benoît Minisini&qu
Ok will do and let you know, if it works ok i dont have do merge updates
myself, so it's better in the end!
---
Regards,
Ron.
On Jan 23, 2011 6:35 PM, "Benoît Minisini"
wrote:
>> Yes i have, but i copy parts of my project, im keeping a 2 and gambas 3
>> version.
>&
On 23-1-2011 18:39, Benoît Minisini wrote:
>>> Yes i have, but i copy parts of my project, im keeping a 2 and gambas 3
>>> version.
>>> Now i cant copy updated forms anymore and choose update.
>>>
>>> Can we just keep that menu optio too?
>>&
e.377
...
...
Line 377 contains:
TRY READ #hRFXComTX, bTemp
?? I don't get it..
gambas2, build yesterday, gb.qt, maveric,k 32 bits.
Regards,
Ron.
--
What You Don't Know About Data Connectivity CAN Hurt You
This pa
Its in the stable repos code then.
Because i compiled gambas from scratch.
Had to reinstall my machine.
I dont get the error in gui project.
Which uses same code in that spot.
Will restore your account too.
---
Regards,
Ron.
On Mar 5, 2011 10:56 PM, "Benoît Minisini"
wrote:
>&g
n't been able to get the System Error(42) anymore.
I have no clue.
But reading for a socket while there is nothing to read triggers this
THROW Error debug msgs.
If you need to debug it, please let me know, I restore your ssh login.
Regards,
Ron.
On Sun, Mar 6, 2011 at 9:43 AM, Ron wrote:
Can someone explain what extern callbacks are/do?
Thanks!
2011/3/13 Benoît Minisini :
>> It's better, but there are other problems too... Something to do with
>> "select case" and callback functions.
>> I managed to isolate the problem. See attachment.
>>
>> Click coupleo of times that button, an
When you run this:
PUBLIC SUB Main()
DIM bByte AS Byte
PRINT Bin(bByte, 8)
BSet(bByte, 0)
PRINT Bin(bByte, 8)
BChg(bByte, 0)
PRINT Bin(bByte, 8)
bByte = bByte OR &H1
PRINT Bin(bByte, 8)
PRINT BTst(bByte, 0)
END
You get this:
0001
T
AHA!
Forget my e-mail ;-)
Regards,
Ron_2nd.
2011/3/16 Benoît Minisini :
>> When you run this:
>>
>> PUBLIC SUB Main()
>>
>> DIM bByte AS Byte
>>
>> PRINT Bin(bByte, 8)
>>
>> BSet(bByte, 0)
>> PRINT Bin(bByte, 8)
>>
>> BChg(bByte, 0)
>> PRINT Bin(bByte, 8)
>>
>> bByte = bByte
Testing RC1 with code revision 3693
Converting a project to Gambas3 doesn't work 100% correct.
It seems '+ CSingle' becomes 'CSingleSng'
If (RecBuf[6] And &H8) = 0 Then
' [GB2:CSNG] sCelsius = CSng(Hex(RecBuf[5])) +
CSng(Hex(Lsr(RecBuf[4], 4))) / 10
sCelsius = CSingle(H
CLng's are not converted to CLong.
lCt4 = Lsl(CLng(RecBuf[10]), 36)
I remember I reported this earlier, and was fixed?
Regards,
Ron_2nd.
--
Enable your software for Intel(R) Active Management Technology to meet th
Project runs ok, but every now and then I get this:
** INTERNAL ERROR **
** Cannot read from SIGCHLD pipe
Main.BroadcastEvent.4731: #5: Too many arguments
0: Main.BroadcastEvent.4731
1: Main.RefreshDeviceList.4848
2: Devices.ValueUpdate.823
3: Main.SetGlobalVar.4447
4: RRDTool.GetRRDPath.60
5: RRD
' got it
Break
End If
Dec iTries
Wend
If bSqueezeServerDebug Then Main.WriteDebugLog("[SqueezeServer] < " &
URLDecode(sData))
Return URLDecode(sData)
End
Have to change that ugly code, and syntax.
But still Internal Errors shouldn't be there
On 28-3-2011 14:24, Benoît Minisini wrote:
>> Hmmm, another one in a different part of my project:
>>
>> ** INTERNAL ERROR **
>> ** Cannot read from SIGCHLD pipe
>> CSqueezeServer.ReceiveData.204: #39: End of file
>> 0: CSqueezeServer.ReceiveData.204
>> 1: RRDTool.GetRRDPath.60
>> 2: RRDTool.Update
On 28-3-2011 15:14, Benoît Minisini wrote:
>> On 28-3-2011 14:24, Benoît Minisini wrote:
Hmmm, another one in a different part of my project:
** INTERNAL ERROR **
** Cannot read from SIGCHLD pipe
CSqueezeServer.ReceiveData.204: #39: End of file
0: CSqueezeServer.Receiv
It seems that if you call HttpClient twice after each other with
different urls in async mode, like in example below the _finished event
is only called once (with the last call/url)
So they are not really async/background, or is this a bug?
Or are they overwritten, due to false usage/code?
This
On 28-3-2011 15:32, Ron wrote:
> On 28-3-2011 15:14, Benoît Minisini wrote:
>>> On 28-3-2011 14:24, Benoît Minisini wrote:
>>>>> Hmmm, another one in a different part of my project:
>>>>>
>>>>> ** INTERNAL ERROR **
>>>>> **
On 28-3-2011 16:55, Benoît Minisini wrote:
>> CLng's are not converted to CLong.
>>
>> lCt4 = Lsl(CLng(RecBuf[10]), 36)
>>
>> I remember I reported this earlier, and was fixed?
>>
>> Regards,
>> Ron_2nd.
>>
> Can you try the latest revision?
>
Yes this is fixed.
Thanks.
-
On 28-3-2011 16:55, Benoît Minisini wrote:
>> Testing RC1 with code revision 3693
>>
>> Converting a project to Gambas3 doesn't work 100% correct.
>>
>> It seems '+ CSingle' becomes 'CSingleSng'
>>
>> If (RecBuf[6] And&H8) = 0 Then
>> ' [GB2:CSNG] sCelsius = CSng(Hex(RecBuf[5])) +
Referring to this page http://www.gambasdoc.org/help/doc/gb2togb3?v3
It looks like Bind(0) calls should be converted by the IDE, but it
doesn't seem to be implemented.
No Bind related code in app/src/gambas3/.src/Project/MConvert.module
Regards,
Ron_2nd.
It still runs without errors, so seems fixed to, otherwise it stopped
after a few minutes.
I wonder where those interrupted systems calls referred too btw.
Are those processes stopped or pipes closed, are they normal?
Thanks!
2011/3/28 Benoît Minisini :
>>
>> Disabled the SqueezeServer module a
Yes, converting .Bind() works ok now too!
Thanks.
2011/3/29 Benoît Minisini :
>> Referring to this page http://www.gambasdoc.org/help/doc/gb2togb3?v3
>> It looks like Bind(0) calls should be converted by the IDE, but it
>> doesn't seem to be implemented.
>>
>> No Bind related code in app/src/gamb
Hi Caveat,
I wanted to create a module for my software so I can fetches sensor data
from public pachubes sensors in japen, to get nuclear radiation values.
I will adapt your code, thanks!
Regards,
Ron_2nd.
> Hi Ron_2nd,
>
> Benoit is (need I say it!) 100% correct.
>
> But I figured out a kind o
I got a curl pipe error, and sent you my test project privately in a sec.
So you can test with my user account.
Regards,
Ron.
2011/3/30 Benoît Minisini :
>> It seems that if you call HttpClient twice after each other with
>> different urls in async mode, like in example below the _fi
Pls report experiences with the use of the structures.
I want to use them in parts of my project too.
Regards,
Ron.
Op 1 apr. 2011 00:51 schreef "Kevin Fishburne" <
kevinfishbu...@eightvirtues.com&
On 5-4-2011 12:12, Ganesh Kumar wrote:
> Hi Gurus,
>
> I am new to Gambas. I have executed shell script,, the shell script
> output control the decision.
>
> My script
> /
> #! /biin/bash
> host google.com>/dev/null
If you really need to talk to an C++ library you can try to create a
wrapper lib.
Someone made one for my project to be able to use the openzwave
library (C++) from my project Gambas2.
Look here for the code:
http://domotiga.nl/browser/trunk/wrappers/domozwave
You have to make sure that the calls
Running my project with Gambas3 RC1 now.
Always used the database manager from gambas2, I noticed that now you
have a connections folder in the project tree.
How can you manage the database in Gambas3, can find it...
I have a connection defines in my project itself like so
'~~~
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
--
make install-data-hook
make[4]: Entering directory `/home/ron/install/gambas/trunk/gb.dbus/src
Nevermind the screenshot, it was another problem which is already fixed. ;-)
On Tue, May 31, 2011 at 11:55 AM, Ron wrote:
> Yes that fixed it, thanks.
>
> Regards,
> Ron_2nd.
> 2011/5/31 Benoît Minisini :
>>> ...
>>> ron@laptop-ron ~/install/gambas/trunk $ gamba
, May 31, 2011 at 11:57 AM, Ron wrote:
> Nevermind the screenshot, it was another problem which is already fixed. ;-)
>
> On Tue, May 31, 2011 at 11:55 AM, Ron wrote:
>> Yes that fixed it, thanks.
>>
>> Regards,
>> Ron_2nd.
>> 2011/5/31 Benoît Minisini :
&
SMTP error code #0)' [-1] at
SmtpClient.Send.66'.
Maybe same cause as what Kevin (i believe) was reporting about udp problems...
Regards,
Ron_2nd.
On Tue, May 31, 2011 at 11:27 AM, Ron wrote:
> See any operating system documentation about shared libraries for
> more informat
Yes
Op 1 aug. 2011 06:21 schreef "Andrea Bertini" het
volgende:
> Is anyone interested how to use Google Api to show java chart in Gambas?
>
> Andrea BERTINI
> Rome-Italy
>
--
> Got Input? Slashdot Needs You.
> Take our qu
Empty lines yes, keep them!
But Kevin and I mean remove spaces on empty lines.
Looks like this:
Dim sTest as string
... <- remove these
sTest = "this is a test"
' here above normal empty line, without spaces on it.
Regards,
Ron_2nd.
2011/8/4 Fabien Bodard :
> 2011/8/4 Kevin Fishburne :
> That would be awesome. Also removing spaces on otherwise empty lines and
> removing spaces at the end of lines.
Yes a +1 from me on this one too, I hate floating spaces, and always
have the urge to remove them.
Regards,
Ron_2nd.
2011/8/4 Kevin Fishburne :
> On 08/04/2011 11:43 AM, zachsmith...
Yes the lines must stay, but not the spaces, see the dots in the attachment...
Regards,
Ron_2nd.
2011/8/4 Fabien Bodard :
> i alway keep a blank line after var declaration
>
> 2011/8/4 Ron :
>>> That would be awesome. Also removing spaces on otherwise empty lines and
>>
egards,
Ron_2nd.
'Pretty' is in the eye of the beholder. I write my code so it is easy to
read and easy see the structure of the code, spaces and empty lines are
therefore used extensively. Since the compiled code is not affected by them
what's the problem? Ron wrote:
Empty lines y
On 30-8-2011 21:18, Benoît Minisini wrote:
>> I need that the "insert" statement to be logged in the binary log.
>>
> I have no idea why it is not logged. I didn't know there was a "mysql binary
> log", and I don't know how it works.
>
> Try to set 'DB.Debug = True' to see what SQL queries are sent
Yep, here too,conversion from gambas2 to 3 is broken.
Running r4082
It starts converting the project and then halts with this error:
Cannot open project file:
/home/ron/domotiga/convert/DomotiGaServer
File or directory does not exist
Project.Open.511
No wonder, because if you look at the last
If I want to open the gambas3 project with r4082 (to correct bug with
converting project) I cannot open it.
So I have a chicken and egg problem here.
I have this with every default project.
Cannot open project file :
/home/ron/install/gambas/trunk/app/src/gambas3
File or directory does not exist
I also see this:
FileView.RefreshView.267: FileView.RefreshView.229: File or directory does
not exist
2011/9/4 Ron
> If I want to open the gambas3 project with r4082 (to correct bug with
> converting project) I cannot open it.
> So I have a chicken and egg problem here.
> I ha
I'm running gambas2 on it for some time without any problems.
I'm using it via NX but that never caused any problems.
ron@ron-desktop:~$ which sh
/bin/sh
Dunno...
2011/9/4 Benoît Minisini
> > If I want to open the gambas3 project with r4082 (to correct bug with
> >
I cannot seem to find a way to set the mysql socket path.
Nor in gambas3 gb.mysql nor in gambas2 gb.db component.
How can I do that?
See here for more related info when using localhost as host.
http://dev.mysql.com/doc/refman/5.5/en/can-not-connect-to-server.html
As far as i can see this should b
+1
I'm using Eval() in my gambas2 project too, to check event conditions
(domotica lamp on events that is)
Like this for example:
Eval(Var_Sunset = Format(hour(Now()),"0#") & ":" &
Format(minute(DateAdd(now(), gb.Minute, 30)),"0#"))
Some people report weird behavior with other code...
I'm sure
(Now()),"0#") & ":" &
Format(minute(DateAdd(now(), gb.Minute, 30)),"0#")")
=FALSE
Print Eval("Format(hour(Now()),"0#")")
=12
Regards,
Ron.
2011/9/17 JUHASZ Robert :
> Hello,
>
> I don't know how to check the revision b
FWIW,
I just deleted a gridview from a tabstrip in the ide and got this:
Gambas2 latest rev. Ubuntu Natty 64 bit, QT
SetProperty: TabStrip.Count: CControl.SetProperty.475: Tab is not empty
FForm.GetChildren.490: #29: Invalid object
0: FForm.GetChildren.490
1: CControl.Delete.684
2: FForm.DeleteSe
Dont you have some c code to look at from a similar alsa using prog? Or one
of its utils?
Op 18 sep. 2011 13:25 schreef "Ian Haywood" het
volgende:
> On Sun, Sep 18, 2011 at 8:56 PM, Ru Vuott wrote:
>> Hello,
>>
>> thank you for your statement.
>
>> hfile = OPEN "/proc/self/fd/num" for Read Wat
I'm trying to decode this with gambas, no luck, anyone has an idea?
#!/usr/bin/perl
print pack('u', "send:");
%http://p.sf.net/sfu/rim-devcon-copy1
___
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listi
o exactly 8 digits of binary
> ' so for e.g. pad 1 to become 0001
> aBinChar = Right$("" & intToBase(aByte, BASE_BINARY), 8)
> Print "aByte: " & aByte & " abinChar: " & aBinChar
> ' Add bytes together to make
s over a telnet socket to my main project, this
script comes from the misterhouse project, so I wanted to create a
telnet socket interface for it, so other script can be used later.
I will see if I can build in some more checks you suggested.
Regards,
Ron.
2011/9/20 Caveat :
> Hi Ron_2nd
>
NX isn't working anymore with 11.10's new GUI, even in gnome fallback it
doesn't work.
Either you don't get a menu, or the complete screens are grabled
Also it becomes slower each new version too.
Time to look for a new distro... was a Ubuntu user for years, but it seems
it has come to an end.
R
Hi all,
In my project I replaced the txtArea for readlonly TextEdit objects so I
can color the text I want to emphasize, this works good.
But how can I just do a single line wrap, until now I only got a blank line
in between lines, or all lines concatenated together ;-(
It must be something simp
xt &= ""
>
> sText = Format$(Now, "/mm/dd hh:nn:ss") & " " & sText
> FMain.txtMainLog.EnsureVisible
> FMain.txtMainLog.Text &= sText
> PRINT sText;
>
> END
>
> 2011/11/6 Ron :
> > Hi all,
> >
> > In my pr
chard terry" het
volgende:
> On Sunday 06 November 2011 21:22:54 Ron wrote:
> > Hi all,
> >
> > In my project I replaced the txtArea for readlonly TextEdit objects so I
> > can color the text I want to emphasize, this works good.
> >
> > But how can I just do
need to sum up call costs for specific sets of a numbers...
Or is this far fetched?
Regards,
Ron.
2011/11/7 Dag-Jarle Johansen
> I have to simulate some situations, of course,
> what would you rather have, some simulation of one firm, or the simulation
> of one concern, or the simu
Rolf,
This is what Fabian also mailed me, but it didn't work, will look into
it again, I had ReadOnly is true already set.
Thanks.
Regards,
Ron.
> Ron,
>
> I guess I got it :-) I found my old project where I used it, and now
> read this:
>
> It depends on whether TextE
All works, expect one thing.
When I was using the .Insert() I could set forecolor before and after the
insert to color only this line, like so:
FLogFiles.txtMainLog.ForeColor = Color.Gray
FLogFiles.txtMainLog.Insert(sText)
FLogFiles.txtMainLog.ForeColor = Color.Black
If I now issue a FLogFiles.t
I'm porting a vb project and it uses a lot of ENUM definitions, I cannot
find a similar way to use them in Gambas2/3.
They get referred to with:
SECURITY2.packettype
ENUM SECURITY2 AS Integer
packetlength = 0
packettype = 1
subtype = 2
seqnbr = 3
id1 = 4
id2 = 5
Ok, thanks!
> yes create a class SECURITY2
>
> public enum packetlength = 0, packettype = 1, etc
>
> actually enum is not fully implemented in gambas :/ maybe for the 4.0
>
> 2011/11/11 Ron:
>> I'm porting a vb project and it uses a lot of ENUM definitions, I can
I'm just curious: What are enums good for? Never heard of it...
>
> Rolf
>
> Am 11.11.2011 09:59, schrieb Ron:
>> Ok, thanks!
>>
>>> yes create a class SECURITY2
>>>
>>> public enum packetlength = 0, packettype = 1, etc
>>>
>&
I display movieboxes with an animated gifs, and have it use a transparent
background, the gifs are already transparant.
I can do this for TextLabel with property .Transparant, but how can I do
this for MovieBoxes?
Small code:
WITH hMovieBox
TRY .Path = "/some/animated.g
On 15-12-2011 5:50, Benoît Minisini wrote:
> Le 15/12/2011 03:42, Benoît Minisini a écrit :
>> Le 15/12/2011 01:19, Caveat a écrit :
>>> Benoit,
>>>
>>> I decided to test against qt and gtk+ by selecting them manually from
>>> the Project Properties, Components.
>>>
>>> If I select gb.qt4, the '4k
Hi Hamza,
I use XMLRPC in my Gambas project.
http://www.domotiga.nl/projects/domotiga/repository/entry/trunk/DomotiGa/CXMLRPC.class
Look here for simple android, web and iphone clients using xmlrpc/json:
http://www.domotiga.nl/projects/domotiga/repository/show/trunk/webclients
I also watched webs
I had the same problem, it's there, but hidden by default (click the arrows
on right side and bottom of the IDE screen to see it, when in form mode)
There use to be a toolbar icon in gambas2 who made the toolbox visible with
one click, but it's not there anymore in gambas3, better re-add it to tak
Community,
I really, really miss the Indent and Unindent toolbar icons in Gambas3's
IDE!
I want to start a petition to get them back, 1 vote added..
Regards,
Ron_2nd.
--
Write once. Port to many.
Get the SDK and tools
Just close all open handles file hand timers hand close main form with
me.close
Ron
Op 2 jan. 2012 18:36 schreef "Olivier Cruilles"
het volgende:
> Hello,
>
> Did you use the quit() command in the main Form ?
>
>
>
>
>
> Olivier Cruilles
> Mail: linu...@c
You always get unfreed stuff when using Quit in a GUI project is my
experience.
In Form_Close()
' exit program
Main.CloseAll()
FMain.Close
END
In CloseAll() I close all file handles, sockets, serial ports and stop
timers.
Then FMain.Close does the trick nicely.
Regards,
Ron_2nd.
2012/1/2
Hi community,
Let say I have a class called CMyMsg like this:
' Gambas class file
PUBLIC Length AS Integer' packet length
PUBLIC Prio AS Integer ' 0 = normal, 1 = system
PUBLIC Node AS Integer' node id
PUBLIC Key AS String
PUBLIC Packet AS NEW Byte[] ' data to send
PUBLIC AwaitAck A
yes looks like i need that, will try, thanks alot!
Ron
Op 19 jan. 2012 17:29 schreef "Jussi Lahtinen"
het volgende:
> Maybe I don't understand the question, but why not just like this:
>
> Do
>
>ProcessIt(oMyMsg[0])
>
>oMyMsgs.Remove(0)
>
&g
Benoit great news that we can start develop web pages. No idea what I need
exactly. I will just start to play with it for my project and let you know
what I think then.
Regards,
Ron_2nd
Op 28 jan. 2012 18:57 schreef "M. Cs." het volgende:
> Will it be possible to display a native HTML/PHP code i
Modify your systems ldconfig config.
Regards,
Ron_2nd.
Op 29 jan. 2012 21:04 schreef "Wally" het volgende:
> Hi
>
> how can i tell Gambas3, "Library" command to use
> "libMyLib.so" in Project Dir or somewhere else ?
>
> ' Gambas class file
> Library "libMyLib:0"'<---
>
> Private Exte
On 31-1-2012 1:09, Benoît Minisini wrote:
> Le 29/01/2012 21:33, Wally a écrit :
>> No other way ?
>>
> Normally the library can be any path, like any data file. So:
>
> - It is searched as a real file (absolute path, or standard library paths).
>
> - If it is not found, then it is searched inside
Just google for gambas calculate get unix time
Regards,
Ron_2nd.
> Hi "another Rolf"
>
>>> is there a function which allows to convert an unix timestamp into the
>>> appropriated date/time in Gambas3?
>>>
>>> If, how is it called and how to use.
>> Take a look at this one:
>> http://gambasdoc.org/
1 - 100 of 426 matches
Mail list logo