MaxLength and Nil value

Moderator: Rathinagiri

Post Reply
User avatar
TopsMarc
Posts: 80
Joined: Wed Apr 06, 2016 5:57 am
Location: Belgium (Flanders)

MaxLength and Nil value

Post 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
Attachments
IMG 1.png
IMG 1.png (6.18 KiB) Viewed 4067 times
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: MaxLength and Nil value

Post by srvet_claudio »

This is IDE issue ?
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
TopsMarc
Posts: 80
Joined: Wed Apr 06, 2016 5:57 am
Location: Belgium (Flanders)

Re: MaxLength and Nil value

Post 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
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: MaxLength and Nil value

Post 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
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
TopsMarc
Posts: 80
Joined: Wed Apr 06, 2016 5:57 am
Location: Belgium (Flanders)

Re: MaxLength and Nil value

Post 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
Attachments
IMG 1.png
IMG 1.png (49.07 KiB) Viewed 4022 times
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: MaxLength and Nil value

Post 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 !
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
TopsMarc
Posts: 80
Joined: Wed Apr 06, 2016 5:57 am
Location: Belgium (Flanders)

Re: MaxLength and Nil value

Post by TopsMarc »

Ok. Thank you Claudio. Best regards, Marc
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: MaxLength and Nil value

Post 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.
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
User avatar
TopsMarc
Posts: 80
Joined: Wed Apr 06, 2016 5:57 am
Location: Belgium (Flanders)

Re: MaxLength and Nil value

Post by TopsMarc »

Thank you Claudio. Kind regards, Marc
Post Reply