473,383 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Multline -textbox

How can I limit the line for the user to input in the "multiline - textbox
?"
Thanks a lot.

From Agnes
Nov 21 '05 #1
4 1198
Hi,

You cannot limit the number of lines in the textbox just the number
of characters with the maxlength property

http://msdn.microsoft.com/library/de...engthtopic.asp

Ken
------------------------
"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:Oz**************@TK2MSFTNGP12.phx.gbl...
How can I limit the line for the user to input in the "multiline - textbox
?"
Thanks a lot.

From Agnes

Nov 21 '05 #2
Couldn't you check the Lines property for the number of lines and
disable the text box if it exceeds the maximum number of lines?

I havent tried it, but it might work.

Nov 21 '05 #3
Well, In my save button, I had get the number of lines and warn the user if
exceed the limit.

"Chris Dunaway" <du******@gmail.com>
???????:11**********************@z14g2000cwz.googl egroups.com...
Couldn't you check the Lines property for the number of lines and
disable the text box if it exceeds the maximum number of lines?

I havent tried it, but it might work.

Nov 21 '05 #4
Hi Agnes,

Regarding this issue of limiting the line to input in the multiline -
textbox, I would like to tell you that you cannot limit the number of lines
in the textbox but just the number
of characters with the maxlength property. For more information on how to
accomplish this, I would request you to please go through the following
article :

[TextBoxBase.MaxLenght Property]

http://msdn.microsoft.com/library/de...engthtopic.asp

Hope this helps.

Best Regards,
Mona [Grapecity]

"Agnes" <ag***@dynamictech.com.hk> wrote in message
news:Oz**************@TK2MSFTNGP12.phx.gbl...
How can I limit the line for the user to input in the "multiline - textbox
?"
Thanks a lot.

From Agnes

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jason Gleason | last post by:
I've been trying to put line breaks in a text box ("\n") but the breaks come through as boxes in the program. I have the text box set to multline though. Is there any way to get around this? It...
2
by: Paul Mason | last post by:
Hi folks, I just need some advice about books/where to look about this subject. I've got a number of happily running .NET apps that are doing the business and have some good formatting, as...
1
by: VJ | last post by:
The documentation says... you can't have Multline as False when the Aligment is Left or Right for a TabControl Anybody aware of a way to make the multline fasle and tabs scroll when the Aligment...
0
by: Greg | last post by:
I've made a datagrid multiline (for anyone interested, I used an adaptation of the code at http://64.78.52.104/FAQ/WinForms/FAQ_c44c.asp). This has introduced a very serious issue: the vertical...
10
by: yoni | last post by:
Hey, i am trying to get to the right regexp to remove everything that's a multi line comment. in other words, everything between \*...*/. my expression is: /\*.*\*/ Doesnt work... Anybody...
1
by: phpCodeHead | last post by:
I know that this sounds like something overly complex - because it is. However, if I can keep the user interface the way it is, my users will be ultra happy! That is the goal... In general, this...
4
by: BartlebyScrivener | last post by:
Using Python on Debian Etch. What is the best way to paste a block of text in at the command prompt. I'm trying something like: Quote = raw_input("Paste quote here: ") Which works great...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.