Recent

Author Topic: What is the maximum number of characters in a TEdit?  (Read 813 times)

Nera

  • Full Member
  • ***
  • Posts: 103
What is the maximum number of characters in a TEdit?
« on: June 10, 2020, 10:36:44 pm »
Hello guys,

What is the maximum number of characters in a TEdit?
Can you define a size?


Thanks

Bart

  • Hero Member
  • *****
  • Posts: 5288
    • Bart en Mariska's Webstek
Re: What is the maximum number of characters in a TEdit?
« Reply #1 on: June 10, 2020, 10:43:21 pm »
You can set MaxLength to the value you desire.

Bart

Nera

  • Full Member
  • ***
  • Posts: 103
Re: What is the maximum number of characters in a TEdit?
« Reply #2 on: June 10, 2020, 10:53:58 pm »
You can set MaxLength to the value you desire.

Bart

What is the default value?

Bart

  • Hero Member
  • *****
  • Posts: 5288
    • Bart en Mariska's Webstek
Re: What is the maximum number of characters in a TEdit?
« Reply #3 on: June 10, 2020, 11:40:44 pm »
What is the default value?

It's zero, which means there is no limit.
(Well I guess the OS won't let you enter googol characters.)

Bart

 

TinyPortal © 2005-2018