Page 2 of 2

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

Posted: Sat Feb 04, 2017 11:14 am
by Pablo César
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 2936 times
Screen73.png
Screen73.png (19.48 KiB) Viewed 2936 times
Screen74.png
Screen74.png (13.18 KiB) Viewed 2936 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.>
 

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

Posted: Sat Feb 04, 2017 12:47 pm
by serge_girard
OK, it's because HEIGHT is HT and WIDTH is TH!

Thx !

Serge

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

Posted: Sat Feb 04, 2017 1:17 pm
by trmpluym
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

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

Posted: Sat Feb 04, 2017 2:32 pm
by Pablo César
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 2894 times
Screen76.png
Screen76.png (43.06 KiB) Viewed 2894 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 261 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. :)

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

Posted: Sat Feb 04, 2017 3:26 pm
by srvet_claudio
Thanks Pablo

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

Posted: Sat Feb 04, 2017 3:29 pm
by Pablo César
You are welcome !

Viste José Quintas le gustaria que cambiemos el nombre de una imagen porque dice que le trae problemas de compilacion... :?