Le 27 juil. 2012 08:33, "Ricardo Díaz Martín"
a écrit :
>
> Hi rocko
>
> As you can read this http://gambasdoc.org/help/lang/round you have to
> put perAmnt
> = Round((prmAmnt / totAmnt * 100), -2). In addition you'd have to convert
> the Text to float on before to do the division to avoid errors
Hi John,
In my own experience I recommended to all when there is a problem like
this, rebuild again the source code deleting trunk folder and getting it
again from svn. I got the same version and everything works ok.
If you don't want to get svn trunk again, try to do a make clean and then
./reco
Hi rocko
As you can read this http://gambasdoc.org/help/lang/round you have to
put perAmnt
= Round((prmAmnt / totAmnt * 100), -2). In addition you'd have to convert
the Text to float on before to do the division to avoid errors or using
ValueBox.
Regards,
Ricardo Díaz
2012/7/27 LeszekK
> Valu
I just recompiled Gambas 3 from trunk and all I get in the IDE code area
is a maze like graphic but no code. The demos seem to run but any text
(code) is invesible.
jrs@laptop:~/gambas/trunk$ svn info
Path: .
URL: https://gambas.svn.sourceforge.net/svnroot/gambas/gambas/trunk
Repository Root: http
Le 26/07/2012 21:55, Ricardo Díaz Martín a écrit :
> I tried on before to write the email... and doesn't work
>
It should be fixed in revision #4994.
Regards,
--
Benoît Minisini
--
Live Security Virtual Conference
Excl
ValueBox1.Value = perAmnt
2012/7/27 LeszekK :
> ValueBox1.Value = perAmnt & "%"
--
Serdecznie pozdrawiam,
Leszek Kubiszewski
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's se
'Do not use textboxes for mathematical calculations
Dim prmAmnt As Integer
Dim totAmnt As Integer
Dim perAmnt As Single
prmAmnt = prmBox.value 'valuebox! not textbox
totAmnt = totBox.value 'valuebox! not textbox
perAmnt = Round((prmAmnt / totAmnt * 100), 2)
ValueBox1.Value = perAmnt & "%"
I not
Trying to get my result to just 2 decimal places using the 'Round"
function but it' not working for me.
This code gives a result of 0% ???
Code:
Dim prmAmnt As Integer
Dim totAmnt As Integer
Dim perAmnt As Single
prmAmnt = prmBox.Text
totAmnt = totBox.Text
perAmnt = Round((prmAmnt /
Ahh I see now, thanks.
On Thu, 2012-07-26 at 17:35 -0300, Sebastian Kulesz wrote:
> "Print System.User.Name" should do. To access a property of this
> virtual class you can do:
> Print System.User.[PROPERTY]
>
>
> On Thu, Jul 26, 2012 at 5:30 PM, rocko wrote:
> > It returns a virtual object no
"Print System.User.Name" should do. To access a property of this
virtual class you can do:
Print System.User.[PROPERTY]
On Thu, Jul 26, 2012 at 5:30 PM, rocko wrote:
> It returns a virtual object not a string.
>
> I checked the docs on virtual class/objects but still I'm
> a bit clueless on how
It returns a virtual object not a string.
I checked the docs on virtual class/objects but still I'm
a bit clueless on how to interact/print them.
On Thu, 2012-07-26 at 21:51 +0200, Tobias Boege wrote:
> On Thu, 26 Jul 2012, rocko wrote:
> > I'm trying to print the user by using 'System.User' but
I tried on before to write the email... and doesn't work
2012/7/26 Fabien Bodard
> As a workaround do:
> Firsttext/nsecondtext/n
> Le 26 juil. 2012 16:45, "Ricardo Díaz Martín" >
> a écrit :
>
> > Hi,
> >
> > I wonder if there is a way to set the height for row title in gridview
> when
> > yo
On Thu, 26 Jul 2012, rocko wrote:
> I'm trying to print the user by using 'System.User' but I am
> getting a 'mismatch' error.
>
> CODE:
> iusr = System.User
> Print iusr
>
> This also happens if I use a listbox to list the User.
> In a gui app.
>
> The System.User is a class right? so do have
As a workaround do:
Firsttext/nsecondtext/n
Le 26 juil. 2012 16:45, "Ricardo Díaz Martín"
a écrit :
> Hi,
>
> I wonder if there is a way to set the height for row title in gridview when
> you use 2 or more text lines for titles (setting title to "first text" &
> "\n" & "second text"). Gridview au
I'm trying to print the user by using 'System.User' but I am
getting a 'mismatch' error.
CODE:
iusr = System.User
Print iusr
This also happens if I use a listbox to list the User.
In a gui app.
The System.User is a class right? so do have to convert it to string to
print?
Others like System.Ho
Hello,
when I had Linux Mint 12, having to install *gb.media*, here someone suggested
me to download these packets:
libgstreamer0.10-dev
libgstreamer-plugins-base0.10-dev
Now, I upload my distro: Mint 13 - Maya - Ubuntu "Precise". I'ld like to know
if I have to use those same packets, or newe
Le 26/07/2012 16:01, Ricardo Díaz Martín a écrit :
> For me it's enough in qt4.
>
> Thanks in advance for your time!
>
> Regards,
> Ricardo Díaz
>
For you. But for me, I won't add a feature to gb.qt4 if I can't add it
to gb.gtk!
--
Benoît Minisini
-
For me it's enough in qt4.
Thanks in advance for your time!
Regards,
Ricardo Díaz
2012/7/25 Benoît Minisini
> Le 25/07/2012 08:15, Ricardo Díaz Martín a écrit :
> > Hi,
> >
> > I wonder if there is some way to read the pen pressure from wacom like
> > tablets in gambas. I have read some docu
OK. Downloading the latest source.
On 07/25/2012 12:05 PM, Benoît Minisini wrote:
> Le 25/07/2012 16:46, Stephen Bungay a écrit :
>> Gambas 2.99
>> Fedora 13
>>
>> This is peculiar behaviour. The Keypress, KeyRelease, GotFocus,
>> Lostfocus events do not fire for value boxes. Is
Le 26/07/2012 10:53, fulippo_fuli...@tiscali.it a écrit :
> Hi
> Somebody know how to use gpio port with Gambas 2/3 on Raspberry pi
>
> in python is possible there is som libraries
>
> thank's
>
I don't know what python does.
According to:
http://www.haifux.org/lectures/258/gpio_spi_i2c_
Hi
Somebody know how to use gpio port with Gambas 2/3 on Raspberry pi
in python is possible there is som libraries
thank's
Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale più di
uno spot in TV. Per ogni nuovo abbonato 30 € di premio per te e per lui! Un
amico al mese e
On 07/26/2012 04:07 AM, Benoît Minisini wrote:
> Le 26/07/2012 06:53, Sebastian Kulesz a écrit :
>> Hi! I'm sending an updated Spanish translation for the IDE and the
>> documentation website.
>>
>> For the first one, only 7 strings are left! non of them could be
>> easily translated. I also update
Le 26/07/2012 06:53, Sebastian Kulesz a écrit :
> Hi! I'm sending an updated Spanish translation for the IDE and the
> documentation website.
>
> For the first one, only 7 strings are left! non of them could be
> easily translated. I also updated A LOT of strings that where
> "google-translated", w
Cool :-)
Thanks a lot.
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint
Look at this: http://imgur.com/a/okdWZ
First screenshot: with normal theme nouvext2 in /usr/share/icons
The second one: with nouvext2 in ~/.icons
Notice system loads correctly nouvext2 icons in both situations (look at panel
icons at the top), but gambas and compilated programs prefer basic gnom
25 matches
Mail list logo