Search found 212 matches

by trmpluym
Sun Feb 18, 2018 1:34 pm
Forum: HMG Source
Topic: Help
Replies: 8
Views: 112

Re: Help

Zorpavns, There is a simple solution for this problem. You can simply add a large number to compensate the largest possible negative number. For example when the field has got 4 positions add 99999 (five times 9). STR(NumField+99999) The index would be always positive and the sort order is correct. ...
by trmpluym
Fri Feb 09, 2018 12:53 pm
Forum: HMG General Help
Topic: GETFILE()
Replies: 4
Views: 193

Re: GETFILE()

Serge, Rathi,

Maybe better to change the Getfile function to check if the last character is "\" and when it is "\" remove it.

This way it is more robust to use.

Another wish for 3.4.5 :D

Theo
by trmpluym
Thu Feb 08, 2018 10:14 pm
Forum: HMG General Help
Topic: GETFILE()
Replies: 4
Views: 193

Re: GETFILE()

Serge, You need to remove the part + "\" see this example: *------------------------------------------------------------* #include <hmg.ch> *------------------------------------------------------------* PROC MAIN PUBLIC cCurrentSRT := GetStartUpFolder() Msginfo(cCurrentSRT) // OK correct folder ! DO...
by trmpluym
Wed Feb 07, 2018 8:03 pm
Forum: HMG General Help
Topic: Grid performance terribly slow on a file share, browse works well
Replies: 32
Views: 1879

Re: Grid performance terribly slow on a file share, browse works well

Hi Marek,

I also first tried NETIO but LetoDB is much, much faster.

You should try it. And (like NETIO) the required source modifications are minimal.

Theo
by trmpluym
Wed Feb 07, 2018 7:31 pm
Forum: HMG Unicode version
Topic: Ready for next version?
Replies: 17
Views: 971

Re: Ready for next version?

Rathi,

A lot of the suggested changes are ready to use. If you like i can send you the modified 3.4.4 code.

This way you only have to test...

Let me know..

Theo
by trmpluym
Wed Feb 07, 2018 7:22 pm
Forum: HMG General Help
Topic: Grid performance terribly slow on a file share, browse works well
Replies: 32
Views: 1879

Re: Grid performance terribly slow on a file share, browse works well

Hi Franco,

I also struggled with this performance problem. Here how i solved the problem:

1. The Browse control is much faster than the Grid control
2. Use LetoDB ( http://www.kresin.ru/en/letodb.html ) this works fantastic !

Theo
by trmpluym
Mon Feb 05, 2018 7:42 am
Forum: HMG Unicode version
Topic: Ready for next version?
Replies: 17
Views: 971

Re: Ready for next version?

Rathi,

One extra addition : Pablo's replacement of the Hyperlink control:

http://www.hmgforum.com/viewtopic.php?f=5&t=5179

Theo
by trmpluym
Thu Feb 01, 2018 9:29 pm
Forum: HMG General Help
Topic: Create CHM help files
Replies: 1
Views: 178

Create CHM help files

Hi friends,

Great tool for making CHM help files. Now open source !

https://sourceforge.net/projects/helpmaker/

Theo
by trmpluym
Thu Feb 01, 2018 6:21 pm
Forum: HMG Unicode version
Topic: Ready for next version?
Replies: 17
Views: 971

Re: Ready for next version?

Rathi, Great news !! In addition to the additions EDK proposes, I also have some suggestions for the new version. 1 Include CMFILTER and CMCLRFILTER ( http://www.hmgforum.com/viewtopic.php?f=5&t=4802 ) 2 Fix for the navigation keys problem in the browse control ( http://www.hmgforum.com/viewtopic.ph...
by trmpluym
Tue Jan 30, 2018 7:15 am
Forum: General
Topic: Como ejecutar un script?
Replies: 9
Views: 272

Re: Como ejecutar un script?

The file hmg.ch is used in almost avery HMG sample (see c:\hmg.3.4.4\SAMPLES).

In the latest HMG release the file is located in c:\hmg.3.4.4\INCLUDE\hmg.ch