How to limit de lenght of edited text in a Grid.

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

How to limit de lenght of edited text in a Grid.

Post by Pablo César » Sat Feb 04, 2017 11:14 am

One detail: nMaxLenght should be nMaxLength
Yes, you are right ! :lol:
My same mistake than the same mistake as who made it ... :lol:
Thank you Serge to advice. :)

There are others files already with this same kind of mistake... :oops:
 
Screen72.png
Screen72.png (17.2 KiB) Viewed 662 times
Screen73.png
Screen73.png (19.48 KiB) Viewed 662 times
Screen74.png
Screen74.png (13.18 KiB) Viewed 662 times
 
Hereunder is the corrected already DOC files:
<DOC file was removed because typo were found and been corrected at message ahead of this topic.>
 
Last edited by Pablo César on Sat Feb 04, 2017 2:41 pm, edited 2 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
serge_girard
Posts: 2042
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 391 times
Been thanked: 89 times
Contact:

Post by serge_girard » Sat Feb 04, 2017 12:47 pm

OK, it's because HEIGHT is HT and WIDTH is TH!

Thx !

Serge

trmpluym
Posts: 222
Joined: Tue Jul 15, 2014 6:52 pm
Location: The Netherlands
Has thanked: 5 times
Been thanked: 18 times

Post by trmpluym » Sat Feb 04, 2017 1:17 pm

Pablo, Claudio, Serge and all my other HMG friends,

I want to thank you all again for your effort in improving HMG. The last months a lot of cool improvements are made to HMG !

This shows the power of open source !

Theo

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Sat Feb 04, 2017 2:32 pm

serge_girard wrote:
Sat Feb 04, 2017 12:47 pm
OK, it's because HEIGHT is HT and WIDTH is TH!
Ohhh noooo... :o

Are you kidding me ? :mrgreen:          (It's a joke, Serge)

There are some more files with this type of error to change the TH... (wrongly HEIGTH) in the Height file and (wrongly WIDHT) AT even in BossTaurus file... :lol:

Here it is:
 
Screen75.png
Screen75.png (9.11 KiB) Viewed 620 times
Screen76.png
Screen76.png (43.06 KiB) Viewed 620 times
 
Attached "again" is all files that were wrong (including the previous ones):
 
DOC.rar
HMGDoc files and BossTaurus subfolder in it
(63.96 KiB) Downloaded 61 times
 
I hope that's just for today ... :mrgreen:
 
trmpluym wrote:
Sat Feb 04, 2017 1:17 pm
Pablo, Claudio, Serge and all my other HMG friends,

I want to thank you all again for your effort in improving HMG. The last months a lot of cool improvements are made to HMG !

This shows the power of open source !

Theo
Thank you Theo for you kind of words and recognition. As you have already thanked everyone, it is all of us who make the force.

We do not grow up if we sit idly by or say nothing when we find something wrong.

VIVA HMG ! :D
 
@ Claudio

Can you please correct the above files at yours ? (replacing "enght" by "ength")

Probably it is better to do it your self due some already changes in your copies.

Same typo at our source code files too:

C:\hmg.3.4.3\INCLUDE\hfcl_combosearchbox.ch     (lines: 15 and 33)
C:\hmg.3.4.3\INCLUDE\i_editbox.ch     (lines: 74, 84, 106 and 117)
C:\hmg.3.4.3\INCLUDE\i_richeditbox.ch     (lines: 71, 84, 103 and 117)
C:\hmg.3.4.3\INCLUDE\i_textbox.ch     (lines: 76 and 91)
C:\hmg.3.4.3\SOURCE\c_controlmisc.c     (lines: 1700 and 1791)
C:\hmg.3.4.3\SOURCE\h_controlmisc.prg     (lines: 2634, 2656, 2662, 2680, 2688, 2719 and 2727)
C:\hmg.3.4.3\SOURCE\h_textbox.prg     (lines: 75, 98 and 160)
C:\hmg.3.4.3\hfcl\Include\hfcl_combosearchbox.ch     (lines: 15 and 33)
C:\hmg.3.4.3\hfcl\Source\ComboSearchBox.prg     (lines: 25, 55, 83 and 118)
 
So in the hope that the same mistake will not occur again. :roll:

Fortunate that the correction of these errors does not affect both: future functionality and backwards compatibility.
It's just a typo in it. :)
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

User avatar
srvet_claudio
Posts: 2014
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Has thanked: 34 times
Been thanked: 140 times
Contact:

Post by srvet_claudio » Sat Feb 04, 2017 3:26 pm

Thanks Pablo
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com

User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil
Has thanked: 100 times
Been thanked: 179 times

Post by Pablo César » Sat Feb 04, 2017 3:29 pm

You are welcome !

Viste José Quintas le gustaria que cambiemos el nombre de una imagen porque dice que le trae problemas de compilacion... :?
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein

Post Reply