Jump to content


Photo

NxTextColumn MaxLength


  • Please log in to reply
3 replies to this topic

#1 deonvn

deonvn

    Senior Member

  • Honorable Members
  • PipPip
  • 313 posts

Posted 20 September 2007 - 08:14 AM

Hi Boki

Something I'm missing is a MaxLength for NxTextColumn.

I use a TNextGrid to load and save data from and to database tables manually, and I don't want the user to enter more text into a column than I will be able to save back to the database field later. It would be nice if I can just set MaxLength to limit the user input to the size of the field.

Regards,
Deon

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 20 September 2007 - 02:48 PM

Hello Deon,

I have add it on my to-do list and ty to add it for next release. Thank you for suggestion.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#3 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 8,191 posts
  • Gender:Male

Posted 20 September 2007 - 10:34 PM

Hello Deon,

I have add it, but cell still need to be cropped manually if set from code:
CODE
Cell[x,y].AsString := 'too long text';


But, when editing MaxLength work as expected.

Best regards
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Users Section: users.bergsoft.net
Articles and Tutorials: help.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.

#4 deonvn

deonvn

    Senior Member

  • Honorable Members
  • PipPip
  • 313 posts

Posted 21 September 2007 - 07:22 AM

Great. Thanks for the quick response.

Regards,
Deon




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users