Page 4 of 10

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 11:47 am
by Pablo César
rathinagiri wrote:For example in this version GridEx is included as such. But IMHO, we have to replace .cell source code by .cellEx source code if it is optimal and there shall be only one .cell property and GridEx should be merged with Grid. That is HMG Spirit as Roberto says.
Completly agree with you !
Adding every one to HMG source code modification will lead to instability and inconsistency. That's why HMG is not into svn. That doesn't mean HMG is closed source or so. Every distribution has HMG full source. Perhaps it is better to add some persons in to the core team.
Yes, probably this is what is going to happen, but always depending how is managed those new features. I my mind it could be done in different copies of soruces and after exaustive testing and approval, then make it permanent for original source. But it was just an idea.

I really like as HMG is. No problem for me, HMG is my favorite programming tool. :D

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 5:45 pm
by danielmaximiliano
srvet_claudio wrote: El crash en el sistema se puede deber a un problema en el ejecutable, probá bajarlo nuevamente.

Best regards,
Claudio.
Hola Claudio :
Descarge desde el sitio oficial, antes los baje de Sourceforge.
Instale con derechos de administrador , ejecute IDE Unicode cambie el idioma y no presenta el msj ni cambia al español; Salgo del IDE
al ejecutarlo de nuevo presenta el mismo mensaje de error.

no voy a ahondar más , copio los .INI desde el otro IDE y listo. despues veo si reinstalo Windows desde HP Recover.
y vere si el problema de el archivo de recursos tambie se corrige.

Gracias Claudio por el tiempo y esfuerzo para con HMG.

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 7:08 pm
by esgici
Does we have some string functions such as

test / detect :

IS_UTF8()
IS_ANSI()

convertion :

UTF8ToANSI()
ANSIToUTF8() ?

If no, there aren't necessary ?

And how we convert our old ANSI strings recorded to .dbf ( in C or M type fields) to the new UTF8 format ?

Since the some code editors ( such as Crimson Editor and NotePad (standard) and NotePad++ ) have this functionality, it may possible we can make it by our programs; it isn't :?: :?

And since some new functions ( HMG_LEN() etc ) can works on both UTF8 and ANSI strings, this means it's possible to determine format type ( UTF8 /ANSI ) of any string and so it will be possible IS...() functions to determine this info and than make the expected conversions.

If so, why we haven't them ?

Many thanks to Dr. Soto to this very important enhancements done and will do in the future on HMG :arrow:

Happy HMG'ing :D

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 8:42 pm
by fouednoomen
Dear esgici ,

I want to know if there's a way to convert my programs code from ainsi
to utf8 automatically because i have more than 100 thousands line code in french
language , it's a job from 20 years written in clipper that i have changed to HMG
since 6 months

Regards

Foued

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 9:20 pm
by esgici
fouednoomen wrote: I want to know if there's a way to convert my programs code from ainsi
to utf8 automatically because i have more than 100 thousands line code in french
language , it's a job from 20 years written in clipper that i have changed to HMG
since 6 months
Insha-Allah Foued;

If our friend Dr. Soto will give us a function such as ANSIToUTF8(), we will write a program to convert ANSI ( .prg ) file(s) to UTF8 format.

I hope you already have converted your DOS prgs from OEM ( DOS format ) to ANSI ( Windows Format ) with HB_OEMTOANSI() function.
Or may be this is unnecessary for French language.

maasselam :)

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 9:23 pm
by danielmaximiliano
fouednoomen wrote:Dear esgici ,

I want to know if there's a way to convert my programs code from ainsi
to utf8 automatically because i have more than 100 thousands line code in french
language , it's a job from 20 years written in clipper that i have changed to HMG
since 6 months

Regards

Foued
Foued :
Try with Notepadd++ Look here.
Chmg.3.1.3SAMPLESACTIVEX.1demo1.png
Chmg.3.1.3SAMPLESACTIVEX.1demo1.png (24.05 KiB) Viewed 5319 times
before make a backup

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 10:29 pm
by srvet_claudio
rathinagiri wrote:this version GridEx is included as such. But IMHO, we have to replace .cell source code by .cellEx source code if it is optimal and there shall be only one .cell property and GridEx should be merged with Grid. That is HMG Spirit as Roberto says.
You're right Rathi !!!, forgive my haste :oops:

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 10:32 pm
by srvet_claudio
esgici wrote:function such as ANSIToUTF8(), we will write a program to convert ANSI ( .prg ) file(s) to UTF8 format.
I will try to implement!!!

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 11:05 pm
by esgici
srvet_claudio wrote:
esgici wrote:function such as ANSIToUTF8(), we will write a program to convert ANSI ( .prg ) file(s) to UTF8 format.
I will try to implement!!!
Thanks Dr.

I'm sure that you will achieve it 8-)

Thanks in advance :D

Re: HMG 3.1.3 (Test)

Posted: Fri May 10, 2013 11:22 pm
by esgici
srvet_claudio wrote:New Demos HMG.3.1.3:
- Grid (see velocity test)
- TimePicker
- Disable/Enable Event
Both demo built and run perfect :)

Thanks a lot Dr.

With my best regards :D