Page 1 of 1

MaxLength and Nil value

Posted: Sat Apr 09, 2016 1:09 pm
by TopsMarc
A minor detail.
I use Windows 10 Home and installed HMG 3.4.2.
The default value of 'MaxLength' in a TextBox is Nil. I can modify the MaxLength to a numeric value. But I can't reset it to Nil.
When I try typing Nil, it seems only numeric values are allowed. Shouldn't Nil be allowed too ?
Kind regards, Marc

Re: MaxLength and Nil value

Posted: Sat Apr 09, 2016 2:00 pm
by srvet_claudio
This is IDE issue ?

Re: MaxLength and Nil value

Posted: Sat Apr 09, 2016 5:04 pm
by TopsMarc
Dear Dr. Claudio Soto
I do not know if it is an HMG or an IDE or other problem . I cannot tell the difference. I do not know who or where to report such matters. I assumed that this forum was the right place . I'm sorry if I 'm not in the right place.
Kinds regards, Marc

Re: MaxLength and Nil value

Posted: Sat Apr 09, 2016 8:18 pm
by srvet_claudio
TopsMarc wrote:Dear Dr. Claudio Soto
I do not know if it is an HMG or an IDE or other problem . I cannot tell the difference. I do not know who or where to report such matters. I assumed that this forum was the right place . I'm sorry if I 'm not in the right place.
Kinds regards, Marc
Hi Marc,
Yes, this is the right place for: questions, report bugs, make suggestions, code contribution, etc.

HMG basically consists of three components:
1) Source code with which it is constructed the HMG libraries
2) IDE
3) Compilers (Harbour and C)

Components 1 and 2 are developed and maintained by the team of HMG.
The component 3 is provided by third parties and development does not depend on us.

My question is if the error occurred when you work with IDE or when you execute your application?, This is to see if the error is in the IDE or in the source code (libraries) of HMG.

PD: for documentation of IDE see: file:///C:/hmg.3.4.2/DOC/data/idebasics.htm

Re: MaxLength and Nil value

Posted: Sat Apr 09, 2016 10:03 pm
by TopsMarc
Hi Dr. Claudio Soto,
Thank you for the clarification of the 3 HMG components.
The error message occurs when I design the screen, not when I execute my application.
I created a TextBox. The MaxLength property initially was Nil.
I set the MaxLength property to 3. Then I want to reset it to Nil, but that is not allowed. I cannot enter the word Nil in the Property Edit window, only numerics are allowed. Shouldn't it be possible to reset it to Nil ?
I included a new print screen.
Kinds regards, Marc

Re: MaxLength and Nil value

Posted: Sat Apr 09, 2016 11:08 pm
by srvet_claudio
Thanks Marc, now I understand the problem.
I will check.

PD: Please, call me Claudio simply, this is a community of friends !

Re: MaxLength and Nil value

Posted: Sun Apr 10, 2016 9:58 am
by TopsMarc
Ok. Thank you Claudio. Best regards, Marc

Re: MaxLength and Nil value

Posted: Sat Apr 30, 2016 3:10 am
by srvet_claudio
TopsMarc wrote:Hi Dr. Claudio Soto,
Thank you for the clarification of the 3 HMG components.
The error message occurs when I design the screen, not when I execute my application.
I created a TextBox. The MaxLength property initially was Nil.
I set the MaxLength property to 3. Then I want to reset it to Nil, but that is not allowed. I cannot enter the word Nil in the Property Edit window, only numerics are allowed. Shouldn't it be possible to reset it to Nil ?
I included a new print screen.
Kinds regards, Marc
Solved the problem, now if you put zero is equivalent to Nil value.

Re: MaxLength and Nil value

Posted: Sat Apr 30, 2016 1:58 pm
by TopsMarc
Thank you Claudio. Kind regards, Marc