Search found 3626 matches

by Roberto Lopez
Mon Aug 20, 2018 12:32 am
Forum: HMG General Help
Topic: Barcode Scanner vs. TextBox's OnChange
Replies: 4
Views: 44

Re: Barcode Scanner vs. TextBox's OnChange

Rathinagiri wrote:
Sun Aug 19, 2018 3:48 pm
I think it is not possible, as these codes are omnidiretional, meaning they can be read from any direction (left to right and right to left). IMHO, your situation won't arise.
Thanks!
by Roberto Lopez
Sun Aug 19, 2018 3:04 pm
Forum: HMG General Help
Topic: Barcode Scanner vs. TextBox's OnChange
Replies: 4
Views: 44

Re: Barcode Scanner vs. TextBox's OnChange

Welcome back Roberto! I've took a "forced" vacation from the forum (a lot of work... almost no spare time!) I had also experienced this Roberto. I have seen that the barcode scanning is not like a keyboard event. It is like a Copy/Paste event. So, when somebody scans the code while the focus is in ...
by Roberto Lopez
Sun Aug 19, 2018 2:19 pm
Forum: HMG General Help
Topic: Barcode Scanner vs. TextBox's OnChange
Replies: 4
Views: 44

Barcode Scanner vs. TextBox's OnChange

Hi All, This is an interesting thing for those working with barcode scanners on HMG. An app, I'm developed for one of my customers, read product codes (EAN-13) from a barcode scanner. To make the process fully automatic, I'm using OnChange event (in a textbox that always has the focus). Inside OnCha...
by Roberto Lopez
Tue Aug 14, 2018 6:40 am
Forum: General Discussions
Topic: About Decimals... [EDIT]
Replies: 6
Views: 181

Re: About Decimals...

Maybe this way FUNCTION ConDeci() SET FIXED ON SET DECI TO 15 N1 := 1/12 msgdebug( N1 ) CN1 := ALLTRIM( STR( N1, 15, 12 ) ) msgdebug( CN1 ) VN1 := VAL( CN1 ) msgdebug( VN1 ) SET DECI TO 2 N2 := VN1 * 12 msgdebug( N2 ) msgdebug( STR( N2 ,7,3) ) RETURN Nil Thanks Andrés, it works. Doug answered my qu...
by Roberto Lopez
Tue Aug 14, 2018 12:52 am
Forum: General Discussions
Topic: About Decimals... [EDIT]
Replies: 6
Views: 181

Re: About Decimals...

IMATECH wrote:
Tue Aug 14, 2018 12:03 am

Code: Select all

	N1 := Round( 1/12, 3 )
	CN1 := Str( N1 ,7,3)
	VN1 := Val( CN1 )
	N2 := Round( VN1 * 12, 3 )
	MSGINFO( STR( N2 ,7,3) )
*Not tested
The result is the same: 0.996

Thanks anyway!
by Roberto Lopez
Mon Aug 13, 2018 11:41 pm
Forum: General Discussions
Topic: About Decimals... [EDIT]
Replies: 6
Views: 181

About Decimals... [EDIT]

Hi All, Usually I work with two decimals in math operations with no problems. Now, I need to work with three decimals, converting number to strings and strings to numbers... The result of the following should be 1.000, but, it is shown as 0.996. I've played with SET DECIMALS and SET FIXED without re...
by Roberto Lopez
Fri Feb 16, 2018 9:43 pm
Forum: Issues and Discussions related to Harbour
Topic: Hdroidgui Dbf
Replies: 21
Views: 4546

Re: Hdroidgui Dbf

good evening! I would like to better understand this project, if it is compatible with Harbor and consequently with the HMG of Roberto Lopez and, if also for smartphone? because we need to modernize our language and create small applications for android and interact with our bigger application that...
by Roberto Lopez
Thu Jan 11, 2018 2:15 pm
Forum: General
Topic: Argentina: Programa Controlador Fiscal
Replies: 1
Views: 441

Argentina: Programa Controlador Fiscal

Hola, Alguien sabe como es el trámite en la web de AFIP, para poder aceptar la responsabilidad como programador de una aplicación que usa un controlador fiscal (en el caso que sea requerido)? El contador del comercio donde la aplicación se va a usar, ya hizo la presentación. Los contadores que consu...
by Roberto Lopez
Tue Dec 19, 2017 12:43 am
Forum: My HMG Projects
Topic: Harbour MiniGUI Extended Edition build 17.12 is published
Replies: 13
Views: 1756

Re: Harbour MiniGUI Extended Edition build 17.12 is published

gfilatov wrote:
Mon Dec 18, 2017 9:18 am
Hi Friends,

I am very glad to announce a new release of Harbour MiniGUI Extended Edition.
Thanks for your great work Grigory!
by Roberto Lopez
Sun Dec 03, 2017 12:57 am
Forum: General
Topic: Instalar Muestra en varias Sucursales // Install Sample in several Branches
Replies: 16
Views: 1386

Re: Instalar Muestra en varias Sucursales // Install Sample in several Branches

Hello everyone, Now that I made my modification to a sample that I made, it occurred to me to create a system that can be installed in several branches, in different parts of the city and that several users can use it simultaneously. What do I need other than HMG? <...> There is some articles about...