Vassilis K ha scritto:
> Some months ago Doriano suggested the code for the printing of 1 line on
> a parallel printer which is the following:
>
> PUBLIC SUB bEktiposi_Click()
> DIM hPrinter AS File
> hPrinter = OPEN "/dev/lp0" FOR OUTPUT
> hPrinter.EndOfLine = gb.Windows
>
last represent the object who send the event
2010/3/16 Ricardo Díaz Martín :
> Thanks Fabien. I thinked it was very simple but I didn't know Last object.
>
>
> 2010/3/16 Fabien Bodard
>
>> public sub Control_Lostfocus()
>> Last.setfocus
>> stop event
>>
>>
>> end
>>
>> 2010/3/16 Ricardo Díaz Mart
Thanks Fabien. I thinked it was very simple but I didn't know Last object.
2010/3/16 Fabien Bodard
> public sub Control_Lostfocus()
> Last.setfocus
> stop event
>
>
> end
>
> 2010/3/16 Ricardo Díaz Martín :
> > Hi,
> >
> > It's possible in gambas2 to cancel a LostFocus event in a
> textbox/text
Fabien - thank you. I have found that I can't correct the float type fields
so integer is the thing!
Thanks
Bill
--
View this message in context:
http://old.nabble.com/sqlite3-float-value-errors-tp27915161p27923775.html
Sent from the gambas-user mailing list archive at Nabble.com.
---
public sub Control_Lostfocus()
Last.setfocus
stop event
end
2010/3/16 Ricardo Díaz Martín :
> Hi,
>
> It's possible in gambas2 to cancel a LostFocus event in a textbox/textarea
> control and return focus to the control?
>
> I need to make a validation over a field and will be easy if it is possi
more of the accounting program store the currency in integer... as
float manipulation is not perfect and cause many error
2010/3/16 Bill-Lancaster :
>
> Thanks for the ideas re storing money values as integer.
>
> For the time being I'll just clean up my float type money fields.
>
> Bill Lancaster
Hi,
It's possible in gambas2 to cancel a LostFocus event in a textbox/textarea
control and return focus to the control?
I need to make a validation over a field and will be easy if it is possible
at now. Is not so important. Its only for my information.
Regards,
Ricardo Díaz
---
Some months ago Doriano suggested the code for the printing of 1 line on
a parallel printer which is the following:
PUBLIC SUB bEktiposi_Click()
DIM hPrinter AS File
hPrinter = OPEN "/dev/lp0" FOR OUTPUT
hPrinter.EndOfLine = gb.Windows
PRINT #hPrinter, "test a line:
Am Dienstag, den 16.03.2010, 06:14 -0400 schrieb Keith Clark:
> On Sat, 2010-03-13 at 00:19 +0100, Benoît Minisini wrote:
> > > Could someone forward me a few links about how to use a printer from
> > > within Gambas? I need to know how to "Print" to a system default
> > > printer.
> > >
> > > Th
Thanks for the ideas re storing money values as integer.
For the time being I'll just clean up my float type money fields.
Bill Lancaster
--
View this message in context:
http://old.nabble.com/sqlite3-float-value-errors-tp27915161p27916854.html
Sent from the gambas-user mailing list archive at
Jorge Carrión ha scritto:
>I use integer for money fields without decimals. I store cents... in display
>just field / 100. Hope it's valid for you
>
>2010/3/16 Bill-Lancaster
>
>
>
>>Yes - that IS much simpler but I have found that some of my SQL fields are
>>not exact money values (like 10.23
On Sat, 2010-03-13 at 00:19 +0100, Benoît Minisini wrote:
> > Could someone forward me a few links about how to use a printer from
> > within Gambas? I need to know how to "Print" to a system default
> > printer.
> >
> > Thanks
> >
> > Keith
> >
>
> In Gambas 2 or Gambas 3 ?
>
Any luck with
I use integer for money fields without decimals. I store cents... in display
just field / 100. Hope it's valid for you
2010/3/16 Bill-Lancaster
>
> Yes - that IS much simpler but I have found that some of my SQL fields are
> not exact money values (like 10.23 say) but have tiny extra decimal val
Yes - that IS much simpler but I have found that some of my SQL fields are
not exact money values (like 10.23 say) but have tiny extra decimal values.
These display as normal in a gridview, tableview or whatever.
By converting SQL field to float called fTempVal
then fTempVal=fTempVal * 100. f
why don't use if hResult!Dr <> hResultInvoice!GrossValue then... ?
2010/3/16 Bill-Lancaster
>
> Sorry, I'm using Gambas 2.13 running in Ubuntu 9.1
> --
> View this message in context:
> http://old.nabble.com/sqlite3-float-value-errors-tp27915161p27915184.html
> Sent from the gambas-user mailing
Sorry, I'm using Gambas 2.13 running in Ubuntu 9.1
--
View this message in context:
http://old.nabble.com/sqlite3-float-value-errors-tp27915161p27915184.html
Sent from the gambas-user mailing list archive at Nabble.com.
--
When comparing two separate database float values :-
if hResult!Dr - hResultInvoice!GrossValue <> 0 then .
Although both values are the same (as far as I can see), the above test
gives a result (of zero)
I've tried converting the fields to a float type variable but get the same
result.
Any
17 matches
Mail list logo